diff options
author | Alexander Duyck <aduyck@mirantis.com> | 2015-11-02 17:10:13 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-12-12 01:49:25 -0800 |
commit | 16369564915a9777217244678ee6160f8f1acac7 (patch) | |
tree | 63a8509e1cd0a6801f018c62c39c17403037d907 /block | |
parent | c2bc9ce91c31cc214667b9e1a150cd3000856c1c (diff) | |
download | talos-obmc-linux-16369564915a9777217244678ee6160f8f1acac7.tar.gz talos-obmc-linux-16369564915a9777217244678ee6160f8f1acac7.zip |
ixgbe: Add support for VLAN promiscuous with SR-IOV
This patch adds support for VLAN promiscuous with SR-IOV enabled.
The code prior to this patch was only adding the PF to VLANs that the VF
had added. As such enabling promiscuous mode would actually not add any
additional VLAN filters so visibility was limited. This lead to a number
of issues as the bridge and OVS would expect us to accept all VLAN tagged
packets when promiscuous mode was enabled, and instead we would filter out
most if not all depending on the configuration of the PF.
With this patch what we do is set all the bits in the VFTA and all of the
VLVF bits associated with the pool belonging to the PF. By doing this the
PF is guaranteed to receive all VLAN tagged traffic associated with the RAR
filters assigned to the PF. In addition we will clean up those same bits
in the event of promiscuous mode being disabled.
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions