]> asedeno.scripts.mit.edu Git - linux.git/commit
ixgbe: clean macvlan MAC filter table on VF reset
authorEmil Tantilov <emil.s.tantilov@intel.com>
Tue, 28 Mar 2017 18:27:54 +0000 (11:27 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 30 Apr 2017 03:01:03 +0000 (20:01 -0700)
commite251ecf75226d5ff772df1ef170b8b981308dc68
treee72b069b7c51b991e5faddcc66ccf5db5244c814
parent7379f97a4fce3c1aa3b80a85cb8440453bf30411
ixgbe: clean macvlan MAC filter table on VF reset

Flush the macvlan filters on VF reset to avoid conflict with other VFs that
may end up using the same MAC address.

The main change here is the call to ixgbe_set_vf_macvlan() with index 0.

Moved ixgbe_set_vf_macvlan() in front of ixgbe_vf_reset_event() to avoid
adding a prototype.

Reported-by: Sritej Kanakadandi Sritej Rama <skanakad@cisco.com>
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>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c