diff options
author | Emil Tantilov <[email protected]> | 2016-03-18 16:11:14 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-04-24 17:54:22 -0700 |
commit | 77f192af721440a9d91365438be6ecb98edd0310 (patch) | |
tree | 5df9b6f75eb4d5807b062ec0b9ef3c768da843e3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 10d3be569243def8d92ac3722395ef5a59c504e6 (diff) |
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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions