]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 16 Jun 2017 06:01:24 +0000 (23:01 -0700)
commitfa47f09806c5ad092a80f176ed691e3ff910310f
tree853dc75c1736d8eb7cee60faa87830908fc9b776
parentf384a1ec794eaa5107fb18bf82a42d3e27987eaa
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>
Orabug: 26242766
(cherry picked from commit e251ecf75226d5ff772df1ef170b8b981308dc68)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Ethan Zhao <ethan.zhao@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c