]> git.baikalelectronics.ru Git - kernel.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)
commit7e807fe620b066a63875a0d985c029aaf94e97dc
treee72b069b7c51b991e5faddcc66ccf5db5244c814
parenta25d131953575cb5d4410eddb35317a48fa51546
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