diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2016-03-19 02:11:14 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-04-25 03:54:22 +0300 |
commit | 77f192af721440a9d91365438be6ecb98edd0310 (patch) | |
tree | 5df9b6f75eb4d5807b062ec0b9ef3c768da843e3 /drivers/memstick | |
parent | 10d3be569243def8d92ac3722395ef5a59c504e6 (diff) | |
download | linux-77f192af721440a9d91365438be6ecb98edd0310.tar.xz |
ixgbe: consolidate the configuration of spoof checking
Consolidate the logic behind configuring spoof checking:
Move the setting of the MAC, VLAN and Ethertype spoof checking into
ixgbe_ndo_set_vf_spoofchk().
Change ixgbe_set_mac_anti_spoofing() to set MAC spoofing per VF similar
to the VLAN and Ethertype functions - this allows us to call the helper
functions in ixgbe_ndo_set_vf_spoofchk() for all spoof check types and
only disable MAC spoof checking when creating MACVLAN.
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions