barefootnetworks / Open-Tofino

Other
314 stars 66 forks source link

Recirculating a packet to multiple pipeline #23

Closed drobinkent closed 2 years ago

drobinkent commented 2 years ago

Assume a tofino switch with n pieplines. If we recirculate a packet from a pipeline is it possible to send that recirculated packet to every pipeline?

vgurevich commented 2 years ago

@drobinkent -- recirculation in TNA is the same as sending a packet to a port that is in the loopback.

If you want to recirculate a packet so that the recirculated copy goes to each and every pipeline (i.e. you want to produce n copies of the packet) you can easily do that by sending a packet to a multicast group instead of a single unicast port.

Please, direct your further questions to the appropriate Intel support forums: