mlx4: Unicast Loopback support
Subsystems (2)
Quoted 5 lines · Yevgeny Petrilin
Quoted 1 line · Or Gerlitz [[email protected]] wrote:
I wasn't sure what is the use case here, isn't loopback handled by higher levels at the network stack?
The use case is two VMs using the same physical adapter.
I am still not with you: are you referring to the case where each VM is being served by a
different VF? in that case, the VF driver (mlx4_en) has no way to know its a "loopback" packet,
and switching between VFs can be programmed to the PF by the PF driver (modified mlx4_core).
If you are talking to the case both VMs are being served by the same PCI function --> same NIC
then again, loopback is handled in higher level.
Is there a 3rd use case?
Or.