Skip to contentSkip to conversation

mlx4: Unicast Loopback support

PATCH Or Gerlitz 1 participant 1 message Feb 16, 2010 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Or Gerlitz

author
#1 lore raw
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.