]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42b2ed16d323f036aa00485a1634408799ea0518
tree05380f8f16b77b39b909ba1f8b4c3df4d80b221a
parent02834416f6dab0d167d19bf676e43da7a5572c97
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