Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4864 Discussions

82599 VF in promiscuous mode

KHoll1
Beginner
3,665 Views

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.

0 Kudos
4 Replies
KHoll1
Beginner
1,710 Views

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

driver: ixgbe

version: 3.19.1-k

firmware-version: 0x800004e3

bus-info: 0000:81:00.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: no

(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

(dock)root@localhost:~#

And in the VF:

root@sp-ub1404-s:~# ethtool -i eth0

driver: ixgbevf

version: 2.12.1-k

firmware-version:

bus-info: 0000:00:04.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: no

supports-register-dump: yes

supports-priv-flags: no

root@sp-ub1404-s:~#

0 Kudos
st4
New Contributor III
1,710 Views

Hi Holleman,

Let me verify this.

rgds,

wb

0 Kudos
BPaul1
Beginner
1,710 Views

Hi Holleman,

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,

Bharath Paulraj

KHoll1
Beginner
1,710 Views

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?

0 Kudos
Reply