| CPC H04L 45/38 (2013.01) [G06T 1/20 (2013.01); H04L 45/34 (2013.01)] | 15 Claims |

|
8. A network device comprising:
a processor; and
a memory including instructions that, when executed with the processor, cause the network device to, at least:
for a packet transmitted by a graphical processing unit (GPU) of a host machine and received by a network device,
obtain a flow information associated with the packet;
compute based on the flow information, an outgoing port-link of the network device in accordance with a hashing algorithm, wherein the network device is configured to direct all packets received on a particular incoming port-link of the network device to be transmitted on a same outgoing port-link of a plurality of outgoing port-links of the network device;
verify a condition associated with the outgoing port-link of the network device;
responsive to the condition being satisfied, forward the packet on the outgoing port-link of the network device; and
responsive to the condition being unsatisfied
execute an equal cost multi-path algorithm to obtain a new outgoing port- link of the network device based on the flow information; and
forward the packet on the new outgoing port-link of the network device.
|