Method and system for a multi-rate gigabit media independent interface
RE048506 · 2021-04-06
Assignee
Inventors
Cpc classification
H04L27/0008
ELECTRICITY
International classification
Abstract
Disclosed is a .[.UGMII.]. system to interface multirate devices including 10 gigabit per second data exchange rates. Mode selection is enabled to provide for automatic detection and adaptation to any transmit rate including 10M, 100M, 1G, and 10G. Mode selection comprises the negotiation between the UGMII extension sublayers located at the MAC and PHY to select between one of several operational modes including: XGIVIII communication, GIYIII encapsulation, Clause 22 MDIO register management and Clause 45 MDIO register management. Selection of UGMII and XGMII operating modes are negotiated between the MAC and PHY using ordered sets to announce and acknowledgement a mode change. In one embodiment 802.3 Clause 46 defined ordered sets are utilized.
Claims
1. A rate adaptive interface configured to interface a .[.MAC.]. .Iadd.media access control (MAC) .Iaddend.device .Iadd.of a network device .Iaddend.with a .[.PHY.]. .Iadd.physical layer (PHY) .Iaddend.device .Iadd.of the network device.Iaddend., the .Iadd.rate adaptive .Iaddend.interface comprising: a .[.rate adaptation.]. .Iadd.media independent interface .Iaddend.module in communication with .[.a.]. .Iadd.the .Iaddend.MAC device .Iadd.implemented in one or both of circuitry and software.Iaddend., the .[.rate adaptation.]. .Iadd.media independent interface .Iaddend.module configured to.[.:.]. receive .Iadd.fixed rate .Iaddend.data .Iadd.at a first fixed rate from a first MAC port and variable rate data .Iaddend.at a .Iadd.variable .Iaddend.rate .[.selected from 10 Mb/s, 100 Mb/s, and 1 Gb/s;.]. .Iadd.from a second MAC port,.Iaddend. process the .Iadd.variable rate .Iaddend.data to .[.a.]. .Iadd.the first fixed .Iaddend.rate .[.of 1 Gb/s;.]. .Iadd.to generate processed data at the first fixed rate,.Iaddend. output the .Iadd.fixed rate .Iaddend.data .Iadd.or the processed data .Iaddend.at .[.a.]. .Iadd.the first fixed .Iaddend.rate.[.of 1 Gb/s.].; .Iadd.and.Iaddend. .[.an encapsulation/recovery module configured to receive the data at a rate of 1 Gb/s from the rate adaptation module, and encapsulate the data at a rate of 1 Gb/s to generated data at a rate of 10 Gb/s;.]. a multiplexer configured to receive the .Iadd.fixed rate .Iaddend.data .[.at a rate of 10 Gb/s from the encapsulation/recovery module.]. or to .[.received.]. .Iadd.receive the processed .Iaddend.data .[.from a MAC device at a rate of 10 Gb/s.]. and selectively output .Iadd.the fixed rate data or the processed .Iaddend.data at .[.a.]. .Iadd.the fixed .Iaddend.rate .[.of 10 Gb/s.]. responsive to a mode selection control signal; .[.a mode selection module configured to control the multiplexer based on control input from a higher layer device; and.]. .Iadd.wherein the media independent interface module includes .Iaddend.an ordered set generation and detection module .[.in communication with the multiplexer and the mode selection module.]. .Iadd.implemented in one or both of circuitry and software.Iaddend., the ordered set generation and detection module configured to detect ordered sets.[.which.]..Iadd., wherein the ordered sets include (i) ordered sets that .Iaddend.announce .[.a.]. .Iadd.operational .Iaddend.mode .[.change wherein the ordered set generation and detection module is in communication with the mode selection module.]. .Iadd.changes corresponding to changes in data rate and are communicated in-band from the MAC device to the PHY device and from the PHY device to the MAC device, and (ii) ordered sets that acknowledge the operational mode changes and are communicated in-band from the MAC device to the PHY device and from the PHY device to the MAC device.Iaddend..
2. The .[.system.]. .Iadd.rate adaptive interface .Iaddend.of claim .[.1.]. .Iadd.21.Iaddend., wherein the encapsulation/recovery module is further configured to recover encapsulated data thereby changing the data rate from a 10 G data rate to a 1 G data rate.
3. The .[.system.]. .Iadd.rate adaptive interface .Iaddend.of claim .[.1.]. .Iadd.21.Iaddend., wherein the mode selection module adjusts the data rate of operation between .[.10 Mb/s,.]. 100 Mb/s, or 1 Gb/s.
4. The .[.system.]. .Iadd.rate adaptive interface .Iaddend.of claim .[.1.]. .Iadd.21.Iaddend., wherein the encapsulation/recovery module is further configured with an input to receive data at a rate of 10 Gb/s and perform recovery thereon to output the data at a rate of 1 Gb/s.
5. A rate adaptive interface for use in a network device, the interface comprising: .[.A MAC.]. .Iadd.a media access control (MAC) .Iaddend.device configured to output .Iadd.variable rate .Iaddend.data from a first port at a variable first rate and .Iadd.fixed rate data .Iaddend.from a second port at a .Iadd.fixed .Iaddend.second rate; a .[.rate adaptation.]. .Iadd.media independent interface .Iaddend.module.Iadd., implemented in one or both of circuitry and software, and .Iaddend.configured .[.received.]. .Iadd.to (i) receive the variable rate .Iaddend.data from the MAC .Iadd.device .Iaddend.at the variable first rate and .Iadd.(ii) .Iaddend.convert the .Iadd.variable rate .Iaddend.data at the variable first rate to .Iadd.processed .Iaddend.data at .[.the second.]. .Iadd.a fixed third .Iaddend.rate; .Iadd.and.Iaddend. an encapsulation module configured to receive .Iadd.the processed .Iaddend.data at the .[.second.]. .Iadd.fixed third .Iaddend.rate from the rate adaptation module and convert the .Iadd.processed .Iaddend.data at the .[.second.]. .Iadd.fixed third .Iaddend.rate to .Iadd.processed .Iaddend.data at .[.a third.]. .Iadd.the fixed second .Iaddend.rate; a switch configured to interface with the encapsulation module and the MAC device to receive data at .[.a rate of 10 Gb/s.]. .Iadd.the fixed second rate .Iaddend.from either the encapsulation module or from the second port of the MAC device and output .Iadd.the .Iaddend.data at .[.a rate of 10 Gb/s.]. .Iadd.the fixed second rate.Iaddend., the switch controlled by a mode selection control signal; a mode selection module configured to provide the mode selection control signal to the switch to thereby control operation of the switch.Iadd.; an ordered set generation and detection module, implemented in one or both of circuitry and software, and configured to generate and detect ordered sets, wherein the ordered sets include (i) ordered sets that announce operational mode changes corresponding to changes in data rate and are communicated in-band from the MAC device to the PHY device and from the PHY device to the MAC device, and (ii) ordered sets that acknowledge the operational mode changes and are communicated in-band from the MAC device to the PHY device and from the PHY device to the MAC device.Iaddend..
6. The .Iadd.rate adaptive .Iaddend.interface of claim .[.5.]. .Iadd.31.Iaddend., further comprising an extension sublayer configured to receive data at a rate of 10 Gb/s from the switch, wherein the extension sublayer extends the distance which the data at a rate of 10 Gb/s may be transmitted.
7. The .Iadd.rate adaptive .Iaddend.interface of claim .[.5.]. .Iadd.31.Iaddend., .[.further comprising an.]. .Iadd.wherein the .Iaddend.ordered set generation and detection module .Iadd.(i) is .Iaddend.configured .Iadd.to .Iaddend.interface with the switch .[.to detect ordered sets which determine a mode change, wherein the ordered set generation and detection module.]. .Iadd.and (ii) .Iaddend.is in communication with the mode selection module.
8. The .Iadd.rate adaptive .Iaddend.interface of claim .[.5.]. .Iadd.31.Iaddend., wherein the encapsulation module is further configured to recover encapsulated data thereby changing the data rate from a 10 G data rate to a 1 G data rate.
9. The .Iadd.rate adaptive .Iaddend.interface of claim .[.5.]. .Iadd.31.Iaddend., wherein data at the variable first rate comprises data at a rate of .[.10 Mb/s,.]. 100 Mb/s, or 1 Gb/s, .[.and.]. data at the .[.second.]. .Iadd.third .Iaddend.rate comprises data at a rate of 1 Gb/s.Iadd., .Iaddend.and data at the .[.third.]. .Iadd.second .Iaddend.rate comprises data at a rate of 10 Gb/s.
10. The .Iadd.rate adaptive .Iaddend.interface of claim .[.5.]. .Iadd.31.Iaddend., wherein data at the .[.third.]. .Iadd.second .Iaddend.rate has a format that is different than the data at the .[.second.]. .Iadd.third .Iaddend.rate.
11. The .Iadd.rate adaptive .Iaddend.interface of claim .[.5.]. .Iadd.31.Iaddend., wherein the switch comprises a multiplexer.
12. The .Iadd.rate adaptive .Iaddend.interface of claim .[.5.]. .Iadd.31.Iaddend., further comprising .[.a.]. .Iadd.the .Iaddend.PHY .[.Device.]. .Iadd.device, and wherein the PHY device is .Iaddend.configured to receive data at a rate of 10 Gb/s from the switch.
13. The .Iadd.rate adaptive .Iaddend.interface of claim .[.5.]. .Iadd.31.Iaddend., wherein the first port and the second port comprise input/output ports and the switch is configured to receive and transmit data to either of the second port of the MAC device or the encapsulation module.
14. A method for interfacing a multirate .[.MAC.]. .Iadd.media access control (MAC) .Iaddend.device .Iadd.in a network communication device .Iaddend.with a .[.PHY.]. .Iadd.physical layer (PHY) .Iaddend.device in .[.a.]. .Iadd.the .Iaddend.network communication device, the method comprising: outputting .[.unprocessed.]. .Iadd.i) variable rate .Iaddend.data from the multirate MAC device at a variable rate to a .[.rate adaptation.]. .Iadd.media independent interface .Iaddend.module.Iadd., the media independent interface module implemented in one or both of circuitry and software, .Iaddend.or .Iadd.ii) fixed rate data .Iaddend.at a first fixed rate to a multiplexer; processing the data at the .[.rate adaptation.]. .Iadd.media independent interface .Iaddend.module to up-convert the data at .[.a.]. .Iadd.the .Iaddend.variable rate to data at a second fixed rate; processing the data at the second fixed rate with an encapsulation module to generate processed data at the first fixed rate; receiving, at .[.a.]. .Iadd.the .Iaddend.multiplexer, the .[.unprocessed.]. .Iadd.fixed rate .Iaddend.data from the MAC device at the first fixed rate or the processed data at the first fixed rate; receiving, at the multiplexer, a mode selection signal and responsive to the mode selection signal, outputting from the multiplexer the unprocessed data at the first rate or the processed data at the first rate.Iadd.; detecting, with an ordered set generation and detection module of the media independent interface module, ordered sets communicated in-band from the MAC device to the PHY device and from the PHY device to the MAC device, wherein the ordered sets include (i) ordered sets that announce operational mode changes corresponding to changes in data rate, and (ii) ordered sets that acknowledge the operational mode changes.Iaddend..
15. The method of claim .[.14.]. .Iadd.41.Iaddend., wherein the variable rate .[.consists of 10 Mb/s,.]. .Iadd.is selected from a set of rates that includes .Iaddend.100 Mb/s and 1 Gb/s.
16. The method of claim .[.14.]. .Iadd.41.Iaddend., wherein the first fixed rate comprises 10 Gb/s and the second fixed rate comprises 1 Gb/s.
17. The method of claim .[.14.]. .Iadd.41.Iaddend., wherein processing the data at the second fixed rate with an encapsulation module further comprise altering the format of the data.
18. The method of claim .[.14.]. .Iadd.41.Iaddend., further comprising outputting the data from the multiplexer to an extension sublayer, .[.a.]. .Iadd.the .Iaddend.PHY device, or a second multiplexer.
19. The method of claim .[.14.]. .Iadd.41.Iaddend., wherein .[.up-sampling.]. .Iadd.processing the data at the rate adaptation module .Iaddend.comprises padding or repeating data received at the variable rate to create data at .[.a.]. .Iadd.the .Iaddend.second fixed rate.
20. The method of claim .[.14.]. .Iadd.41.Iaddend., further comprising: establishing a mode of operation; receiving data at the first fixed rate at the multiplexer from .[.a.]. .Iadd.the .Iaddend.PHY device, an extension sublayer, or a second multiplexer; responsive to the mode of operation, outputting the data at the first fixed rate to either the MAC device or to a recovery unit; responsive to the outputting the data at the first fixed rate to a recovery unit, converting the data at the first fixed rate to the second fixed rate; converting the data at the second fixed rate to data at a third fixed rate, wherein the data at the third fixed rate is a rate selected from a group of variable rates; outputting the data at the third fixed rate to the MAC device.
.Iadd.21. The rate adaptive interface of claim 1, wherein the media independent interface module includes a rate adaptation module in communication with the MAC device, the rate adaptation module is configured to receive the variable rate data at a rate selected from a set of rates that includes 100 Mb/s and 1 Gb/s and output fixed rate data at a second fixed rate, the first fixed rate is 10 Gb/s, and the media independent interface module further comprises: an encapsulation/recovery module configured to receive the fixed rate data at the second fixed rate from the rate adaptation module, and encapsulate the data at a rate of 1 Gb/s to generated data at a rate of 10 Gb/s, a mode selection module configured to control the multiplexer based on control input from a higher layer device; wherein the ordered set generation and detection module is in communication with the multiplexer and the mode selection module..Iaddend.
.Iadd.22. The rate adaptive interface of claim 1, wherein the first fixed rate is 10 Gb/s..Iaddend.
.Iadd.23. The rate adaptive interface of claim 1, wherein the variable rate is selected from a set of rates that includes 10 Mb/s, 100 Mb/s, 1 Gb/s, and 10 Gb/s..Iaddend.
.Iadd.24. The rate adaptive interface of claim 1, wherein the variable rate is selected from a set of rates that includes 100 Mb/s, 1 Gb/s, and 10 Gb/s..Iaddend.
.Iadd.25. The rate adaptive interface of claim 1, wherein the media independent interface module is configured to repeat data units in the data as part of processing the data to the fixed rate..Iaddend.
.Iadd.26. The rate adaptive interface of claim 25, wherein the media independent interface module is configured to repeat octets in the data..Iaddend.
.Iadd.27. The rate adaptive interface of claim 1, wherein the media independent interface module is configured to perform idle stuffing between data units as part of processing the data to the first fixed rate..Iaddend.
.Iadd.28. The rate adaptive interface of claim 1, wherein the media independent interface module is configured to output the data at the fixed rate via a standardized interface..Iaddend.
.Iadd.29. The rate adaptive interface of claim 28, wherein the standardized interface is the 10-gigabit media independent interface (XGMII)..Iaddend.
.Iadd.30. The rate adaptive interface of claim 28, wherein the media independent interface module further comprises an extension sublayer module configured to: receive data at the first fixed rate via the standardized interface, and serialize data received via the standardized interface into one or more lanes..Iaddend.
.Iadd.31. The rate adaptive interface of claim 30, wherein the extension sublayer module is configured to serialize data received via the standardized interface into a plurality of lanes..Iaddend.
.Iadd.32. The rate adaptive interface of claim 5, wherein the media independent interface module includes: a rate adaptation module configured to (i) receive the variable rate data from the MAC device at the variable first rate and (ii) convert the variable rate data at the variable first rate to the processed data at the fixed third rate..Iaddend.
.Iadd.33. The rate adaptive interface of claim 5, wherein the fixed third rate is 10 Gb/s..Iaddend.
.Iadd.34. The rate adaptive interface of claim 5, wherein the variable first rate is selected from a set of rates that includes 10 Mb/s, 100 Mb/s, 1 Gb/s and 10 Gb/s..Iaddend.
.Iadd.35. The rate adaptive interface of claim 5, wherein the variable first rate is selected from a set of rates that includes 100 Mb/s, 1 Gb/s and 10 Gb/s..Iaddend.
.Iadd.36. The rate adaptive interface of claim 5, wherein the media independent interface module is configured to repeat data units in the data as part of converting the data at the variable first rate to data at the second rate..Iaddend.
.Iadd.37. The rate adaptive interface of claim 36, wherein the media independent interface module is configured to repeat octets in the data..Iaddend.
.Iadd.38. The rate adaptive interface of claim 5, wherein the media independent interface module is configured to perform idle stuffing between data units as part of converting the data at the variable first rate to data at the second rate..Iaddend.
.Iadd.39. The rate adaptive interface of claim 5, wherein the media independent interface module is configured to output the data at the third fixed rate via a standardized interface..Iaddend.
.Iadd.40. The rate adaptive interface of claim 39, wherein the standardized interface is the 10-gigabit media independent interface (XGMII)..Iaddend.
.Iadd.41. The rate adaptive interface of claim 39, wherein the media independent interface module further comprises an extension sublayer module configured to: receive data at the third fixed rate via the standardized interface, and serialize data received via the standardized interface into one or more lanes..Iaddend.
.Iadd.42. The rate adaptive interface of claim 41, wherein the extension sublayer module is configured to serialize data received via the standardized interface into a plurality of lanes..Iaddend.
.Iadd.43. The method of claim 14, further comprising: outputting unprocessed data from the multirate MAC device at the variable rate to a rate adaptation module of the media independent interface module or at the first fixed rate to a multiplexer; processing the data at the rate adaptation module to up-convert the data at the variable rate to data at a second fixed rate; processing the data at the second fixed rate with an encapsulation module to generate processed data at the first fixed rate; receiving, at a multiplexer, the unprocessed data from the MAC device at the first fixed rate or the processed data at the first fixed rate; receiving, at the multiplexer, a mode selection signal and responsive to the mode selection signal, outputting from the multiplexer the unprocessed data at the first fixed rate or the processed data at the first fixed rate..Iaddend.
.Iadd.44. The method of claim 14, wherein the first fixed rate is 10 Gb/s..Iaddend.
.Iadd.45. The method of claim 14, wherein the variable rate is selected from a set of rates that includes 10 Mb/s, 100 Mb/s, 1 Gb/s and 10 Gb/s..Iaddend.
.Iadd.46. The method of claim 14, wherein the variable rate is selected from a set of rates that includes 100 Mb/s, 1 Gb/s and 10 Gb/s..Iaddend.
.Iadd.47. The method of claim 14, wherein processing the data at the media independent interface module includes repeating data units in the data as part of up-converting the data at the variable rate to data at the first fixed rate..Iaddend.
.Iadd.48. The method of claim 47, wherein repeating data units in the data comprises repeating octets in the data..Iaddend.
.Iadd.49. The method of claim 14, wherein processing the data at the media independent interface module includes performing idle stuffing between data units as part of up-converting the data at the variable rate to data at the first fixed rate..Iaddend.
.Iadd.50. The method of claim 14, further comprising outputting data at the first fixed rate via a standardized interface..Iaddend.
.Iadd.51. The method of claim 50, wherein outputting data at the first fixed rate via the standardized interface includes outputting data at the first fixed rate via the 10-gigabit media independent interface (XGMII)..Iaddend.
.Iadd.52. The method of claim 50, further comprising: providing, via the standardized interface, data at the first fixed rate to an extension sublayer module; and serializing, with the extension sublayer module, data at the first fixed rate into one or more lanes..Iaddend.
.Iadd.53. The method of claim 52, wherein serializing data at the first fixed rate comprises serializing data at the first fixed rate into a plurality of lanes..Iaddend.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. In the figures, like reference numerals designate corresponding parts throughout the different views.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION
(10) An example UGMII (Ultra-serial Gigabit Media Independent Interface) Specification as disclosed herein is a proposed specification for a multi-rate 10 G capable MII. Although one example preferred embodiment is described herein, it is contemplated that numerous other embodiments may be enabled based on the teachings provided herein although such embodiments may differ slightly from the exact structure shown.
(11) In the UGMII system described herein the defined signals for GMII may be fully encapsulated without modification, transported across the (extended) XGMII interface and reconstructed at the MAC RX and PHY TX inputs.
(12)
(13) The MAC 130 communicates with the UGMII module 134 via the conductor paths 132 as shown. The conductor paths 132 may comprise 36 parallel lines as shown, or any other type connection. The data exchange format between the MAC 130 and the UGMII module 134 may comprise any of .[.MII.]. .Iadd.GMII.Iaddend., MII or XGMII as shown. XGMII is defined by one or more IEEE standards and as such, is not described in detail herein, but it does suffer from the drawback of not adapting to rates. One such drawback is that it is fixed at 10 Gb/s.
(14) The UGMII module 134 is configured to convert any rate of incoming or outgoing data between the MAC 130 and a PHY 140 to thereby provide a universal intermediate device capable of interfacing multi-rate MAC and PHY modules. In this embodiment, the UGMII module 134 includes 10 gigabit data rate transfer capability. The UGMII module 134 is described below in detail in connection with
(15) The output of the UGMII module 134 .[.connect.]. .Iadd.connects .Iaddend.to a PHY 140. In this embodiment, the PHY (physical layer device) 140 is capable of operation at any data rate, which in this embodiment may be 10 megabits per second (Mb/s), 100 Mb/s, 1 Gigabits per second (Gb/s), or 10 Gb/s. The PHY 140 may comprise any type of device currently in existence, such as defined by one or more IEEE standards, or developed in the future .[.capable of addressing and channel access control.].. PHY 140 configuration and operation is generally understood by one of ordinary skill in the art and as such, is not described in detail herein.
(16) The output of the PHY 140 connects to the channels 144, represented by MDI. MDI channels 144 may comprises a multi-line channel, such as but not limited to CAT 3, CAT 5, CAT 5E, CAT 6, CAT6A, or CAT7. Shown on the left hand side of
(17) In operation, the UGMII system performs numerous different functions. In this example embodiment the first aspect of the invention is mode selection. In this embodiment, mode selection comprises the negotiation between the UGMII extension sublayers located at the MAC and PHY to select between one of several operational modes including: XGMII communication, GMII encapsulation, Clause 22 MDIO register management and Clause 45 MDIO register management. The management aspects of the PHY or MAC set the exact link speed, which may be based on the capability of the channel or hardware. In one embodiment, selection of UGMII and XGMII operating modes, or any other operating mode, are negotiated between the MAC and PHY using ordered sets to announce and acknowledgement a mode change. In one embodiment 802.3 Clause 46 defined ordered sets are utilized. The Clause 22 and 45 define the universal standard set of management registers to give status and control of the physical layer. These clauses defined the address, location, and control data stored therein.
(18) In this example embodiment a device incorporating UGMII system enables the support the following interface modes. XGMII: Operates as defined in IEEE STD 802.3-2005, Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications, December 2005, which is hereby incorporated in its entirety herein; GMII Encapsulation: perform encapsulation and transport of GMII interface signals; Clause 22 management: perform management register read and write operations across the XGMII or extension; and Clause 45 management: perform management register read and write operations across the XGMII or extension.
(19)
(20) The rate adaptation module 214 may also be configured as hardware, software, or a combination of both and be configured to adapt the rate of lower speed data up to a higher rate, such as GMII 1 Gb/s rate. The MII/GMII I/O port 210 connects the MAC 208 to a rate adaptation module 214 which is configured to adapt the variable rate from the MAC 208 to a constant rate of 1 Gb/s. At a rate of 1 Gb/s, the rate adaptation module 214 connects to a GMII encapsulation/recovery module 216. The GMII encapsulation/recovery module 216 up converts data received from the rate adaptation module 214 at 1 Gb/s to a rate of 10 Gb/s, which is in turn provided to a multiplexer 220. GMII data is used to create small packets or frames to be transmitted across the XGMII and may be padded with zeros or other pad data.
(21) Conversely, data received from the multiplexer 220 at a rate of 10 Gb/s is converted to a 1 Gb/s rate by the GMII encapsulation/recover module 216. The multiplexer 220 also receives data without rate conversion from the MAC 208 via the XGMII I/O port as shown. The input and output from the multiplexer 220 on the MAC 208 side occurs over 36 parallel conductors at a rate of 10 Gb/s, but in other embodiments, other rates may be utilized. The path between the rate adaptation module 214 and the GMII encapsulation/recovery module 216 may comprise any type path, but in this embodiment comprises 12 parallel conductors.
(22) Also connecting to the multiplexer 220 on the MAC 208 side is an ordered set generation and detection unit 224 which is configured to communicate with the multiplexer as shown. The ordered set generation and detection unit 224 monitors and/or generates ordered sets from the MAC 208 or the multiplexer 220, or any higher layer. The higher layer may mean any layer in the OSI model or from an application or user input. In one embodiment, the ordered set generation and detection unit 224 both sends and detects received ordered sets.
(23) Orders sets comprise data utilized to control operation of the MAC, PHY, and/or the UGMII module. The ordered sets may be considered as control data that establish the link characteristics and may set the rate of data exchange. In one embodiment, ordered sets are not exchanged during data mode.
(24) The ordered set generation and detection unit 224 also communicates with the mode selection unit 228. The mode selection unit 228 provides a control input to the multiplexer 220 to selectively control which sets of input/output channels to use for communication during operation. For example, if the PHY is set to operate at 10M, 100M, or 1 G, then the mode selection unit 228 will force the multiplexer 220 to use the I/O ports corresponding to the MAC I/O ports 210. Alternatively, if the rate is set at 10 Gb/s then the multiplexer 220 will be forced to utilized the I/O ports associated with the MAC 208 ports 212. In one embodiment, the mode selection unit 228 is configured to report the detection of ordered sets back to the MAC 208, but it could alternatively be done by the ordered set generation/detection unit 224. It is also possible for control data or ordered sets to be exchanged via a status line from the mode selection unit 228 to the MAC 208. In one implementation the MAC 208 would set the MUX 220 by configuring the mode selection unit 228. However, a more complex design could allow the mode selection unit 228 to set the MUX 220 based on mode setting from the MAC 208 and the detection of ordered sets
(25) The multiplexer I/O port 240 operates a 10 Gb/s and may optionally communicate with an optional extension sublayer 244 or directly with a PHY. The optional extension sublayer 244 may be utilized to extend the distances between the MAC 208 and the PHY.
(26)
(27) In this example embodiment another aspect of the invention is data up sampling which is discuss in connection with
(28) Up sampling can be replaced by one of several other means for rate adaptation including idle stuffing between data bytes.
(29) After receipt and at step 412, the operation up samples the octet one time, ten times, or one hundred times for the rates of 1 G, 100M or 10M respectively. For example, to create a data rate of 1 G from a 10M receive rate, up sampling occurs at a rate of 100 times. Up sampling may occur by repeating the received octet or padding with created pad bits. Thereafter, at step 416, the operation passes the up sampled octets to the encapsulation block at a rate of 1 G. As a result, data received at a variable rate is output at a constant rate of 1 G.
(30)
(31) Another aspect of the invention is GMII encapsulation.
(32) GMII is defined in Clause 35 of IEEE STD 802.3-2005, Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications, December 2005, which is incorporated herein in its entirety. In this example embodiment disclosed herein, the MAC transmits to the PHY using data signals TXD<7:0>, transmit enable TX_EN, and transmit error TX_ER. The PHY transmits to the MAC using data signals RXD<7:0>, data valid RX_DV, receive error RX_ER, and carrier sense CRS. In other embodiments different MAC transmit schemes may be utilized. In one embodiment, encapsulation is performed on a block of N GMII transfers (octets) and generates multiple XGMII transfers.
(33) On the transmit side of the MAC N (for N>1) octets of data, TXD(0)<7:0> to TXD(N−1)<7:0>, along with control signals, TX_EN(0:N−1) to TX_ER(0:N−1), are encapsulated within a very short data frame. This frame contains X bytes including the start symbol, /S/, and is at least 8 bytes (the smallest frame supported by the 10GBASE-R PCS). The data frame is followed by an inter-frame gap (IFG) of at least 12 bytes including the terminate symbol, /T/. For N=2, the total encapsulation requires 20 bytes, the equivalent of 2 GMII or 5 XGMII transfers.
(34) Optionally, the remaining bytes in the encapsulation frame may contain management data exchanges that allow for reading and writing of Clause 22 management registers.
(35) At the PHY transmit input, the short frame is received and the N GMII octets are reconstructed (from UGMII rate) along with control signals and presented to the PHY as GMII signals.
(36) In addition, the remaining information within the data frame may be discarded at step 612. During the idle periods, Idle columns, ∥I∥, may be deleted or inserted for clock rate matching purposes as defined in IEEE STD 802.3-2005, Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications, December 2005.
(37) On the receive side of the PHY the GMII rate adaptation and encapsulation operations are performed similar to those performed on the MAC TX path.
(38) At the MAC receive input, the short encapsulation frame is received and the N GMII octets are reconstructed along with control signals and presented to the MAC as GMII signals. Additional information within the frame may be discarded. During the idle periods (interframe gap) Idle columns, ∥I∥, may be deleted or inserted for clock rate matching purposes as defined in IEEE STD 802.3-2005, Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications, December 2005. In one embodiment Clause 45 management may occur across the XGMII.
(39) When placed in Clause 45 management mode UGMII may be configured to allow the MAC/host to access management registers across the XGMII or extension. This mode may use ordered sets or short frames to encapsulate the host management interface (MDIO) between the host and PHY.
(40) The UGMII has many advantages and distinctions over prior art system. On such distinction of the invention is that is enables a multi-rate interface between MAC and PHY for 10 G Ethernet capable PHYs.
(41) In various embodiment this invention enables: Encapsulation and transport of the 10/100/1000 MII/GMII interface across a 10 G interconnect. Operation in full duplex and half duplex modes. Auto-negotiation of operating mode: either XGMII at 10 Gbps or UGMII operating at 10, 100, or 1000 Mbps Use of defined 10 G physical coding sublayers (PCS), which may also be referred to as extension sublayers, without modification. The extension sublayers may be optionally used to extend reach.
(42) Additional advantages of further aspects of the invention are the access to Clause 22 and Clause 45 management registers in the PHY using the same 10 G interface. The separate signals MDC and MDIO, defined by IEEE 802.3, are not required.
(43) One benefit of the invention described herein is the ability to interface a MAC to a 10/100/1000/10 G PHY (or any subset thereof) using a single 2 signal (4-pin) XFI interface, enabling greater port density per MAC IC. The XFI interface is shown in
APPENDIX A SUPPLEMENT
(44) Table of Contents
(45) Introduction—Overview
(46) Functional Specification
(47) Modes of Operation
(48) Data Upsampling
(49) GMII Encapsulation
(50) Clause 22 Management exchanges
(51) Clause 45 Management
(52) UGMII Mode Selection
(53) Electrical Specification
(54) Applicable Documents
(55) Abbreviations
(56) Disclosed herein is a new interface, the Ultra-serial Gigabit Media Independent Interface (UGMII), for the purpose of connecting a PHY operating in 10/100/1000 mode to a 10 G capable MAC using a 10 G defined interface. This interface may be XGMII (74 signals), XAUI (8 signals), or 10GBASE-R/XFI (2 signals).
(57) UGMII is designed to support one or more of the following:
(58) Encapsulation and transport of the 10/100/1000 MII/GMII interface across a 10 G interconnect.
(59) Operation in full duplex and half duplex modes.
(60) Auto-negotiation of operating mode: either XGMII at 10 Gbps or UGMII operating at 10, 100, or 1000 Mbps
(61) Use of defined 10 G physical coding sublayers (PCS) without modification
(62) An additional capability of UGMII may be access to Clause 22 and Clause 45 management registers in the PHY using the same 10 G interface. Thus, in one embodiment MDC and MDIO are not required.
(63) One benefit of UGMII is the ability to interface MAC to a 10/100/1000/10 G PHY (or any subset thereof) using a single 2 signal (4-pin) XFI interface, which in turn enables greater port density per MAC IC.
(64) Overview
(65) UGMII defines a protocol for the transport of the GMII defined by Clause 35 of [1] over any Ethernet 10-gigabit interface. The purpose of UGMII is to allow a 10 G capable MAC to operate with a multi-rate 10 G PHY using minimal interconnect. For the greatest reduction in interconnect, it is expected that UGMII will be used with a 10GBASE-R PCS across an XFI (10 G serial interface) operating at 10.3125 Gbps, thus requiring only 2 differential pair signals on 4 pins.
(66) An example system utilizing UGMII is shown in the figures provided herewith. UGMII is defined at the XGMII (if implemented) such that any defined extension such as XGXS/XAUI (Clause 48 of [1]), or PCS such as 10GBASE-R over XFI may be used as the interface between MAC and PHY.
(67) In UGMII the defined signals for GMII may be fully encapsulated without modification, transported across the (extended) XGMII interface and reconstructed at the MAC RX and PHY TX inputs.
(68) In the example embodiment described herein, selection of UGMII and XGMII operating modes are negotiated between the MAC and PHY using ordered sets to announce and acknowledgement a mode change.
(69) Modes of Operation
(70) A device incorporating UGMII may be configured to support the following interface modes: XGMII: Operates as defined in [1] GMII Encapsulation: perform encapsulation and transport of GMII interface signals Clause 22 management: perform management register read and write operations across the XGMII or extension Clause 45 management: perform management register read and write operations across the XGMII or extension
Data Upsampling
(71) Data encapsulation may be performed on the equivalent implementation of GMII for 10/100/1000 PHYs operating at 125 MHz. For PHYs operating lower than 1000 Mbps data upsampling can be performed prior to encapsulation.
(72) For operation in 100 Mbps mode every octet in a frame can be repeated 10 times. For operation in 10 Mbps mode every octet in a frame can be repeated 100 times.
(73) At the far end of the UGMII, after the GMII is reconstructed, the octects will be downsampled by 10 for 100 Mbps operation or by 100 for 10 Mbps operation.
(74) GMII Encapsulation
(75) GMII is defined in Clause 35 of [1]. The MAC transmits to the PHY using data signals TXD<7:0>, transmit enable TX_EN, and transmit error TX_ER. The PHY transmits to the MAC using data signals RXD<7:0>, data valid RX_DV, receive error RX_ER, and carrier sense CRS.
(76) In this example embodiment, encapsulation is performed on a block of 2 GMII transfers (octets) and generates multiple XGMII transfers.
(77) On the transmit side of the MAC two octets of data, TXD.sub.0<7:0> and TXD.sub.1<7:0>, along with control signals, TX_EN.sub.0-1 and TX_ER.sub.0-1, are encapsulated within a very short data frame. In this embodiment, this frame contains 8 bytes including the start symbol, /S/, and represents the smallest frame supported by the 10GBASE-R PCS. The data frame is followed by the minimum interframe gap (IFG) of 12 bytes including the terminate symbol, /T/. In this embodiment, the total encapsulation requires 20 bytes, the equivalent of 2 GMII or 5 XGMII transfers.
(78) In one example embodiment, the first byte of the frame following /S/ contains the control signal information and can be constructed as: D1<7:0>=0 0 0 0 TX_ER.sub.1 TX_ER.sub.0 TX_EN.sub.1 TX_EN.sub.0. The next two bytes may be configured to carry the data: D2<7:0>=TXD.sub.0<7:0> and D3<7:0>=TXD.sub.1<7:0>. Optionally, the remaining four bytes, D4 to D7, may contain management data exchanges that allow for reading and writing of Clause 22 management registers.
(79) At the PHY transmit input, the short frame is received and the two GMII octets are reconstructed along with control signals and presented to the PHY as GMII signals. Additional information within the frame may be discarded. During the idle periods Idle columns, ∥I∥, may be deleted or inserted for clock rate matching purposes.
(80) On the receive side of the PHY the process may be similar to the MAC TX encapsulation. Thus, two octets of data, RXD.sub.0<7:0> and RXD.sub.1<7:0>, along with control signals, RX_DV.sub.0-1 and RX_ER.sub.0-1, may be encapsulated within an 8-byte data frame. A minimum interframe gap follows the data frame.
(81) In this example embodiment, the first byte of the frame following /S/ contains the control signal information and is constructed as: D1<7:0>=0 0 0 0 RX_ER.sub.1 RX_ER.sub.0 RX_DV.sub.1 RX_DV.sub.0. The next two bytes may carry the data: D2<7:0>=RXD.sub.0<7:0> and D3<7:0>=RXD.sub.1<7:0>. Optionally, the remaining four bytes, D4 to D7, may contain management data exchanges that allow for reading and writing of Clause 22 management registers.
(82) At the MAC receive input, the short frame is received and the two GMII octets are reconstructed along with control signals and presented to the MAC as GMII signals. Additional information within the frame may be discarded. During the idle periods, Idle columns, ∥I∥, ma be deleted or inserted for clock rate matching purposes.
(83) Table 1, which follows, illustrates one example encapsulation process.
(84) TABLE-US-00001 TABLE 1 Encapsulation of GMII XGMII group Byte 0 Byte 1 Byte 2 Byte 3 0 /S/ D1 D2 D3 1 D4 D5 D6 D7 2 /T/ /I/ /I/ /I/ 3 /I/ /I/ /I/ /I/ 4 /I/ /I/ /I/ /I/
Clause 22 Management Exchanges
(85) It is further contemplated that the MAC/host may access Clause 22 management register through exchanges with the PHY using the last 4 bytes (or other bytes) of the GMII encapsulation frame. In other embodiments, Clause 22 Management Exchanges may occur in a different manner.
(86) Clause 45 Management
(87) It is further contemplated that when placed in Clause 45 management mode UGMII may allow the MAC/host to access management registers across the XGMII or extension.
(88) In addition, various embodiments may use ordered sets or short frames as above. One potential downside to this arrangement is an inability to access management registers if UGMII is not operating or has a fault. It is contemplated that the UGMII system may be configured to access management registers even during data transmission.
(89) UGMII Mode Selection
(90) In the embodiment disclosed herein, the MAC selects UGMII modes of operation by sending ordered sets across XGMII or its extension.
(91) To place the PHY in any (any particular) mode, the MAC may send an ordered set of /Q/ D1 D2 D3 with D1=96, D2=0 and .[.D1.]. .Iadd.D3 .Iaddend.set according to Table 2. When .[.they.]. .Iadd.the .Iaddend.PHY receives one of these ordered sets, it replies with the same ordered set, but sets D2=D3 as an acknowledgement. Upon acknowledgement the MAC stops sending the ordered sets. After detecting the absence of the ordered set from the MAC, the PHY may be configured to stop sending ordered sets and begins operating in the new mode. The MAC then begins operation in the new mode and may begin transmitting data.
(92) TABLE-US-00002 TABLE 2 Ordered Sets for UGMII Mode Change UGMII Mode D0 D1 D2 D3 XGMII /Q/ 96 0/AA AA GMII /Q/ 96 0/55 55 Encapsulation Clause 45 /Q/ 96 0/66 66 Management
(93) The following documents are incorporated by reference in their entirety herein.
(94) IEEE STD 802.3-2005, Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications, December 2005. This reference is hereby incorporated by referenced in its entirety.
(95) IEEE Standard 802.3an-2006, Amendment 1: Physical Layer and Management Parameters for 10 Gb/s Operation—Type 10GBASET. This reference is hereby incorporated by referenced in its entirety.
(96) The following abbreviations are used herein and defined as set forth below. GMII Gigabit Media Independent Interface: IEEE defined interface between the 1 G PHY and the MAC MDIO Management Data Input/Output Interface MII Media Independent Interface: IEEE defined interface between the 10/100 PHY and the MAC. MMD MDIO Manageable Device RS Reconciliation Sublayer XAUI Ten Gigabit Attachment Unit Interface XGMII Ten Gigabit Media Independent Interface UGMII Refers to the encapsulation of GMII over a 10 G link proposed in this document
(97) While various embodiments of the invention have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible that are within the scope of this invention. In addition, the various features, elements, and embodiments described herein may be claimed or combined in any combination or arrangement.