i40e: implement anti-spoofing for VFs
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 20 May 2014 08:01:40 +0000 (08:01 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Jun 2014 06:52:33 +0000 (23:52 -0700)
commitc674d1250bfc04bae9fdbd71883713d29ad9f5d7
tree05380f8f16b77b39b909ba1f8b4c3df4d80b221a
parentfdfe9cbe0f002af8fa94c04639d2f224be9847d5
i40e: implement anti-spoofing for VFs

Our hardware supports VF antispoofing for both MAC addresses and VLANs.
Enable this feature by default for all VFs and implement the netdev op
to control it from the command line.

Change-ID: Ifb941da22785848aa3aba6b2231be135b8ea8f31
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h