Abstract:
A data-packet processing method is used in a network system. The network system includes a buffer for optionally storing a data packet to be transferred, and the method includes steps of: determining a type of the data packet to be transferred; determining a storage state of a buffer where the data packet is to be temporarily stored before transferring; and storing the data packet into the buffer if the storage state of the buffer is a packet-accepting storage state; wherein the packet-accepting storage state of the buffer varies with the type of the data packet.
Abstract:
A data-packet processing method is used in a network system. The network system includes a buffer for optionally storing a data packet to be transferred, and the method includes steps of: determining a type of the data packet to be transferred; determining a storage state of a buffer where the data packet is to be temporarily stored before transferring; and storing the data packet into the buffer if the storage state of the buffer is a packet-accepting storage state; wherein the packet-accepting storage state of the buffer varies with the type of the data packet.
Abstract:
The invention provides a service VLAN tag format, according to that a service VLAN tag header is appended by a provider network to a plurality of packets forwarded by the provider network. The service VLAN tag format comprises a 2-byte tag protocol identifier (TPID) field and a 2-byte tag control information (TCI) field. The TPID field comprises a (16-N)-bit shortened TPID field indicating that a service VLAN tag header is following, and an N bit extra VLAN identifier field. The TCI field comprises a 3-bit user priority field indicating a packet priority, a 1-bit canonical format indicator (CFI) field, and a 12-bit original VLAN identifier field. The extra and original VLAN identifier fields are combined to indicate a service VLAN identifier that is (12+N) bits in length.
Abstract:
A control system for packet transmission. A forward control unit receives a packet providing a port count through an input port and implements a lookup operation. A queue control unit determines whether the port count is greater than a first predetermined value, and, if not, outputs the packet through a first port, and, if so, sends a first message. A multicast forward control unit receives the first message, adds one to a first packet count, determines whether the first packet count is greater than a threshold value, and, if so, sends a stop forward message to the forward control unit but does not send a grant message. The forward control unit receives the stop forward message and does not transmit subsequent packets to the first port but to a second port directly.
Abstract:
A method for processing packets of a VLAN in a network switch is provided. The VLAN comprises a plurality of physical LANs and are divided into a plurality of subnets. The method comprises the steps of: receiving a packet through an ingress port of the network switch, wherein the packet is tagged with a VID of the VLAN; finding a VLAN member according to the VID, wherein the VLAN member represents all ports of the network switch dedicated to serving packets of the VLAN; finding a forwarding scope according to the ingress port, wherein the ingress port is one of the ports dedicated to serving packets of a first subnet of the VLAN and the forwarding scope represents all ports of the network switch dedicated to serving packets of the first subnet; and determining an egress port of the packet according to both the VLAN member and the forwarding scope.
Abstract:
A data-packet processing method is used in a network system. The network system includes a buffer for optionally storing a data packet to be transferred, and the method includes steps of: detecting a remaining space of the buffer; prohibiting a first type of data packet and a second type of data packet from being stored into the buffer when the remaining space of the buffer is equal to or less than a first threshold; allowing the first type of data packet and the second type of data packet to be stored into the buffer when the remaining space of the buffer is greater than a second threshold; and allowing the first type of data packet to be stored into the buffer while prohibiting the second type of data packet from being stored into the buffer when the remaining space of the buffer is greater than the first threshold but equal to or less than the second threshold.
Abstract:
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.
Abstract:
A method for expanding a service VLAN space of a provider network is provided. A bit number occupied by a taq protocol identifier (TPID) in a TPID field is reduced to leave a plurality of spare bits. The spare bits of the TPID field is then used to represent a first portion of a service VLAN identifier. A VLAN identifier field of a tag control information (TCI) field is used to represent a second portion of the service VLAN identifier. The first and second portions are then combined to obtain the service VLAN identifier of the packets completely.
Abstract:
A method for processing packets of a VLAN in a network switch is provided. The VLAN comprises a plurality of physical LANs and are divided into a plurality of subnets. The method comprises the steps of: receiving a packet through an ingress port of the network switch, wherein the packet is tagged with a VID of the VLAN; finding a VLAN member according to the VID, wherein the VLAN member represents all ports of the network switch dedicated to serving packets of the VLAN; finding a forwarding scope according to the ingress port, wherein the ingress port is one of the ports dedicated to serving packets of a first subnet of the VLAN and the forwarding scope represents all ports of the network switch dedicated to serving packets of the first subnet; and determining an egress port of the packet according to both the VLAN member and the forwarding scope.
Abstract:
The invention provides a method for handling the bandwidth allocation of a networking device. The networking device forwards a plurality of packets. A host attribute table is first searched according to a host attribute of the packets to obtain a host attribute table index of the packets. An application attribute table is then searched according to an application attribute of the packets to obtain an application attribute table index of the packets. A bandwidth profile table is then searched according to both the host attribute table index and the application attribute table index of the packets to obtain a bandwidth profile of the packets. Finally, the packets are limited to a specific bandwidth according to the bandwidth profile of the packets.