Skip to content

Commit

Permalink
igb: Add support for VLAN promiscuous with SR-IOV and NTUPLE
Browse files Browse the repository at this point in the history
This change fixes things so that we can fully support SR-IOV or the
recently added NTUPLE filtering while allowing support for VLAN promiscuous
mode.  By making this change we are able to support possible scenarios such
as SR-IOV with the PF connected to a Linux bridge hosting other VMs.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
  • Loading branch information
Alexander Duyck authored and Jeff Kirsher committed Feb 16, 2016
1 parent a15d925 commit 16903ca
Show file tree
Hide file tree
Showing 2 changed files with 242 additions and 72 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/intel/igb/igb.h
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ struct igb_adapter {
#define IGB_FLAG_MAS_ENABLE (1 << 12)
#define IGB_FLAG_HAS_MSIX (1 << 13)
#define IGB_FLAG_EEE (1 << 14)
#define IGB_FLAG_VLAN_PROMISC BIT(15)

/* Media Auto Sense */
#define IGB_MAS_ENABLE_0 0X0001
Expand Down
Loading

0 comments on commit 16903ca

Please sign in to comment.