主权项 |
1. A method of sending data to a switch fabric, comprising:
assigning a destination port of an output module to a data packet based on at least one field in a first header of the data packet; selecting a module associated with a first stage of the switch fabric based on at least one field in the first header; appending a second header to the data packet, the second header including an identifier associated with the destination port of the output module; and sending the data packet to the module associated with the first stage, the module associated with the first stage configured to send the data packet to a module associated with a second stage of the switch fabric based on the second header, wherein the data packet is a first data packet, the output module is a first output module, the module associated with the first stage is a first module associated with the first stage, and the module associated with the second stage is a first module associated with the second stage, the method further comprising: assigning a destination port of a second output module to a second data packet based on at least one field in a first header of the second data packet; selecting a second module associated with the first stage of the switch fabric based on at least one of the fields in the first header of the second data packet; appending a second header to the second data packet, the second header of the second data packet including an identifier associated with the destination port of the second output module; and sending the second data packet to the second module associated with the first stage, the second module associated with the first stage configured to send the second data packet to a second module associated with the second stage of the switch fabric based on the second header of the second data packet. |