A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise expressly reserves all rights whatsoever in said copyright works.
1. Field of the Invention
The present invention relates to the field of data networking and, in particular, to a method and apparatus for preserving frame ordering across aggregated links supporting a plurality of quality of service (QoS) levels.
2. Background Information
As computer technology has evolved, so too has the use of networks which communicatively couple computer systems together allowing remote computer systems to communicate with one another. The improved computer technology, along with the widely distributed nature of corporate computing and the cost/accessibility of high bandwidth data networks has fostered the growth of multi-media network applications over such networks. One example of just such a network topology is the Ethernet standard topology. In recent years, we have seen the Ethernet standard evolve from a 10 Mb/S standard to a 100 Mb/S standard as we race towards the 1 Gb/S standard. Although the prospect of gigabit Ethernet technology will reduce much of the congestion experienced on current Ethernet LAN implementations, those skilled in the art recognize that the additional bandwidth will quickly be consumed by bandwidth-hungry multimedia applications. Thus, another approach is required to improve the bandwidth efficiency of such networks.
One approach currently being considered is the use of multiple physical data links to facilitate the transmission of information, a method commonly referred to as link aggregation. Those skilled in the art will appreciate that link aggregation is a technique which permits one to treat multiple physical links as one logical link, also commonly referred to as a multiple link trunk (MLT). Link aggregation is the topic of study for the Institute for Electrical and Electronic Engineers (IEEE) 802.3ad study group, which is working to define protocols for the exchange of traffic over multi-link trunks. One of the objectives of the study group is maintaining the ordering of frames. In many network protocols receiving frames out of order is likely to cause confusion. Indeed, the ramifications of processing out of order frames are often unpredictable and thus, undesirable. Similarly, the receipt of duplicate frames can also cause problems in many communication protocols. The typical solution to having received an out-of-order and/or duplicate frame sequence is the retransmission of the entire frame sequence. Given a no-contention network architecture such as, for example, the Ethernet network wherein only one network element may be actively transmitting at a time, the need to retransmit entire frame sequences significantly reduces network efficiency.
To improve the efficiency of such networks, a number of solutions are currently being considered to preserve frame ordering across aggregated links, the so-called multi-link trunk. To date, proposed solutions focus on the transmit side of the communication. One proposed solution, for example, relies on tagging frames with sequence numbers at the transmit side, and removing the sequence numbers from the frames as the frames are received and promoted. Although this method is currently favored in the technical community as providing an easy resolution of the problem, those skilled in the art recognize that such a solution is a costly one insofar as it involves altering the frame structure. That is, instead of simply routing frames a network bridge or switch, for example, must modify the frames to add the sequence numbers, thereby violating a number of bridging protocols. By violating such bridging protocols, a problem of backward compatibility is created, leaving legacy bridges that are unable of supporting aggregated link communication sessions.
Another problem commonly associated with prior art aggregated link control techniques arises on the transmit side when handling “flows”, i.e., a sequence of messages or frames that have the same source, destination and quality of service requirements. Prior art switches identify a flow and queue the frames identified as a flow on a single, particular link. Those skilled in the art will appreciate that queuing a flow through a single link, as done in the prior art, eliminates many of the benefits commonly associated with use of an aggregated link, e.g., maximizing throughput, load balancing, etc. due to the management required to switch the entire flow to another physical link.
Thus a method and apparatus for preserving frame ordering across aggregated links supporting a plurality of quality of service levels is required that does not resort to modification of the frames themselves. Accordingly, a method and apparatus for preserving frame ordering across aggregated links supporting a plurality of quality of service levels is presented, which is unencumbered by the inherent deficiencies and limitations commonly associated with the prior art.
In accordance with the teachings of the present invention, a method and apparatus for preserving frame ordering across aggregated links supporting a plurality of quality of service levels is presented. In particular, in accordance with one embodiment of the present invention, a method for preserving frame order across an aggregated link is introduced comprising receiving up to a plurality of indications denoting commencement of frame transmission on each of a plurality of virtual links each associated with a particular quality of service level comprising the aggregated link, and assigning a plurality of pointer values to a corresponding plurality of records in an appropriate ones of a plurality of pointer value buffers associated with the corresponding plurality of virtual links based, at least in part, on the relative order in which data frames are transmitted on each of the links.
The present invention will be described by way of exemplary embodiments, but not limitations, illustrated in the accompanying drawing in which like references denote similar elements, and in which:
In the following description, various aspects of the present invention will be described. However, it will be apparent to those skilled in the art that the present invention may be practiced with only some or all aspects of the present invention. For purposes of explanation, specific numbers and configurations are set forth in order to provide a thorough understanding of the present invention. However, it will also be apparent to those skilled in the art that the present invention may be practiced without these specific details. In other instances, well known features are omitted or simplified for clarity.
In alternative embodiments, the present invention may be applicable to implementations of the invention in integrated circuits or chip sets, wireless implementations, switching systems products and transmission systems products. For purposes of this application, the terms switching systems products shall be taken to mean private branch exchanges (PBXs), central office switching systems that interconnect subscribers, toll/tandem switching systems for interconnecting trunks between switching centers, and broadband core switches found at the center of a service provider's network that may be fed by broadband edge switches or access multiplexers, and associated signaling, and support systems and services. The term transmission systems products shall be taken to mean products used by service providers to provide interconnection between their subscribers and their networks such as loop systems, and which provide multiplexing, aggregation and transport between a service provider's switching systems across the wide area, and associated signaling and support systems and services.
Turning to
Further, those skilled in the art will appreciate that the present invention for preserving frame ordering is an enabling technology leading to improved transmission techniques, receiver performance and network performance enhancements (e.g., quality of service, multi-speed links, etc.), which are all aspects of the present invention. Finally, those skilled in the art will appreciate that the innovative method of preserving frame order, to be described more fully below, may be practiced within the scope of current network communication protocol standards and specifications, thus enabling a network device endowed with the teachings of the present invention to interface with legacy network devices. These and other aspects of the present invention will be developed more fully below.
As depicted in the illustrated example embodiment of
With continued reference to data network 100 depicted in
Having described the operating environment within which the teachings of the present invention may be practiced with reference to
Turning to
As defined herein, the physical medium interface (PHY) 202–208 provides the physical and electrical interface between network interface 200 and the multi-link trunk 106 using any of a number of medium attachment units (MAU) known in the art (e.g., tap connector, BNC “T”, and the like). In one embodiment, PHY 202–208 is responsible for encoding/decoding data in accordance with the transmission protocol of MLT 106. That is, in its function as a receiver, PHY 202–208 decodes an encoded transmission received from a physical link of MLT 106 for presentation to MAC 210–216, and the DTE respectively. Conversely, in its function as transmitter, PHY 202–208 encodes frames received from the DTE by way of MAC 210–216 for transmission via a corresponding physical link of MLT 106. In one embodiment, PHY 202–208 employs a Manchester encoder/decoder. In an alternate embodiment, PHY 202–208 employs a Viterbi encoder/decoder. In yet another embodiment, an 8B/10B encoding scheme is employed to facilitate gigabit Ethernet over fiber. Irregardless of the encoding technique employed, PHY 202–208 employs a media independent interface (MII) protocol to communicate with MAC 210–216. Those skilled in the art will appreciate that the MII defines a set of communication signals and protocols for communication between MAC 202–208 and PHY 210–216, respectively. That is, MII enables MACs to communicate with any of a number of alternate PHYs adhering to the MII protocol. One example of an MII between MAC 202–208 and PHY 210–216 is depicted with reference to
Turning, briefly, to
Except as used in accordance with the teachings of the present invention, to be described more fully below, the function of each of the MII signals 308–326 of are generally well known in the art and, thus, need not be further described here. Of particular interest with respect to the teachings of the present invention, however, is the receive data valid signal RX—DV 312. Those skilled in the art will appreciate that RX—DV signal 312 is asserted by PHY 302 to indicate that valid data decoded from the physical medium is being presented on RX—D 314. More specifically, PHY 302 asserts RX—DV signal 312 to denote to MAC 304 that frame transmission has commenced, and that the frames presented on RX—D 314 are valid (e.g., do not contain errors). In accordance with the teachings of the present invention, RX—DV 312 is asserted any time during or immediately after a preamble of the transmitted frame. That is, the RX—DV signal 312 provides an indication to the MAC that frame transmission has commenced on a physical link associated with the PHY asserting the RX—DV signal. In accordance with one embodiment of the present invention, the RX—DV signal 312 is an analog signal that is asserted upon detecting valid data, and remains asserted throughout transmission of the frame. Thus, in accordance with the teachings of the present invention to be developed more fully below, network interface 200 utilizes the indication provided by the assertion of RX—DV signal 312 associated with each PHY to determine frame transmission order.
Returning to the illustrated example embodiment of
In accordance with the teachings of the present invention, the order in which a received frame is promoted from receive buffer 220 corresponds to the relative order in which the RX—DV signal 312 associated with the particular frame is received. In one embodiment, to be described more fully below, further optimization of the receive function can be achieved by detecting “flow” conditions. That is, in accordance with one aspect of the present invention, network interface 200 identifies a flow condition, and allocates specific resources (e.g., receive buffers, pointer buffers, etc.) to handle the flow, thereby reducing the processing required to ensure frame ordering.
Having introduced an example operating environment, hardware architecture and communication interface associated with the teachings of the present invention with reference to the block diagrams of
Turning to the method of
Once a frame is completely received, a determination is made as to whether the received frame corresponds to the first pointer value in the pointer buffer, 410. If not, the frame is stored to the next available record in the receive buffer, 412. If, however, the received frame does correspond to the first pointer value in the pointer buffer, the frame is promoted to the system state at the DTE, and the pointer buffer is incremented to the next pointer value record, 414. At 416, MUX/DeMUX 218 determines whether the pointer buffer is empty and, if so, the process returns to block 402. If the pointer buffer is not empty, the process continues at 418 wherein MUX/DeMUX 218 determines whether the frame corresponding to the next pointer value record in the pointer buffer has been completely received. If not, the process continues with block 406. If, however, MUX/DeMUX 218 determines that the frame corresponding to the next pointer value in the pointer buffer has been received, the process continues with block 414.
Although discussed above as separate buffers, those skilled in the art will appreciate that the pointer values and the frames themselves may well be stored in a common buffer without deviating from the spirit and scope of the present invention. That is to say that the innovation of preserving state information of the order of frame transmission on the receive side by relying on network standard signaling which denotes the commencement of frame transmission, assigning a pointer value to identify the received frame, and then promoting the frames to a system state in order of pointer value may well be practiced in many different forms in many different network architectures/topologies without deviating from the spirit and scope of the present invention. Accordingly, such embodiments are anticipated by the teachings of the present invention.
Having described an example architecture and method of certain embodiments of the present invention above, it may be helpful to illustrate the operation of the present invention in terms of a timing diagram, such as that presented in
In accordance with the illustrated embodiment of
Continuing along the timing diagram, at position 520, as frames B1 and A1 are still being received via their respective links, frame C1 is completely received without receiving an error (e.g., RX—ER). In accordance with the teachings of the present invention, insofar as the pointer to frame C1 resides atop pointer buffer 538 it is promoted to a system state at the DTE once it is completely received. As the pointer value to frame C1 is promoted from pointer buffer 538, the pointer associated with frame A1 now resides atop pointer value buffer. At position 522, frame B1 is completely received and stored in a subsequent record of receiver buffer 540, as shown. However, in accordance with the teachings of the present invention, frame B1 is not promoted until frame A1 has been promoted, insofar as the pointer value for frame A1 has a higher priority within the pointer buffer.
At position 524, while frame A1 is still being received, an indication is received from RX—DVB 506 that a valid frame (B2) is being received via RX—DB 508. Thus, in accordance with the teachings of the present invention, a pointer value corresponding to frame B2 is placed in a subsequent record of pointer buffer 538. While frame B2 is being received, an indication is received from RX DVC 510 at position 526 that a valid frame (C2) is being received via RX—DC 512. Accordingly, a pointer value corresponding to frame C2 is placed in a subsequent record of pointer value buffer 538. At position 528, while A1 and C2 are being received, frame B2 is completely received without indication of error and is stored in a subsequent record of receive buffer 540, as depicted. As above with respect to frame B1, although frame B2 has been completely received, it cannot be promoted to the upper layer until frames A1 and B1 are promoted.
Subsequently, while frames A1 and C2 are being received, an indication is received in the form of RX—DVB 506 that a valid frame (B3) is being received on RX—DB 508 at position 530. In accordance with the teachings of the present invention, a pointer value to frame B3 is placed in a subsequent record of pointer value buffer 538, as depicted. At position 534, while frames A1 and C2 are still being received, frame B3 is completely received without indication of error, and is stored to a subsequent record of receive buffer 540, as shown. As above, frame B3 cannot be promoted until the frames corresponding to pointer values ahead of the pointer value corresponding to B3 are promoted. At position 532, frame C2 is completely received without indication of error and is stored to a subsequent record of receive buffer 540, as shown. Finally, at position 536, frame A1 is completely received without indication of error and is stored in a subsequent record of receive buffer 540 as shown.
In accordance with the teachings of the present invention, since the pointer to frame A1 is at the top of pointer buffer 538 once the frame is completely received at position 536, it is promoted to a system state with DTE. Further, since frames B1, B2, C2 and B3 have also been previously received and stored within receive buffer 540, they are similarly promoted in the order in which frame transmission commenced, as denoted in pointer buffer 538. Thus, rather than altering the content of the frame to denote a sequence number as done in the prior art, a network interface employing the teachings of the present invention relies on an indication of the commencement of frame transmission to preserve the state of frame order transmission. That is, frames are promoted to upper layers in order of frame transmission as recorded by the receiving node relying on standard signaling denoting the commencement of frame transmission.
Having described a method and apparatus for preserving the order of frame transmission above with reference to
Alternatively, if a flow is detected at 604, DeMUX layer 218 allocates specific resources to enable the frames to be processed through to the DTE without further re-ordering at the network interface, 608. That is, recognizing that some protocols are not adversely impacted by out of order transmission (e.g., certain implementations of TCP/IP), the DeMUX layer 218 identifies such frames and passes them through to the DTE without regard to frame order, thereby increasing the receive forwarding rate and reducing the processing associated with buffering such frames. As described above with reference to
At 614, a determination is made by MUX/DeMUX 218 of whether the pointer buffer is empty and, if so, the process continues with block 602, as the MUX/DeMUX 218 awaits further indication(s) of the commencement of frame transmission via MLT 106. Alternatively, if the pointer buffer is not complete, the process returns to block 612 as the next record is read from the receive buffer and promoted to the DTE, as described above.
Thus, in accordance with one aspect of the present invention, a network interface incorporating the teachings of the present invention enhances the receive efficiency of a flow by determining whether the flow is sensitive to out-of-order frame sequences and, if not, passes the frames directly through to the DTE without the need of buffering. Expanding on the teachings of the present invention, described above, an improved method for handling flows is now presented, in accordance with another aspect of the present invention. That is, in accordance with one aspect of the present invention, a destination node incorporated with the teachings of the present invention, e.g., network device 104, creates and maintains a separate pointer buffer dedicated to each detected flow, while continuing to utilize a common receive buffer. In accordance with this aspect of the present invention, all frames associated with a particular flow have pointers set up in a dedicated pointer buffer in the order in which frame transmission commenced. When a frame has been completely received at the receiver, if it is the first pointer in a particular pointer buffer, it is passed to the upper layer without regard to the frames associated with other pointer buffers. By maintaining separate pointer buffers (or link lists) for each flow, frames from one flow do not have to wait for frames from other flows to arrive before they are promoted to an upper layer. Those skilled in the art will appreciate that a further advantage of the present invention is that is a physical link were to go down, the frames can be distributed on the remaining links without the need to flush transmit queues before transmission can resume. A timing diagram illustrating this aspect of the present invention is presented with reference to
Turning to
A further aspect of the present invention is illustrated with reference to the network depicted in
Extending this concept further, another aspect of the present invention emerges as the teachings of present invention preserve the state of frame transmission order enabling Quality of Service (QoS) features. As depicted in
Given the foregoing discussion associated with
Turning to
Having identified the transmit performance attributes of each MAC 210–216, MUX 218 further determines whether the frames received from the DTE require a particular priority level of service, e.g., Quality of Service (QoS) level, 1006. If not, MUX 218 performs load balancing of the frames to be transmitted, balancing the frames across available MACs 210–216 in accordance with the identified transmit performance attributes of the MACs 210–216, 1008.
Alternatively, if a particular QoS is requested at block 1006, MUX 218 makes a further determination of whether the QoS can be supported, 1010. If not, MUX 218 prompts the DTE as to whether to continue transmission of the frames on a best-effort basis 1012. If so, MUX 218 performs load balancing across the MACs 210–216 in accordance with the identified transmit performance attributes 1008. If the DTE does not accept the offer of best effort transmission at 1012, MUX 218 denies the transmit request of the DTE and the process ends.
If, at block 1010, the requested QoS can be supported, MUX 218 performs load balancing to achieve the desired QoS, block 1014. In one embodiment, for example, MUX 218 prioritizes the frames ahead of other frames to ensure that the requested QoS is met. In an alternate embodiment, MUX 218 dedicates transmission resources to ensure that the requested QoS is achieved.
While various aspects and alternate embodiments of the present invention have been described above, those skilled in the art will recognize that the invention is not limited to the embodiments described. The present invention can be practiced with modification and alteration within the spirit and scope of the appended claims. In particular, the present invention may be practiced with other features and/or feature settings. Particular examples of other features include but are not limited to transaction communication protocols and architectural attributes. Accordingly, the description is to be regarded as illustrative instead of restrictive on the present invention.
Thus, alternative methods and apparatus for preserving frame ordering across aggregated links supporting a plurality of quality of service levels has been described.
The present application is a continuation of co-pending patent application Ser. No. 09/131,141 filed on Aug. 7, 1998 entitled “Method and Apparatus for Preserving Frame Ordering Across Aggregated Links Between Source and Destination Nodes” by the inventors of the present invention and commonly assigned to the assignee of the present invention.
Number | Name | Date | Kind |
---|---|---|---|
5307459 | Petersen et al. | Apr 1994 | A |
5430710 | Mueller et al. | Jul 1995 | A |
5633865 | Short | May 1997 | A |
5784559 | Frazier et al. | Jul 1998 | A |
5802054 | Bellenger | Sep 1998 | A |
6021132 | Muller et al. | Feb 2000 | A |
6029202 | Frazier et al. | Feb 2000 | A |
6031821 | Kalkunte et al. | Feb 2000 | A |
6044087 | Muller et al. | Mar 2000 | A |
6049528 | Hendel et al. | Apr 2000 | A |
6154464 | Feuerstraeter et al. | Nov 2000 | A |
6167054 | Simmons et al. | Dec 2000 | A |
6185214 | Schwartz | Feb 2001 | B1 |
6192028 | Simmons et al. | Feb 2001 | B1 |
Number | Date | Country | |
---|---|---|---|
Parent | 09131141 | Aug 1998 | US |
Child | 09271008 | US |