[Intel-wired-lan] [PATCH 0/2] ixgbe spoof checking refactor

Emil Tantilov emil.s.tantilov at intel.com
Fri Mar 18 23:11:08 UTC 2016


The following series changes the way we configure spoofing for ixgbe
when in SRIOV mode. 

With these changes spoof checking is unconditionally controlled via the
spoofchk option of the ip tool. Before we had MAC and Ethertype spoofing 
enabled by default. VLAN spoofing was only enabled if the VF had VLANs 
configured and Ethertype was always enabled and could not be disabled by 
the user.

In addition to making the spoof checking more consistent these patches
also fix some bugs where VLAN spoofing was not being set correctly or
could not be disabled in certain cases.

---

Emil Tantilov (2):
      ixgbe: consolidate the configuration of spoof checking
      ixgbe: set vlan spoof checking unconditionally


 drivers/net/ethernet/intel/ixgbe/ixgbe.h        |    3 -
 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c |   40 ++++----------
 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h |    2 -
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c   |   30 +----------
 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c  |   65 ++++++++++-------------
 5 files changed, 43 insertions(+), 97 deletions(-)

--


More information about the Intel-wired-lan mailing list