Thanks Thomas, unfortunately these patches are only valid a pf*. This is also evident from the ixgbe pmd code which is the only one looking at this bit (lpbk_mode). The ixgbevf functions are agnostic to this capability.
* http://www.intel.com/content/dam/doc/design-guide/82599-sr-iov-driver-companion-guide.pdf On Tue, Oct 21, 2014 at 6:32 PM, Thomas Monjalon <thomas.monjalon at 6wind.com> wrote: > 2014-10-20 19:24, Alex Markuze: > > I'm trying to send packets from an application to it self, meaning smac > == > > dmac. > > I'm working with intel 82599 virtual function. But it seems that these > > packets are lost. > > > > Is there a software/hw limitation I'm missing here (some additional > > anti-spoofing)? AFAIK modern NICs with sriov are mini switches so the hw > > loopback should work, at least thats the theory. > > I think you should look at these commits: > > ixgbe: add Tx->Rx loopback mode for 82599 > http://dpdk.org/browse/dpdk/commit/?id=db035925617 > app/testpmd: add loopback topology > http://dpdk.org/browse/dpdk/commit/?id=3e2006d6186 > > -- > Thomas >