Power saving in a network device
A controller determines a time period corresponding to a medium access control (MAC) layer circuitry outputting data that corresponds to idle symbols, the data output by the MAC layer circuitry for transmission via a communication link. In response to determining the time period, at least some circuitry of the PHY circuitry goes into a low power mode during the time period, and the PHY circuitry outputs signals corresponding to the idle symbols, the signals for transmission via the communication link.
1 . A network device, comprising:
medium access control (MAC) layer circuitry configured to i) perform MAC layer actions defined by a communication protocol, ii) output MAC layer data for transmission via a network link, and iii) output idle symbols when no packet data are output by the MAC layer circuitry;
a controller configured to generate an indicator that first idle symbols are output by the MAC layer circuitry for a time period; and
physical layer (PHY) circuitry communicatively coupled to the network link, the PHY circuitry configured to: i) receive the MAC layer data and the idle symbols from the MAC layer circuitry, and ii) output signals corresponding to the MAC layer data and the idle symbols, wherein the PHY circuitry is further configured to:
when the first idle symbols are output by the MAC layer circuitry during the time period, i) put some circuitry of the PHY circuitry in a low power mode during the time period, and ii) control the PHY circuitry to output signals corresponding to the first idle symbols during the time period;
the PHY circuitry comprising a forward error correction (FEC) encoder configured to, when the first idle symbols are output by the MAC layer circuitry during the time period, i) put some circuitry of the FEC encoder in the low power mode during the time period, and ii) output one or more data units corresponding to the first idle symbols.
2 . The network device of claim 1 , wherein:
the FEC encoder includes parity information calculation circuitry; and
the FEC encoder is configured to put the parity information calculation circuitry into the low power mode during the time period.
3 . The network device of claim 1 , wherein the PHY circuitry further comprises:
a serializer/deserializer (SERDES), the SERDES configured to, in connection with the MAC layer circuitry outputting the first idle symbols during the time period, i) put some circuitry of the SERDES into a low power mode during the time period, and ii) generate one or more serial signals corresponding to the first idle symbols.
4 . The network device of claim 3 , wherein:
the SERDES includes a plurality of serial output generators coupled to respective lanes of a communication link; and
the SERDES configured to, when the first idle symbols are output by the MAC layer circuitry during the time period, put a subset of the serial output generators in the low power mode during the time period.
5 . The network device of claim 1 , wherein:
the controller is included in the MAC circuitry.
6 . The network device of claim 1 , wherein:
the PHY circuitry is first PHY circuitry configured to output first signals corresponding to the MAC layer data and the idle symbols; and
the network device further comprises second PHY circuitry coupled to the first PHY circuitry via a communication link;
the second PHY circuitry communicatively couples the first PHY circuitry to the network link; and
the second PHY circuitry is configured to: when the first idle symbols are output by the MAC layer circuitry during the time period, i) put some circuitry of the second PHY circuitry in a low power mode during the time period, and ii) control the second PHY circuitry to output signals corresponding to the first idle symbols during the time period.
7 . A network device, comprising:
medium access control (MAC) layer circuitry configured to i) perform MAC layer actions defined by a communication protocol, ii) output MAC layer data for transmission via a network link, and iii) output idle symbols when no packet data are output by the MAC later circuitry,
a controller configured to generate an indicator that first idle symbols are output by the MAC layer circuitry for a time period; and
physical layer (PHY) circuitry communicatively coupled to the network link, the PHY circuitry configured to: i) receive the MAC layer data and the idle symbols from the MAC layer circuitry, and ii) output signals corresponding to the MAC layer data and the idle symbols, wherein the PHY circuitry is further configured to:
when the first idle symbols are output by the MAC layer circuitry during the time period, i) put some circuitry of the PHY circuitry in a low power mode during the time period, and ii) control the PHY circuitry to output signals corresponding to the first idle symbols during the time period;
the PHY circuitry comprising forward error correction (FEC) encoder circuitry that is configured to generate FEC data units for transmission via the network link; and
the PHY circuitry is further configured to mark one or more FEC data units corresponding to the time period to indicate that the one or more FEC data units include non-packet data.
8 . The network device of claim 7 , wherein:
the FEC encoder circuitry includes marking circuitry that is configured to mark one or more respective sections of the one or more FEC data units that correspond to a position of a payload in an FEC codeword.
9 . The network device of claim 7 , wherein:
the FEC encoder circuitry includes marking circuitry that is configured to mark one or more respective sections of the one or more FEC data units that correspond to a position of a parity portion in an FEC codeword.
10 . The network device of claim 7 , wherein:
the PHY circuitry is first PHY circuitry configured to output first signals corresponding to the MAC layer data and the idle symbols; and
the network device further comprises second PHY circuitry coupled to the first PHY circuitry via a communication link;
the second PHY circuitry communicatively couples the first PHY circuitry to the network link; and
the second PHY circuitry is configured to: i) detect the marking of the one or more FEC data units corresponding to the time period by the first PHY circuitry, and ii) in response to detecting the marking, a) put some circuitry of the second PHY circuitry in a low power mode during the time period, and b) control the second PHY circuitry to output signals corresponding to the idle symbols during the time period.
11 . A method for saving power in a communication network, the method comprising:
determining, at a controller, a time period corresponding to a medium access control (MAC) layer circuitry outputting data that corresponds to idle symbols, the data output by the MAC layer circuitry for transmission via a communication link; and
in response to determining the time period,
putting at least some circuitry of physical layer (PHY) circuitry into a low power mode during the time period, including putting a subset of circuitry of forward error correction (FEC) encoder circuitry into the low power mode during the time period, the FEC encoder circuitry being coupled to the MAC layer circuitry,
outputting, by the FEC encoder circuitry, one or more FEC data units that include data corresponding to the idle symbols, and
outputting, by the PHY circuitry, signals corresponding to the idle symbols, the signals for transmission via the communication link.
12 . The method of claim 11 , wherein putting the subset of circuitry of the FEC encoder circuitry into the low power mode during the time period comprises:
putting parity information generation circuitry into the low power mode during the time period.
13 . The method of claim 11 , wherein putting the at least some circuitry of the PHY circuitry into the low power mode during the time period further comprises:
putting a subset of circuitry of a serializer/deserializer (SERDES) into the low power mode during the time period, the SERDES being coupled to the MAC layer circuitry;
wherein the method further comprises: outputting by the SERDES one or more serial signals that include data corresponding to the idle symbols.
14 . The method of claim 13 , wherein:
the SERDES includes a plurality of serial output generators coupled to respective lanes of a communication link; and
putting the subset of circuitry of the SERDES into the low power mode during the time period, comprises putting a subset of the serial signal generators in the low power mode.
15 . The method of claim 11 , wherein putting the at least some circuitry of the PHY circuitry into the low power mode during the time period further comprises:
putting digital signal processing circuitry into the low power mode during the time period.
16 . A method for saving power in a communication network, the method comprising:
determining, at a controller, a time period corresponding to a medium access control (MAC) layer circuitry outputting data that corresponds to idle symbols, the data output by the MAC layer circuitry for transmission via a communication link, and
in response to determining the time period,
putting at least some circuitry of physical layer (PHY) circuitry into a low power mode during the time period, the PHY circuitry including forward error correction (FEC) encoder circuitry that generates FEC data units for transmission via the communication link,
marking, by the PHY circuitry, one or more FEC data units corresponding to the time period to indicate that the one or more FEC data units include non-packet data, and
outputting, by the PHY circuitry, signals corresponding to the idle symbols, the signals for transmission via the communication link.
17 . The method of claim 16 , wherein marking the one or more FEC data units comprises:
marking, by the PHY circuitry, one or more respective sections of the one or more FEC data units that correspond to a position of a payload in an FEC codeword.
18 . The method of claim 16 , wherein marking the one or more FEC data units comprises:
marking, by the PHY circuitry, one or more respective sections of the one or more FEC data units that correspond to a position of a payload portion in an FEC codeword.
19 . The method of claim 16 , wherein:
the PHY circuitry is first PHY circuitry configured to output first signals corresponding to the MAC layer data and the idle symbols;
the method further comprises: i) detecting, by second PHY circuitry that communicatively couples the first PHY circuitry to a network link, the marking of the one or more FEC data units corresponding to the time period by the first PHY circuitry, and ii) in response to detecting the marking:
a) putting at least some circuitry of the second PHY circuitry in a low power mode during the time period, and
b) controlling the second PHY circuitry to output signals corresponding to the idle symbols during the time period.