WO2022132288A1 - System and method for low latency network switching - Google Patents
System and method for low latency network switching Download PDFInfo
- Publication number
- WO2022132288A1 WO2022132288A1 PCT/US2021/053280 US2021053280W WO2022132288A1 WO 2022132288 A1 WO2022132288 A1 WO 2022132288A1 US 2021053280 W US2021053280 W US 2021053280W WO 2022132288 A1 WO2022132288 A1 WO 2022132288A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data packet
- low latency
- transmission path
- packet
- latency transmission
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000005540 biological transmission Effects 0.000 claims abstract description 145
- 239000004744 fabric Substances 0.000 claims abstract description 67
- 238000004891 communication Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/205—Quality of Service based
- H04L49/206—Real Time traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/15—Interconnection of switching modules
- H04L49/1515—Non-blocking multistage, e.g. Clos
- H04L49/1546—Non-blocking multistage, e.g. Clos using pipelined operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/251—Cut-through or wormhole routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/30—Peripheral units, e.g. input or output ports
- H04L49/3009—Header conversion, routing tables or routing tags
Definitions
- Network switches are critical elements of any network infrastructure.
- Network switches check data packets arriving at ingress ports, determine the appropriate egress port for the intended destination device, and then transmit the packet data packet to the correct destination via an egress port. Improvements in data packet processing by network switches are desirable to reduce latency in the delivery of data packets to one or more destination devices.
- an improved network switch and method for operating a network switch are provided, wherein a low latency transmission is established through the network switch for the transmission of data packets requiring low latency transmission.
- the network switch and associated method does not require coupling an independent, dedicated switching circuit to the network switch to provide the low latency transmission path.
- the disclosed network switch provides both a low latency transmission path for traffic that requires low latency transmission and a standard transmission path for traffic that does not require low latency transmission.
- a method is provided for operating a network switch.
- the method includes, establishing a low latency transmission path through a network switch, wherein the network switch comprises a plurality of ingress ports, a plurality of egress ports and a switch fabric comprising a packet queue and scheduler through which the plurality of ingress ports communicate with the plurality of egress ports and wherein the low latency transmission path bypasses the packet queue and scheduler of the switch fabric.
- the method further includes, receiving a plurality of data packets at one or more of the plurality of ingress ports, collecting a first portion of one or more of the plurality of data packets at a collection module and, for each data packet of the one or more of the plurality of data packets, analyzing the first portion of the data packet to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port.
- the method additionally includes, transmitting the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and transmitting the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports.
- a flag may be set for the data packet if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port. Subsequently, the data packet may be transmitted to the destination egress port over the low latency transmission path responsive to the set flag.
- the network switch may be a time-sensitive (TS) network switch.
- analyzing the first portion of the data packet to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port may be performed during a specified time window, as determined by the TS network switch.
- the destination egress port may further be configured to be available to receive one or more data packets over the low latency transmission path during the specified time window and the one or more data packets may be transmitted to the destination egress port over the low latency transmission path during the specified time window.
- a network switch which includes, a plurality of ingress ports, a plurality of egress ports, a switch fabric comprising a packet queue and scheduler through which the plurality of ingress ports communicate with the plurality of egress ports and a low latency transmission path for bypassing the packet queue and scheduler of the switch fabric.
- the switch fabric is configured to receive a plurality of data packets at one or more of the plurality of ingress ports and, for each of the plurality of data packets received, analyze a first portion of the data packet to identify one of the plurality of egress ports as a destination egress port of the data packet and identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port.
- the switch fabric is further configured to transmit the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and to transmit the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports.
- a switch fabric which includes, a packet queue and scheduler through which a plurality of ingress ports coupled to the packet queue and scheduler communicate with a plurality of egress ports coupled to the packet queue and scheduler and a low latency transmission path for bypassing the packet queue and scheduler.
- the switch fabric further includes, a collection module to collect a first portion of one or more of a plurality of data packets received at one or more of the plurality of ingress ports and a packet analyzer to analyze, for each data packet of the one or more of the plurality of data packets, the first portion of the data packet to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port.
- a collection module to collect a first portion of one or more of a plurality of data packets received at one or more of the plurality of ingress ports
- a packet analyzer to analyze, for each data packet of the one or more of the plurality of data packets, the first portion of the data packet to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to
- the switch fabric is configured to transmit the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and to transmit the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports.
- a system and method are provided for enabling, in a common network switch, both a low latency transmission path for traffic that requires low latency transmission and a standard transmission path for traffic that does not require low latency transmission.
- FIG. 1 is a block diagram illustrating a network switch comprising a low latency transmission path, in accordance with an embodiment of the present invention.
- FIG. 2 is a flow diagram illustrating a method for operating a network switch having a low latency transmission path, in accordance with an embodiment of the present invention.
- FIG. 3 is a flow diagram illustrating a method for setting a flag for one or more data packets identified as to be transmitted over a low latency transmission path, in accordance with an embodiment of the present invention.
- FIG. 4 is a flow diagram illustrating a method for operating a network switch having a low latency transmission path as a time-sensitive network (TS) network switch, in accordance with an embodiment of the present invention.
- TS time-sensitive network
- first, second, third, without limitation may be used herein to describe various elements, components, regions, layers, and/or sections, these elements, components, regions, layers, and/or sections should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer, or section from another region, layer, or section. Thus, a first element, component, region, layer, or section discussed below could be termed a second element, component, region, layer, or section without departing from the teachings of the present invention.
- a network switch 100 such as a network switch that switches data packets from one or more ingress ports 105, 110, 115 to one or more egress ports 160, 165, 170 through a switch fabric 180 is illustrated.
- the network switch 100 may be part of a network that can include various network devices, including but not limited to, one or more servers, computers, and sensors. Each of the network devices may be associated with one or more of the ingress ports and the egress ports and the network devices may be connected or otherwise be in packet-based communication with each other, through, or using, the network switch. While three ingress ports 105, 110, 115 and three egress ports 160, 165, 170 are illustrated, this is not meant to be limiting in any way.
- the number of ingress ports is not constrained to be equal to the number of egress ports, the number of ingress ports may be of any amount and the number of egress ports may be of any amount.
- the network switch 100 may receive network data in the form of data packets and the network switch 100 may transmit the data packets between the ingress ports 105, 110, 115 and the egress ports 160, 165, 170 through a switch fabric 180 of the network switch 100 to establish communication between the various network devices.
- the switch fabric 180 provides a communication path for the data packets between the ingress ports 105, 110, 115 and the egress ports 160, 165, 170 such that any of the ingress ports 105, 110, 115 can be in communication with any of the egress ports 160, 165, 170.
- the network switch 100 and the switch fabric 180 may include programmable circuitry to perform the functionality of the network switch 100 and the switch fabric 180.
- Latency is introduced by a network switch during data packet reception, analysis, queuing, scheduling, forwarding and transmission of the data packets through the switch fabric 180.
- network switches are often responsible for the transmission of both time-sensitive and best-effort network traffic.
- the disclosed network switch 100 provides low latency switching for time-sensitive traffic, thereby reducing the latency of such traffic.
- the switch fabric 180 of the network switch 100 includes a packet queue and scheduler 145 which schedules the transmission of packets received at ingress ports 105, 110, 115 through the respective egress ports 160, 165, 170. Data packets identified as network traffic requiring best-effort transmission through the network switch 100 are scheduled by the packet queue and scheduler 145.
- the network switch 100 additionally includes a low latency transmission path 185 for bypassing the packet queue and scheduler 145 of the switch fabric 180.
- the low latency transmission path 185 of the switch fabric 180 may be used for the transmission of time-sensitive traffic between the ingress ports 105, 110, 115 and the egress ports 160, 165, 170 while the packet queue and scheduler 145 may be used for scheduling the transmission of best-effort traffic, as described in detail below.
- the switch fabric 180 includes a collection module 120 coupled to the ingress ports 105, 110, 115, a packet analyzer 125 coupled between the collection module 120 and the packet queue and scheduler 145, a packet reader 150 coupled to an output of the packet queue and scheduler 145, a splitter module 155 coupled to an output of the packet reader 150 and a packet buffer 135 coupled between an output of the collection module and the packet reader 150.
- the low latency transmission path 185 shares the collection module 120, the packet analyzer 125, the packet buffer 135, the packet reader 150 and the splitter module 155 of the switch fabric 180.
- the low latency transmission path 185 does not include the packet queue and scheduler 145 of the switch fabric 180.
- the collection module 120 of the switch fabric 180 comprises circuitry configured to collect a first portion of one or more of the plurality of data packets received from the ingress ports 105, 110, 115. In addition, collection module 120, collects data of the received data packets into a predetermined word width in accordance with the configuration of switch fabric 180.
- the first portion of each of the data packets is selected to be a fewer number of bytes than the data packet. There is no requirement that the first portion of all of the data packets be collected by collection module 120, and in one example, the first portion of each of the data packets of only a particular ETYPE are collected by collection module 120 in addition to collection of data of all of the received data packets into the predetermined word width in accordance with the configuration of switch fabric 180.
- each of the data packets received at the ingress ports 105, 110, 115 includes a plurality of words, each of the plurality of words comprises a number of bytes and the number of bytes of the first portion of each of the plurality of data packets collected at the collection module is less than the number of bytes of each of the plurality of words of each of the plurality of data packets.
- 64-byte data packets may be transmitted from the ingress ports 105, 110, 115 in parallel and collected at the collection module 120. The collection module 120 may then collect a first portion of one or more data packets, which may include only 32 bytes of the 64-byte data packet.
- the collection module 120 of the switch fabric 180 is configured to collect a smaller portion of bytes of the data packet which allows for faster access to the packet analyzer 125 of the switch fabric 180, regardless of the contents of the data packets.
- the first portion of the data packet may still include only 32 bytes of the data packet.
- the packet analyzer 125 of the switch fabric 180 is coupled to receive the first portion of each data packet from the collection module 120 and a packet buffer 135 of the switch fabric 180 is coupled to an output of the collection module 120 and is configured to store the data packets received at the ingress ports 105, 115, 115.
- the packet analyzer 125 analyzes the first portion of each of the plurality of data packets to identify one of the plurality of egress ports 160, 165, 170 as a destination egress port of the data packet and to determine if the data packet is to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress port or if the data packet is to be transmitted over the switch fabric 180 from the ingress port to the destination egress port.
- the packet analyzer 125 includes a pattern matching table 190 for identifying if the data packet is to be transmitted over the low latency transmission path 185.
- the pattern matching table 190 may be implemented in a memory device and in particular the pattern matching table 190 may be implemented in a ternary content addressable memory (TCAM).
- TCAM ternary content addressable memory
- packet analyzer 125 functions to provide other functionality for network switch 100, such as quality of service and MAC address functions, known to those skilled in the art.
- packet analyzer 125 may receive more than the first portion of each data packet in order to provide the other functionality for network switch 100.
- the pattern matching table 190 stores known patterns of bytes for data packets that are considered time-sensitive and therefore should be transmitted over the low latency transmission path 185.
- the packet analyzer 125 is configured to analyze one or more bytes of the first portion of each data packet to identify a destination egress port for the data packet.
- the packet analyzer 125 also matches the one or more bytes of the first portion of each data packet against the pattern matching table 190 to determine whether the data packet should be transmitted over the low latency transmission path 185. If a pattern of the one or more bytes of the first portion of the data packet matches a pattern stored in the pattern matching table 190, then the data packet is identified as to be transmitted over the low latency transmission path 185. In the alternative, if there is not a match between the pattern of the first portion of the data packet and the pattern matching table 190 then the data packet is transmitted through the packet queue and scheduler 145 and not over the low latency transmission path 185.
- the packet analyzer 125 extracts at least a byte pattern comprising a destination MAC-address (DMAC), EtherType field (ETYPE) and identifier (ID) from the first portion of the data packet.
- the packet analyzer 125 attempts to match the extracted pattern with a pattern stored in the pattern matching table 190. If a match is identified, then the packet analyzer 125 sets a flag for the data packet indicating that the data packet is to be transmitted over the low latency transmission path 185.
- DMAC destination MAC-address
- ETYPE EtherType field
- ID identifier
- the packet buffer 135 of the switch fabric 180 stores the data packets that are collected by the collection module 120 as the first portion of the data packets are analyzed by the packet analyzer 125.
- the flag is communicated to the packet reader 150 over bypass path 175 of low latency transmission path 185.
- an identifier of the egress port are communicated to the packet reader 150 over bypass path 175 of low latency transmission path 185.
- packet reader 150 responds to receipt of an address of the data packet in packet buffer 135, and an identifier of the egress port, over the bypass path 175, in lieu of a particular flag.
- packet reader 150 In response to receiving the communication over the bypass path 175, such as the flag, or an address of the data packet in packet buffer 135, and an identifier of the egress port, at the packet reader 150, the packet reader 150 promptly begins reading the respective data packets out of the packet buffer 135.
- the data packets are not scheduled to the packet reader 150 by the packet queue and scheduler 145, but instead are read out promptly from the packet buffer 135 by packet reader 150 responsive to the communication over the bypass path 175 of the low latency transmission path 185, thereby avoiding any latency caused by the packet queue and scheduler 145.
- the packet reader 150 then provides the data packets read from the packet buffer 135 to the splitter module 150.
- the splitter module 150 is configured to distribute the data packets to the identified destination egress port of the plurality of egress ports 160, 165, 170 for the data packet, with the identified destination egress port provided by the packet analyzer 125.
- the network switch 100 transmits each of the data packets to the identified destination egress port over the low latency transmission 185 if the data packet is identified to be transmitted over the low latency transmission 185 path from the ingress port to the destination egress port, and the switch fabric 180 transmits the data packet to the destination egress port responsive to scheduling by the packet queue and scheduler 145 if the data packet is not identified to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress ports.
- the packet queue and scheduler 145 of the switch fabric 180 operates in a similar manner to known standard switching techniques in which the data packets received at the ingress ports 105, 110, 115 are processed in a round-robin fashion, or other fashion, wherein only one input port has access to the packet queue and scheduler 145 during each clock cycle of the switch fabric 180.
- the packet buffer 135 enqueues the data packets and the packet reader 150 reads the packets from packet buffer 135 in accordance with the packet queue and scheduler 145.
- the process of queuing and round-robin processing by packet queue and scheduler 145 adds undesirable latency into the network switch 100. While the added latency is acceptable for best- effort network traffic, it may not be acceptable for time-sensitive network traffic.
- the low latency transmission path 185 as disclosed provides a solution for transmitting both best-effort network traffic and time-sensitive network traffic in a common network switch 100.
- the switch fabric 180 is further configured to operate under Time Sensitive Networking (TSN) standards.
- TSN Time Sensitive Networking
- IEEE standards for TSN enable deterministic, real-time communication over Ethernet by using time synchronization and time slotting, which is shared between the network devices.
- TSN ensures a bounded maximum latency for scheduled traffic through the network switch 100. If all devices operating in a TSN have a common understanding of the windows in time where low latency transfers can take place, the low latency transmission path 185 in each network switch 100 will contribute to an end-to-end low transfer delay.
- the destination egress port is guaranteed to be available to receive data packets over the low latency transmission path 185 during the predetermined time window.
- the time-sensitive data packets are received at the plurality of ingress ports 105, 110, 115 during a specified time window, the destination egress port is configured by the packet queue and scheduler 145 to be available during the specified time window and the time-sensitive data packets are transmitted over the low latency transmission path 185 during the specified time window.
- TS time-sensitive
- a cycle having a one second duration may be split into time windows.
- the ingress ports 105, 110, 115, the egress ports 160, 165, 170 and the network switch 100 are all aware of these time windows and are aligned with a common clock signal.
- a first window of time between 0ms and 850ms in each cycle may be used for transmitting best-effort traffic in response to scheduling by the packet queue and scheduler 145 of the switch fabric 180.
- the network switch 100 can assure that data packets requiring low latency transmission are only received in the 850ms to 860ms time window, during which time, the network switch 180 can assure that the identified destination egress port for time-sensitive data packets is available during the time the low latency transmission path 185 is needed to transmit the time-sensitive data packets.
- FIG. 2 a flow diagram is provided illustrating a method 200 for operating the network switch 100 having the low latency transmission path 185.
- the method begins by establishing a low latency transmission path through a network switch, wherein the network switch comprises a plurality of ingress ports, a plurality of egress ports and a switch fabric comprising a packet queue and scheduler through which the plurality of ingress ports communicate with the plurality of egress ports and wherein the low latency transmission path bypasses the packet queue and scheduler of the switch fabric.
- a low latency transmission path 185 is established through the network switch 100 comprising a plurality of ingress ports 105, 110, 115, a plurality of egress ports 160, 165, 170 and a switch fabric 180.
- the switch fabric 180 comprises a packet queue and scheduler 145 through which the plurality of ingress ports 105, 110, 115 communicates with the plurality of egress ports 160, 165, 170 and the low latency transmission path 185 bypasses the packet queue and scheduler 145 of the switch fabric 180.
- the method continues by receiving a plurality of data packets at one or more of the plurality of ingress ports and at 215 by collecting a first portion of one or more of the plurality of data packets at a collection module.
- data packets received at one or more of the plurality of ingress ports 105, 110, 115 are provided to a collection module 120, and the collection module 120 is configured to collect a first portion of one or more of the plurality of data packets.
- a first portion of only some of the plurality of data packets are collected responsive to an ETYPE designation.
- the method continues by, for each data packet of the plurality of data packets, analyzing the first portion of the plurality of data packets to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port.
- a packet analyzer 125 comprising a pattern matching table 190 is used to analyze the first portion of the data packets to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress port.
- the method concludes at 225 by transmitting the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and transmitting the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports.
- the data packets identified to be transmitted over the low latency transmission path 185 by the packet analyzer 125 are transmitted to the destination egress port of the data packet over the low latency transmission path 185.
- the data packets not identified to be transmitted over the low latency transmission path 185 are transmitted to the destination egress port responsive to scheduling by the packet queue and scheduler 145.
- FIG. 3 is a flow diagram 300 illustrating an example method for setting a flag for one or more data packets identified as to be transmitted over a low latency transmission path.
- the method begins by setting a flag if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port.
- the packet analyzer 125 in combination with the pattern matching table 190 are used to identified if the data packet is to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress port as determined by the packet analyzer 125.
- the method concludes at 310 by the data packet being transmitted to the destination egress port over the low latency transmission path responsive to the set flag.
- the packet analyzer 125 provides the flag to the packet reader 150 and the packet reader 150 reads the data packets from the packet buffer 135 responsive to the set flag, thereby transmitting the data packet to the destination egress port over the low latency transmission path.
- FIG. 4 is a flow diagram 400 illustrating an exemplary method for operating a network switch having a low latency transmission path as a time-sensitive network (TS) network switch.
- TS time-sensitive network
- the method begins by identifying a specified time window for transmitting data packets over the low latency transmission path of a time-sensitive (TS) network switch.
- the network switch 100 shown in FIG. 1 may be a TS network switch having a low latency transmission path 185 and the specified time window for transmitting data packets over the low latency transmission path 185 may be identified by the switch fabric 180 of the network switch 100.
- the method continues by configuring the destination egress port to be available to receive one or more data packets over the low latency transmission path during the specified time window.
- the egress ports 160, 165, 170 may be configured as a destination egress port to be available to receive one or more data packets over the low latency transmission path 185 during the specified time window identified by the TS network switch 100.
- the method continues at 415 by analyzing, during the specified time window, a first portion of one or more of the plurality of data packets to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port.
- the packet analyzer 125 and pattern matching table 190 of FIG. 1 are configured to analyze a first portion of one or more of the plurality of data packets received during the specified time window to identify if the data packet is to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress port.
- the method concludes at 420 by transmitting the data packet to the destination egress port over the low latency transmission path during the specified time window if, as a result of the analyses of 415, it is determined that the data packet is to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress port. If, as a result of the analyses of 415, it is not determined that the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port, then the data packet is transmitted through the switch fabric. As shown in FIG. 1 the low latency transmission path 185 is used to transmit the data packets identified to be transmitted over the low latency transmission path during the specified time window and switch fabric 180 is used to transmit the data packets not identified to be transmitted over the low latency transmission path during the specified time window.
- the disclosed network switch 100 provides more fixed and lower latency switching capabilities that prior art solutions.
- the low latency transmission 185 is implemented in an integrated circuit (IC) device comprising the network switch 100, and not in a dedicated external fast-path device (such as a Fast-Path FPGA) implemented in a separate IC device, wherein time-sensitive packets are not received at the input ports of the network switch.
- IC integrated circuit
- FPGA Fast-Path FPGA
- the method and apparatus of the present invention adds a low latency transmission path 185 to an existing switch fabric 180.
- the network switch 100 may be implemented in any network application but may be most feasible when TSN features are controlling the flow of network traffic.
- the network switch may be implemented in an integrated circuit as a single semiconductor die, with the ingress port, the plurality of egress ports, the switch fabric, the packet queue and scheduler and the low latency transmission path entirely within the single semiconductor die
- portions of the system of the present invention may be implemented in a Field Programmable Gate Array (FPGA) or Application Specific Integrated Circuit (ASIC).
- FPGA Field Programmable Gate Array
- ASIC Application Specific Integrated Circuit
- various functions of circuit elements may also be implemented as processing steps in a software program.
- Such software may be employed in, for example, a digital signal processor, a network processor, a microcontroller or general-purpose computer.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Input Circuits Of Receivers And Coupling Of Receivers And Audio Equipment (AREA)
- Oscillators With Electromechanical Resonators (AREA)
Abstract
A network switch and associated method of operation for establishing a low latency transmission path through the network which bypasses the packet queue and scheduler of the switch fabric. The network switch transmits each of a plurality of data packets to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and transmits the data packet to the destination egress port through the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports.
Description
SYSTEM AND METHOD FOR LOW LATENCY NETWORK
SWITCHING
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims priority to currently pending U.S. Provisional Patent Application No. 63/126,482 filed December 16, 2020 and U.S. Non-Provisional Patent Application No. 17/383,755 filed July 23, 2021, the entirety of which are incorporated herein by reference.
BACKGROUND OF THE INVENTION
[0002] Network switches are critical elements of any network infrastructure. Network switches check data packets arriving at ingress ports, determine the appropriate egress port for the intended destination device, and then transmit the packet data packet to the correct destination via an egress port. Improvements in data packet processing by network switches are desirable to reduce latency in the delivery of data packets to one or more destination devices.
[0003] Accordingly, there is a need for a method and apparatus that provides a low latency transmission path through a network switch that can be used to transmit time-sensitive data packets.
SUMMARY OF THE INVENTION
[0004] In various embodiments, an improved network switch and method for operating a network switch are provided, wherein a low latency transmission is established through the network switch for the transmission of data packets requiring low latency transmission. The network switch and associated method does not require coupling an independent, dedicated switching circuit to the network switch to provide the low latency transmission path. As such, the disclosed network switch provides both a low latency transmission path for traffic that requires low latency transmission and a standard transmission path for traffic that does not require low latency transmission.
[0005] In a first embodiment, a method is provided for operating a network switch. The method includes, establishing a low latency transmission path through a network switch, wherein the network switch comprises a plurality of ingress ports, a plurality of egress ports and a switch fabric comprising a packet queue and scheduler through which the plurality of ingress ports communicate with the plurality of egress ports and wherein the low latency transmission path bypasses the packet queue and scheduler of the switch fabric. The method further includes, receiving a plurality of data packets at one or more of the plurality of ingress ports, collecting a first portion of one or more of the plurality of data packets at a collection module and, for each data packet of the one or more of the plurality of data packets, analyzing the first portion of the data packet to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port. The method additionally includes, transmitting the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and transmitting the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports.
[0006] In accordance with the disclosure, each data packet of the one or more of the plurality of data packets includes a plurality of words, each of the plurality of words includes a number of bytes and the number of bytes of the first portion of each of the plurality of data packets collected at the collection module is less than the number of bytes of each of the plurality of words of each data packet of the one or more of the plurality of data packets.
[0007] In a particular embodiment, a flag may be set for the data packet if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port. Subsequently, the data packet may be transmitted to the destination egress port over the low latency transmission path responsive to the set flag.
[0008] In a specific embodiment, the network switch may be a time-sensitive (TS) network switch. In this embodiment, analyzing the first portion of the data packet to identify if the data
packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port may be performed during a specified time window, as determined by the TS network switch. Additionally, the destination egress port may further be configured to be available to receive one or more data packets over the low latency transmission path during the specified time window and the one or more data packets may be transmitted to the destination egress port over the low latency transmission path during the specified time window.
[0009] In another embodiment, a network switch is provided which includes, a plurality of ingress ports, a plurality of egress ports, a switch fabric comprising a packet queue and scheduler through which the plurality of ingress ports communicate with the plurality of egress ports and a low latency transmission path for bypassing the packet queue and scheduler of the switch fabric. In this embodiment, the switch fabric is configured to receive a plurality of data packets at one or more of the plurality of ingress ports and, for each of the plurality of data packets received, analyze a first portion of the data packet to identify one of the plurality of egress ports as a destination egress port of the data packet and identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port. The switch fabric is further configured to transmit the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and to transmit the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports.
[00010] In an additional embodiment, a switch fabric is provided which includes, a packet queue and scheduler through which a plurality of ingress ports coupled to the packet queue and scheduler communicate with a plurality of egress ports coupled to the packet queue and scheduler and a low latency transmission path for bypassing the packet queue and scheduler. The switch fabric further includes, a collection module to collect a first portion of one or more of a plurality of data packets received at one or more of the plurality of ingress ports and a packet analyzer to analyze, for each data packet of the one or more of the plurality of data packets, the first portion of the data packet
to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port. In this embodiment, the switch fabric is configured to transmit the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and to transmit the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports.
[00011] Accordingly, in various embodiments, a system and method are provided for enabling, in a common network switch, both a low latency transmission path for traffic that requires low latency transmission and a standard transmission path for traffic that does not require low latency transmission.
BRIEF DESCRIPTION OF DRAWINGS
[00012] For a fuller understanding of the invention, reference should be made to the following detailed disclosure, taken in connection with the accompanying drawings, in which:
[00013] FIG. 1 is a block diagram illustrating a network switch comprising a low latency transmission path, in accordance with an embodiment of the present invention.
[00014] FIG. 2 is a flow diagram illustrating a method for operating a network switch having a low latency transmission path, in accordance with an embodiment of the present invention.
[00015] FIG. 3 is a flow diagram illustrating a method for setting a flag for one or more data packets identified as to be transmitted over a low latency transmission path, in accordance with an embodiment of the present invention.
[00016] FIG. 4 is a flow diagram illustrating a method for operating a network switch having a low latency transmission path as a time-sensitive network (TS) network switch, in accordance with an embodiment of the present invention.
DETAILED DESCRIPTION OF THE INVENTION
[00017] Reference will now be made in detail to various embodiments, examples of which are illustrated in the accompanying drawings. While various embodiments are discussed herein, it will be understood that they are not intended to be limiting. On the contrary, the presented embodiments are intended to cover alternatives, modifications, and equivalents, which may be included within the spirit and scope of the various embodiments as defined by the appended claims. Furthermore, in this Detailed Description of the Invention, numerous specific details are set forth in order to provide a thorough understanding. However, embodiments may be practiced without one or more of these specific details. In other instances, well known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects of the described embodiments.
[00018] It will be understood that, although the terms first, second, third, without limitation, may be used herein to describe various elements, components, regions, layers, and/or sections, these elements, components, regions, layers, and/or sections should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer, or section from another region, layer, or section. Thus, a first element, component, region, layer, or section discussed below could be termed a second element, component, region, layer, or section without departing from the teachings of the present invention.
[00019] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
[00020] With reference to FIG. 1, a network switch 100, such as a network switch that switches data packets from one or more ingress ports 105, 110, 115 to one or more egress ports 160, 165, 170 through a switch fabric 180 is illustrated. The network switch 100 may be part of a network that can include various network devices, including but not limited to, one or more servers,
computers, and sensors. Each of the network devices may be associated with one or more of the ingress ports and the egress ports and the network devices may be connected or otherwise be in packet-based communication with each other, through, or using, the network switch. While three ingress ports 105, 110, 115 and three egress ports 160, 165, 170 are illustrated, this is not meant to be limiting in any way. The number of ingress ports is not constrained to be equal to the number of egress ports, the number of ingress ports may be of any amount and the number of egress ports may be of any amount.
[00021] The network switch 100 may receive network data in the form of data packets and the network switch 100 may transmit the data packets between the ingress ports 105, 110, 115 and the egress ports 160, 165, 170 through a switch fabric 180 of the network switch 100 to establish communication between the various network devices. The switch fabric 180 provides a communication path for the data packets between the ingress ports 105, 110, 115 and the egress ports 160, 165, 170 such that any of the ingress ports 105, 110, 115 can be in communication with any of the egress ports 160, 165, 170.
[00022] The network switch 100 and the switch fabric 180 may include programmable circuitry to perform the functionality of the network switch 100 and the switch fabric 180.
[00023] Latency is introduced by a network switch during data packet reception, analysis, queuing, scheduling, forwarding and transmission of the data packets through the switch fabric 180. In various applications, including but not limited to automotive and industrial applications, network switches are often responsible for the transmission of both time-sensitive and best-effort network traffic. In networks where a mix of best-effort and highly time-sensitive traffic are interleaved in the same infrastructure, the disclosed network switch 100 provides low latency switching for time-sensitive traffic, thereby reducing the latency of such traffic.
[00024] In the example embodiment of FIG. 1, the switch fabric 180 of the network switch 100 includes a packet queue and scheduler 145 which schedules the transmission of packets received at ingress ports 105, 110, 115 through the respective egress ports 160, 165, 170. Data packets identified as network traffic requiring best-effort transmission through the network switch 100 are scheduled by the packet queue and scheduler 145. The network switch 100 additionally includes a
low latency transmission path 185 for bypassing the packet queue and scheduler 145 of the switch fabric 180. As such, the low latency transmission path 185 of the switch fabric 180 may be used for the transmission of time-sensitive traffic between the ingress ports 105, 110, 115 and the egress ports 160, 165, 170 while the packet queue and scheduler 145 may be used for scheduling the transmission of best-effort traffic, as described in detail below.
[00025] In addition to the packet queue and scheduler 145, the switch fabric 180 includes a collection module 120 coupled to the ingress ports 105, 110, 115, a packet analyzer 125 coupled between the collection module 120 and the packet queue and scheduler 145, a packet reader 150 coupled to an output of the packet queue and scheduler 145, a splitter module 155 coupled to an output of the packet reader 150 and a packet buffer 135 coupled between an output of the collection module and the packet reader 150. As shown in FIG. 1, the low latency transmission path 185 shares the collection module 120, the packet analyzer 125, the packet buffer 135, the packet reader 150 and the splitter module 155 of the switch fabric 180. As also shown in FIG. 1, the low latency transmission path 185 does not include the packet queue and scheduler 145 of the switch fabric 180.
[00026] The collection module 120 of the switch fabric 180 comprises circuitry configured to collect a first portion of one or more of the plurality of data packets received from the ingress ports 105, 110, 115. In addition, collection module 120, collects data of the received data packets into a predetermined word width in accordance with the configuration of switch fabric 180. The first portion of each of the data packets is selected to be a fewer number of bytes than the data packet. There is no requirement that the first portion of all of the data packets be collected by collection module 120, and in one example, the first portion of each of the data packets of only a particular ETYPE are collected by collection module 120 in addition to collection of data of all of the received data packets into the predetermined word width in accordance with the configuration of switch fabric 180. In particular, each of the data packets received at the ingress ports 105, 110, 115 includes a plurality of words, each of the plurality of words comprises a number of bytes and the number of bytes of the first portion of each of the plurality of data packets collected at the collection module is less than the number of bytes of each of the plurality of words of each of the
plurality of data packets. In a specific non-limiting example, 64-byte data packets may be transmitted from the ingress ports 105, 110, 115 in parallel and collected at the collection module 120. The collection module 120 may then collect a first portion of one or more data packets, which may include only 32 bytes of the 64-byte data packet. As such, the collection module 120 of the switch fabric 180 is configured to collect a smaller portion of bytes of the data packet which allows for faster access to the packet analyzer 125 of the switch fabric 180, regardless of the contents of the data packets. For packets larger than 64-byte data packets, the first portion of the data packet may still include only 32 bytes of the data packet.
[00027] The packet analyzer 125 of the switch fabric 180 is coupled to receive the first portion of each data packet from the collection module 120 and a packet buffer 135 of the switch fabric 180 is coupled to an output of the collection module 120 and is configured to store the data packets received at the ingress ports 105, 115, 115. The packet analyzer 125 analyzes the first portion of each of the plurality of data packets to identify one of the plurality of egress ports 160, 165, 170 as a destination egress port of the data packet and to determine if the data packet is to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress port or if the data packet is to be transmitted over the switch fabric 180 from the ingress port to the destination egress port. The packet analyzer 125 includes a pattern matching table 190 for identifying if the data packet is to be transmitted over the low latency transmission path 185. In general, the pattern matching table 190 may be implemented in a memory device and in particular the pattern matching table 190 may be implemented in a ternary content addressable memory (TCAM). In addition to the above, packet analyzer 125 functions to provide other functionality for network switch 100, such as quality of service and MAC address functions, known to those skilled in the art. Thus, packet analyzer 125 may receive more than the first portion of each data packet in order to provide the other functionality for network switch 100.
[00028] The pattern matching table 190 stores known patterns of bytes for data packets that are considered time-sensitive and therefore should be transmitted over the low latency transmission path 185. In particular, the packet analyzer 125 is configured to analyze one or more bytes of the first portion of each data packet to identify a destination egress port for the data packet. The packet
analyzer 125 also matches the one or more bytes of the first portion of each data packet against the pattern matching table 190 to determine whether the data packet should be transmitted over the low latency transmission path 185. If a pattern of the one or more bytes of the first portion of the data packet matches a pattern stored in the pattern matching table 190, then the data packet is identified as to be transmitted over the low latency transmission path 185. In the alternative, if there is not a match between the pattern of the first portion of the data packet and the pattern matching table 190 then the data packet is transmitted through the packet queue and scheduler 145 and not over the low latency transmission path 185.
[00029] In a specific embodiment for an example protocol, the packet analyzer 125 extracts at least a byte pattern comprising a destination MAC-address (DMAC), EtherType field (ETYPE) and identifier (ID) from the first portion of the data packet. The packet analyzer 125 then attempts to match the extracted pattern with a pattern stored in the pattern matching table 190. If a match is identified, then the packet analyzer 125 sets a flag for the data packet indicating that the data packet is to be transmitted over the low latency transmission path 185.
[00030] In a non-limiting exemplary embodiment, assuming that the low latency transmission path 185 is to be utilized for time-sensitive data packets identified by the values: DMAC=001 1222334455, ETYPE=88F6 and bytes 16-18 containing the 3-byte ID=010203. By programming these values into the pattern matching table 190 of the packet analyzer 125, when there is a match between a received data packet and the pattern matching table 190, packet analyzer 125 sets a flag indicating that the data packet is time-sensitive and is to be transmitted over the low latency transmission path 185.
[00031] The packet buffer 135 of the switch fabric 180 stores the data packets that are collected by the collection module 120 as the first portion of the data packets are analyzed by the packet analyzer 125. When a flag is set for one or more data packets following the analysis of the first portion of the data packets, the flag is communicated to the packet reader 150 over bypass path 175 of low latency transmission path 185. In addition to address of the data packet in packet buffer 135, and an identifier of the egress port are communicated to the packet reader 150 over bypass path 175 of low latency transmission path 185. There is no requirement that a particular separate
flag be set, and in one example, packet reader 150 responds to receipt of an address of the data packet in packet buffer 135, and an identifier of the egress port, over the bypass path 175, in lieu of a particular flag. In response to receiving the communication over the bypass path 175, such as the flag, or an address of the data packet in packet buffer 135, and an identifier of the egress port, at the packet reader 150, the packet reader 150 promptly begins reading the respective data packets out of the packet buffer 135. As such, in response to the communication over the bypass path 175, the data packets are not scheduled to the packet reader 150 by the packet queue and scheduler 145, but instead are read out promptly from the packet buffer 135 by packet reader 150 responsive to the communication over the bypass path 175 of the low latency transmission path 185, thereby avoiding any latency caused by the packet queue and scheduler 145. The packet reader 150 then provides the data packets read from the packet buffer 135 to the splitter module 150. The splitter module 150 is configured to distribute the data packets to the identified destination egress port of the plurality of egress ports 160, 165, 170 for the data packet, with the identified destination egress port provided by the packet analyzer 125. As such, the network switch 100 transmits each of the data packets to the identified destination egress port over the low latency transmission 185 if the data packet is identified to be transmitted over the low latency transmission 185 path from the ingress port to the destination egress port, and the switch fabric 180 transmits the data packet to the destination egress port responsive to scheduling by the packet queue and scheduler 145 if the data packet is not identified to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress ports.
[00032] The packet queue and scheduler 145 of the switch fabric 180 operates in a similar manner to known standard switching techniques in which the data packets received at the ingress ports 105, 110, 115 are processed in a round-robin fashion, or other fashion, wherein only one input port has access to the packet queue and scheduler 145 during each clock cycle of the switch fabric 180. The packet buffer 135 enqueues the data packets and the packet reader 150 reads the packets from packet buffer 135 in accordance with the packet queue and scheduler 145. As previously described, the process of queuing and round-robin processing by packet queue and scheduler 145 adds undesirable latency into the network switch 100. While the added latency is acceptable for best-
effort network traffic, it may not be acceptable for time-sensitive network traffic. The low latency transmission path 185 as disclosed provides a solution for transmitting both best-effort network traffic and time-sensitive network traffic in a common network switch 100.
[00033] In addition to identifying data packets for transmission over the low latency transmission path 185, the switch fabric 180 is further configured to operate under Time Sensitive Networking (TSN) standards. IEEE standards for TSN enable deterministic, real-time communication over Ethernet by using time synchronization and time slotting, which is shared between the network devices. By defining time slots, or windows, for data packet transmission, TSN ensures a bounded maximum latency for scheduled traffic through the network switch 100. If all devices operating in a TSN have a common understanding of the windows in time where low latency transfers can take place, the low latency transmission path 185 in each network switch 100 will contribute to an end-to-end low transfer delay. By implementing TSN in the network switch 100, the destination egress port is guaranteed to be available to receive data packets over the low latency transmission path 185 during the predetermined time window.
[00034] With the network switch 100 operating as a time-sensitive (TS) network switch in a TS network, the time-sensitive data packets are received at the plurality of ingress ports 105, 110, 115 during a specified time window, the destination egress port is configured by the packet queue and scheduler 145 to be available during the specified time window and the time-sensitive data packets are transmitted over the low latency transmission path 185 during the specified time window.
[00035] In a non-limiting example of the network switch 100 operating in a TSN environment, a cycle having a one second duration may be split into time windows. The ingress ports 105, 110, 115, the egress ports 160, 165, 170 and the network switch 100 are all aware of these time windows and are aligned with a common clock signal. In this example, a first window of time between 0ms and 850ms in each cycle may be used for transmitting best-effort traffic in response to scheduling by the packet queue and scheduler 145 of the switch fabric 180. A second window of time between 850ms and 860ms in each cycle may be reserved for transmitting time-sensitive data packets over the low latency transmission path 185 to a destination egress port identified for time-sensitive data packets. During this second window of time, best-effort traffic to this identified destination egress
port is blocked. A third window of time between 860ms and 1000ms may then be used for transmitting best-effort traffic again. There may be multiple such destination egress ports identified for time-sensitive data packets in network switch 100.
[00036] As such, through the common network time understanding provided by TSN, the network switch 100 can assure that data packets requiring low latency transmission are only received in the 850ms to 860ms time window, during which time, the network switch 180 can assure that the identified destination egress port for time-sensitive data packets is available during the time the low latency transmission path 185 is needed to transmit the time-sensitive data packets.
[00037] With reference to FIG. 2, a flow diagram is provided illustrating a method 200 for operating the network switch 100 having the low latency transmission path 185.
[00038] At 205 the method begins by establishing a low latency transmission path through a network switch, wherein the network switch comprises a plurality of ingress ports, a plurality of egress ports and a switch fabric comprising a packet queue and scheduler through which the plurality of ingress ports communicate with the plurality of egress ports and wherein the low latency transmission path bypasses the packet queue and scheduler of the switch fabric. With reference to FIG. 1, a low latency transmission path 185 is established through the network switch 100 comprising a plurality of ingress ports 105, 110, 115, a plurality of egress ports 160, 165, 170 and a switch fabric 180. The switch fabric 180 comprises a packet queue and scheduler 145 through which the plurality of ingress ports 105, 110, 115 communicates with the plurality of egress ports 160, 165, 170 and the low latency transmission path 185 bypasses the packet queue and scheduler 145 of the switch fabric 180.
[00039] At 210 the method continues by receiving a plurality of data packets at one or more of the plurality of ingress ports and at 215 by collecting a first portion of one or more of the plurality of data packets at a collection module. As shown in FIG. 1, data packets received at one or more of the plurality of ingress ports 105, 110, 115 are provided to a collection module 120, and the collection module 120 is configured to collect a first portion of one or more of the plurality of data
packets. In some examples, a first portion of only some of the plurality of data packets are collected responsive to an ETYPE designation.
[00040] At 220 the method continues by, for each data packet of the plurality of data packets, analyzing the first portion of the plurality of data packets to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port. As shown in FIG. 1, a packet analyzer 125 comprising a pattern matching table 190 is used to analyze the first portion of the data packets to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress port.
[00041] The method concludes at 225 by transmitting the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and transmitting the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports. With reference to FIG. 1, the data packets identified to be transmitted over the low latency transmission path 185 by the packet analyzer 125 are transmitted to the destination egress port of the data packet over the low latency transmission path 185. Alternatively, the data packets not identified to be transmitted over the low latency transmission path 185 are transmitted to the destination egress port responsive to scheduling by the packet queue and scheduler 145.
[00042] FIG. 3 is a flow diagram 300 illustrating an example method for setting a flag for one or more data packets identified as to be transmitted over a low latency transmission path.
[00043] At 305 the method begins by setting a flag if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port. With reference to FIG. 1, the packet analyzer 125 in combination with the pattern matching table 190
are used to identified if the data packet is to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress port as determined by the packet analyzer 125.
[00044] The method concludes at 310 by the data packet being transmitted to the destination egress port over the low latency transmission path responsive to the set flag. With reference to FIG. 1, the packet analyzer 125 provides the flag to the packet reader 150 and the packet reader 150 reads the data packets from the packet buffer 135 responsive to the set flag, thereby transmitting the data packet to the destination egress port over the low latency transmission path.
[00045] FIG. 4 is a flow diagram 400 illustrating an exemplary method for operating a network switch having a low latency transmission path as a time-sensitive network (TS) network switch.
[00046] At 405 the method begins by identifying a specified time window for transmitting data packets over the low latency transmission path of a time-sensitive (TS) network switch. The network switch 100 shown in FIG. 1 may be a TS network switch having a low latency transmission path 185 and the specified time window for transmitting data packets over the low latency transmission path 185 may be identified by the switch fabric 180 of the network switch 100.
[00047] At 410 the method continues by configuring the destination egress port to be available to receive one or more data packets over the low latency transmission path during the specified time window. With reference to FIG. 1, one or more of the egress ports 160, 165, 170 may be configured as a destination egress port to be available to receive one or more data packets over the low latency transmission path 185 during the specified time window identified by the TS network switch 100.
[00048] The method continues at 415 by analyzing, during the specified time window, a first portion of one or more of the plurality of data packets to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port. The packet analyzer 125 and pattern matching table 190 of FIG. 1 are configured to analyze a first portion of one or more of the plurality of data packets received during the specified time window to identify if the data packet is to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress port.
[00049] The method concludes at 420 by transmitting the data packet to the destination egress port over the low latency transmission path during the specified time window if, as a result of the analyses of 415, it is determined that the data packet is to be transmitted over the low latency transmission path 185 from the ingress port to the destination egress port. If, as a result of the analyses of 415, it is not determined that the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port, then the data packet is transmitted through the switch fabric. As shown in FIG. 1 the low latency transmission path 185 is used to transmit the data packets identified to be transmitted over the low latency transmission path during the specified time window and switch fabric 180 is used to transmit the data packets not identified to be transmitted over the low latency transmission path during the specified time window.
[00050] In various embodiments the disclosed network switch 100 provides more fixed and lower latency switching capabilities that prior art solutions. The low latency transmission 185 is implemented in an integrated circuit (IC) device comprising the network switch 100, and not in a dedicated external fast-path device (such as a Fast-Path FPGA) implemented in a separate IC device, wherein time-sensitive packets are not received at the input ports of the network switch. As such, the method and apparatus of the present invention adds a low latency transmission path 185 to an existing switch fabric 180. The network switch 100 may be implemented in any network application but may be most feasible when TSN features are controlling the flow of network traffic.
[00051] In one embodiment, the network switch may be implemented in an integrated circuit as a single semiconductor die, with the ingress port, the plurality of egress ports, the switch fabric, the packet queue and scheduler and the low latency transmission path entirely within the single semiconductor die
[00052] In various embodiments, portions of the system of the present invention may be implemented in a Field Programmable Gate Array (FPGA) or Application Specific Integrated Circuit (ASIC). As would be appreciated by one skilled in the art, various functions of circuit elements may also be implemented as processing steps in a software program. Such software may
be employed in, for example, a digital signal processor, a network processor, a microcontroller or general-purpose computer.
Claims
1. A method for operating a network switch, the method comprising: establishing a low latency transmission path through a network switch, wherein the network switch comprises a plurality of ingress ports, a plurality of egress ports and a switch fabric comprising a packet queue and scheduler through which the plurality of ingress ports communicate with the plurality of egress ports and wherein the low latency transmission path bypasses the packet queue and scheduler of the switch fabric; receiving a plurality of data packets at one or more of the plurality of ingress ports; collecting a first portion of one or more of the plurality of data packets at a collection module; for each data packet of the one or more of the plurality of data packets, analyzing the first portion of the data packet to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port; and transmitting the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and transmitting the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports.
2. The method of claim 1, further comprising, setting a flag if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, the data packet being transmitted to the destination egress port over the low latency transmission path responsive to the set flag.
3. The method of claim 1, wherein the network switch is a time-sensitive network switch, and wherein the data packet is transmitted to the destination egress port over the low
latency transmission path during a specified time window. The method of claim 1, wherein the network switch is a time-sensitive network switch, and wherein the analyzing of the first portion of the data packet to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port is performed during a specified time window. The method of either claim 3 or claim 4, further comprising configuring the destination egress port to be available to receive one or more data packets over the low latency transmission path during the specified time window. The method of claim 1, wherein the plurality of data packets are received at the one or more ingress ports in parallel. The method of claim 1, wherein the analyzing of the first portion of the data packet to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port comprises matching the first portion of the data packet against a pattern matching table. The method of claim 7, wherein the pattern matching table is a ternary content addressable memory. The method of claim 1, further comprising, storing the data packet in a packet buffer of the low latency transmission path prior to transmitting the data packet to the destination egress port over the low latency transmission path. The method of claim 1, wherein each data packet of the plurality of data packets comprises a plurality of words, each of the plurality of words comprises a number of bytes and the number of bytes of the first portion of each data packet of the one or more of the plurality of data packets collected at the collection module is less than the number of bytes of each of the plurality of words of each data packet of the one or more of the plurality of data packets.
A network switch comprising: a plurality of ingress ports; a plurality of egress ports; a switch fabric comprising a packet queue and scheduler through which the plurality of ingress ports communicate with the plurality of egress ports; and a low latency transmission path for bypassing the packet queue and scheduler of the switch fabric, wherein the switch fabric is configured to: receive a plurality of data packets at one or more of the plurality of ingress ports; for each data packet of one or more of the plurality of data packets, analyze a first portion of the data packet to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port; and transmit the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and transmit the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports. The network switch of claim 11, wherein the network switch comprises a collection module to collect the first portion of each data packet of the one or more of the plurality of data packets and a packet analyzer to analyze the first portion of the data packet. The network switch of claim 11, wherein the network switch is a time-sensitive network switch, and wherein the data packet is transmitted to the destination egress port over the low latency transmission path during a specified time window.
19
The network switch of claim 11, wherein the network switch is a time-sensitive network switch, and wherein the switch fabric is configured to analyze the first portion of the data packet to identify one of the plurality of egress ports as the destination egress port of the data packet and identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port during a specified time window. The network switch of either claim 13 or clam 14, wherein the switch fabric is further configured to configure the destination egress port to be available to receive one or more of the data packets over the low latency transmission path during the specified time window. The network switch of claim 12, wherein the packet analyzer comprises a pattern matching table, wherein the packet analyzer is configured to match the first portion of the data packet against the pattern matching table to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port. The network switch of claim 16, wherein the pattern matching table is a ternary content addressable memory. The network switch of claim 11, wherein the low latency transmission path comprises a packet buffer configured to store the data packet prior to transmitting the data packet to the destination egress port over the low latency transmission path. The network switch of claim 11, wherein each data packet of the plurality of data packets comprises a plurality of words, each of the plurality of words comprises a number of bytes and the number of bytes of the first portion of each of the one or more of the plurality of data packets collected at the collection module is less than the number of bytes of each of the plurality of words of each data packet of the one or more of the plurality of data packets.
20
A switch fabric comprising: a packet queue and scheduler through which a plurality of ingress ports in communication with the packet queue and scheduler communicate with a plurality of egress ports in communication with the packet queue and scheduler; a low latency transmission path for bypassing the packet queue and scheduler; a collection module to collect a first portion of one or more of a plurality of data packets received at one or more of the plurality of ingress ports; a packet analyzer to analyze, for each data packet of the one or more of the plurality of data packets, the first portion of the data packet to identify one of the plurality of egress ports as a destination egress port of the data packet and to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port; and the switch fabric configured to transmit the data packet to the identified destination egress port over the low latency transmission if the data packet is identified to be transmitted over the low latency transmission path from the ingress port to the destination egress port, and to transmit the data packet to the destination egress port responsive to the packet queue and scheduler if the data packet is not identified to be transmitted over the low latency transmission path from the ingress port to the destination egress ports. The switch fabric of claim 20, wherein the switch fabric is a switch fabric of a timesensitive network switch and wherein the switch fabric is configured to transmit the data packet to the destination egress port over the low latency transmission path during a specified time window. The switch fabric of claim 20, wherein the switch fabric is a switch fabric of a timesensitive network switch and wherein the switch fabric is further configured to analyze the first portion of the data packet to identify if the data packet is to be transmitted over the low latency transmission path from the ingress port to the destination egress port during a specified time window.
21
The switch fabric of either claim 22 or claim 23, wherein the switch fabric is a switch fabric of a time-sensitive network switch and wherein switch fabric is further to configure the destination egress port to be available to receive one or more data packets over the low latency transmission path during the specified time window.
22
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE112021005053.2T DE112021005053T5 (en) | 2020-12-16 | 2021-10-03 | System and method for low latency network switching |
CN202180081814.0A CN116615900A (en) | 2020-12-16 | 2021-10-03 | System and method for low latency network switching |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US202063126482P | 2020-12-16 | 2020-12-16 | |
US63/126,482 | 2020-12-16 | ||
US17/383,755 | 2021-07-23 | ||
US17/383,755 US11658911B2 (en) | 2020-12-16 | 2021-07-23 | System and method for low latency network switching |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022132288A1 true WO2022132288A1 (en) | 2022-06-23 |
Family
ID=78617489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2021/053280 WO2022132288A1 (en) | 2020-12-16 | 2021-10-03 | System and method for low latency network switching |
Country Status (3)
Country | Link |
---|---|
DE (1) | DE112021005053T5 (en) |
TW (1) | TWI788131B (en) |
WO (1) | WO2022132288A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140098818A1 (en) * | 2012-10-05 | 2014-04-10 | Broadcom Corporation | Internal Cut-Through For Distributed Switches |
US20140219087A1 (en) * | 2013-02-07 | 2014-08-07 | Broadcom Corporation | Packet Marking For Flow Management, Including Deadline Aware Flow Management |
US20170201468A1 (en) * | 2013-08-22 | 2017-07-13 | Mellanox Technologies, Ltd. | Packet switch with reduced latency |
US20180227247A1 (en) * | 2015-02-03 | 2018-08-09 | Avago Technologies General Ip (Singapore) Pte. Ltd. | Early queueing network device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7042891B2 (en) * | 2001-01-04 | 2006-05-09 | Nishan Systems, Inc. | Dynamic selection of lowest latency path in a network switch |
US8457007B2 (en) * | 2006-02-24 | 2013-06-04 | Marvell World Trade Ltd. | Global switch resource manager |
US10574555B2 (en) * | 2016-01-28 | 2020-02-25 | Arista Networks, Inc. | Network data stream tracer |
US20200259896A1 (en) * | 2019-02-13 | 2020-08-13 | Telefonaktiebolaget Lm Ericsson (Publ) | Industrial Automation with 5G and Beyond |
WO2020197720A1 (en) * | 2019-03-27 | 2020-10-01 | Fungible, Inc. | Low latency packet switch architecture |
-
2021
- 2021-10-03 WO PCT/US2021/053280 patent/WO2022132288A1/en active Application Filing
- 2021-10-03 DE DE112021005053.2T patent/DE112021005053T5/en active Pending
- 2021-12-07 TW TW110145586A patent/TWI788131B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140098818A1 (en) * | 2012-10-05 | 2014-04-10 | Broadcom Corporation | Internal Cut-Through For Distributed Switches |
US20140219087A1 (en) * | 2013-02-07 | 2014-08-07 | Broadcom Corporation | Packet Marking For Flow Management, Including Deadline Aware Flow Management |
US20170201468A1 (en) * | 2013-08-22 | 2017-07-13 | Mellanox Technologies, Ltd. | Packet switch with reduced latency |
US20180227247A1 (en) * | 2015-02-03 | 2018-08-09 | Avago Technologies General Ip (Singapore) Pte. Ltd. | Early queueing network device |
Also Published As
Publication number | Publication date |
---|---|
DE112021005053T5 (en) | 2023-07-13 |
TW202226788A (en) | 2022-07-01 |
TWI788131B (en) | 2022-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7187694B1 (en) | Generic packet parser | |
US8547843B2 (en) | System, method, and computer program product for controlling output port utilization | |
EP2810413B1 (en) | Apparatus suitable for use in an advanced digital baseband processor | |
US8441940B2 (en) | Parallel packet processor with session active checker | |
RU2487483C2 (en) | Method and filtering device for filtering messages received by communication network subscriber over serial data bus of said network | |
US6754222B1 (en) | Packet switching apparatus and method in data network | |
US20080196033A1 (en) | Method and device for processing network data | |
US10701190B2 (en) | Efficient parsing of optional header fields | |
US9590910B1 (en) | Methods and apparatus for handling multicast packets in an audio video bridging (AVB) network | |
US20070002746A1 (en) | Per CoS memory partitioning | |
US11658911B2 (en) | System and method for low latency network switching | |
US7079538B2 (en) | High-speed router | |
US9154586B2 (en) | Method for parsing network packets having future defined tags | |
EP1694006B1 (en) | Multi-part parsing in a network device | |
GB2462237A (en) | Packet switch device | |
WO2001050259A1 (en) | Method and system for frame and protocol classification | |
EP1662725B1 (en) | Cut-through switching in a network device | |
US7830892B2 (en) | VLAN translation in a network device | |
US7079539B2 (en) | Method and apparatus for classification of packet data prior to storage in processor buffer memory | |
WO2022132288A1 (en) | System and method for low latency network switching | |
JP4209186B2 (en) | A processor configured to reduce memory requirements for fast routing and switching of packets | |
CN116615900A (en) | System and method for low latency network switching | |
US20030120790A1 (en) | Processor with multiple-pass non-sequential packet classification feature | |
EP3836496B1 (en) | Method for an improved traffic shaping and/or management of ip traffic in a packet processing system, telecommunications network, system, program and computer program product | |
US20070274330A1 (en) | Network Bridge |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21806870 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202180081814.0 Country of ref document: CN |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21806870 Country of ref document: EP Kind code of ref document: A1 |