I am trying to run a bridge inside a VM and would like the VF interface to be in promiscuous mode so that it can receive packets for any unicast MAC address. I am currently unable to get this to work and have found some interesting threads about promiscuous mode not working in a VF. Mainly these:
However this thread talks about setting all ones in the UTA in order to enable promiscuous mode:
So some questions - is this supported? Seems there is a bit of conflicting information out there. Even if not by the published driver, is it supported by the hardware? The driver companion guide doesn't really have enough information about how to make this work or explain why or where the all 1s thing would work. I have tried and have not been able to get it to work. I'd be curious to understand what the performance implication is.
I have the ability to peek/poke registers and manipulate the driver if need be. I can upgrade if need be but I've looked at the differences in the drivers around this area and can't see anything different enough to warrant upgrading.
By the way, I meant to put the driver versions in that I'm using now but I'm not sure how much it matters.
(dock)root@localhost:~# ethtool -i net0
(dock)root@localhost:~# uname -a
Linux localhost 3.14.51-grsec-dock # 1 SMP Tue Feb 23 03:12:31 PST 2016 x86_64 GNU/Linux
And in the VF:
root@sp-ub1404-s:~# ethtool -i eth0
VF promiscuous mode is not supported in Intel 82599. This is a hardware limitation.
Similar mail thread is there in the link http://dev.dpdk.org/ml/archives/dev/2016-March/035775.html [dpdk-dev] Reg: promiscuous mode on VF
You can get more idea on visiting the link.
Thanks for the info - never heard back from the link didn't work directly but was able to search and find it. I looks like the thread ended with Greg suggesting a somewhat complicated workaround - did you ever get that to work or give up and move on?
Also, did you ever try out the X710 or XL710 to verify that the functionality you were asking for is really there? It wasn't clear that desire to have it in promiscuous mode for only a single VLAN would be there or it would be for all VLANs?