摘要:
A method for easing data transmission congestion in a switch device having a plurality of ports. The switch device includes a shared buffer capable of dividing into a plurality of buffering units. The method comprises the steps as follows. A plurality of output queues are provided, in which the output queues have a one-to-one correspondence with the ports, and each output queue has a number of reserved buffering units. The buffering unit(s) are then assigned in the shared buffer. A packet is received from a source port and storing the packet in an assigned buffering unit. The target port of a packet is determined according to a header of the packet. Then, the buffering unit containing the packet is linked to the output queue that corresponds to the target port. The free buffering units are thus controlled according to a number of reserved buffering units in the output queue and a triggering or a terminating condition of the source port.
摘要:
A packet switching device simultaneously supports a tagged mode and an untagged mode. A plurality of ports of the packet switching device perform packet delivery and reception, and a port map defines VIDs and operating modes of the ports. Each port operates in tagged or untagged mode, and is associated with at least one VID. The range of VIDs in untagged mode is bounded in a first range, the range of VIDs in tagged mode is bounded in a second range, and the first and second ranges are not overlapped. The plurality of ports comprises a first port operating in untagged mode, associated with a first VID within the first range. The first port receives a first packet, and the packet switching device searches the port map to locate other ports having the first VID and forwards the first packet thereto.
摘要:
A method for implementing packet en-queuing and de-queuing processes in a network switch is provided. The method comprises the following steps. First, an en-queuing process and a de-queuing process are divided into a plurality of en-queuing and de-queuing stages. The en-queuing process of a plurality of en-queued packets is then processed with each of the plurality of en-queued packets processed in one of the plurality of en-queuing stages simultaneously, and every one of the plurality of en-queued packets passes through all of the plurality of en-queuing stages sequentially to complete the en-queuing process. The de-queuing process of a plurality of de-queued packets is then processed with each of the plurality of de-queued packets processed in one of the plurality of de-queuing stages simultaneously, and every one of the plurality of de-queued packets passes through all of the plurality of de-queuing stages sequentially to complete the de-queuing process.