]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix deletion of MAC filters
authorLihong Yang <lihong.yang@intel.com>
Wed, 21 Nov 2018 17:15:37 +0000 (09:15 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 28 Nov 2018 16:27:47 +0000 (08:27 -0800)
commit7ef752d5c7e94100efc39d81e16c00d2acf5c118
tree023ec31c5ced4c0bb70d8da5a8bae3e4f11e18d4
parent5fdccd2f68d7ef23279b90b4962b2195fb52a761
i40e: Fix deletion of MAC filters

In __i40e_del_filter function, the flag __I40E_MACVLAN_SYNC_PENDING for
the PF state is wrongly set for the VSI. Deleting any of the MAC filters
has caused the incorrect syncing for the PF. Fix it by setting this state
flag to the intended PF.

CC: stable <stable@vger.kernel.org>
Signed-off-by: Lihong Yang <lihong.yang@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c