Methods and systems for using shared logic at network devices
View Patent ↗Methods and systems for network devices is provided. In one aspect, a network device includes a plurality of ports, where the plurality of ports are configured to operate in a first operating mode as a single port at a first speed and in a second operating mode where each of the plurality of ports operate as an independent port at a second operating speed; a shared memory device for staging information received from a network for the plurality of ports operating in the first operating mode and the second operating mode; a receive port selector that selects information from the shared memory device when the plurality of ports are operating in the second operating mode; and a shared error correction code module for decoding and performing error correction on information received via the network for the first operating mode and the second operating mode.
1. A network device, comprising:
a plurality of ports for connecting the network device to a network via a plurality of links, where the plurality of ports are configured to operate in a first operating mode as a single port operating at a first operating speed and in a second operating mode where each of the plurality of ports operate as an independent port connected to the network via one of the plurality of links at a second operating speed;
a shared memory device for staging information received from the network for the plurality of ports operating in the first operating mode and the second operating mode;
a receive port selector that selects information from the shared memory device when the plurality of ports are operating in the second operating mode; and
a shared error correction code module for decoding and performing error correction on information received via the network for the first operating mode and the second operating mode;
wherein the shared error correction module includes a shared decoder that operates using at least two different clocks, where for the first operating mode, a clock is obtained from information received from the network and for the second operating mode, a default system clock is used to decode received information.
2. The network device of claim 1 , wherein the error correction module includes a shared Reed-Solomon decoder.
3. The network device of claim 1 , wherein in the first operating mode, the plurality of ports operate at a combined rate of 128 gigabits per second.
4. The network device of claim 1 , wherein in the second operating mode, each of the plurality of ports operate at a rate of 32 gigabits per second.
5. The network device of claim 1 , wherein the plurality ports are configured to operate as Fibre Channel ports.
6. The network device of claim 1 , wherein the plurality of ports are configured to operate as Fibre Channel over Ethernet ports.
7. The network device of claim 1 , further comprising: a lane reordering module that reorders information when the plurality of ports are operating in the first operating mode and information is received at different ports.
8. A machine implemented method, comprising:
configuring a plurality of ports of a network device to operate in a first operating mode or a second operating mode for connecting the network device to a network via a plurality of links, where in the first operating mode the plurality of ports are configured as a single port operating at a first operating speed and in the second operating mode, each of the plurality of ports operate as an independent port at a second operating speed;
staging information received from the network for the plurality of ports operating in the first operating mode and the second operating mode at a shared memory device;
selecting by a receive port selector information from the shared memory device when the plurality of ports are operating in the second operating mode; and
decoding by a shared error correction code module and performing error correction on information received via the network for the first operating mode and the second operating mode;
wherein the shared error correction module includes operates using at least two different clocks, where for the first operating mode, a clock is obtained from information received from the network and for the second operating mode, a default system clock is used for decoding.
9. The method of claim 8 , wherein the shared error correction module includes a shared Reed-Solomon decoder.
10. The method of claim 8 , wherein in the first mode, the plurality of ports operate at a combined rate of 128 gigabits per second.
11. The method of claim 8 , wherein in the second mode, each of the plurality of ports operate at a rate of 32 gigabits per second.
12. The method of claim 8 , wherein the plurality ports are configured to operate as Fibre Channel ports.
13. The method of claim 8 , wherein the plurality of ports are configured to operate as Fibre Channel over Ethernet ports.
14. The method of claim 8 , wherein a lane reordering module reorders information when the plurality of ports are operating in the first operating mode and information is received at different ports.
15. A non-transitory, machine readable storage medium having stored thereon instructions for performing a method, comprising machine executable code which when executed by at least one machine, causes the machine to:
configure a plurality of ports of a network device to operate in a first operating mode or a second operating mode for connecting the network device to a network via a plurality of links, where in the first operating mode the plurality of ports are configured as a single port operating at a first operating speed and in the second operating mode, each of the plurality of ports operate as an independent port at a second operating speed;
stage information received from the network for the plurality of ports operating in the first operating mode and the second operating mode at a shared memory device;
select by a receive port selector information from the shared memory device when the plurality of ports are operating in the second operating mode; and
decode by a shared error correction code module and performing error correction on information received via the network for the first operating mode and the second operating mode;
wherein the shared error correction module uses at least two different clocks, where for the first operating mode, a clock is obtained from information received from the network and for the second operating mode, a default system clock is used to decode.
16. The storage medium of claim 15 , wherein the shared error correction module includes a shared Reed-Solomon decoder.
17. The storage of claim 15 , wherein in the first mode, the plurality of ports operate at a combined rate of 128 gigabits per second.
18. The storage medium of claim 15 , wherein in the second mode, each of the plurality of ports operate at a rate of 32 gigabits per second.
19. The storage medium of claim 15 , wherein the plurality ports are configured to operate as Fibre Channel ports or as Fibre Channel over Ethernet ports.
20. The storage medium of claim 15 , wherein a lane reordering module reorders information when the plurality of ports are operating in the first operating mode and information is received at different ports.