]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: clear mac filter count on reset
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 11 Oct 2016 22:26:55 +0000 (15:26 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 31 Oct 2016 21:26:40 +0000 (14:26 -0700)
commitd0a28e946e814d723471e63a97e29d4f80d7b2e6
treecc0b27b6666fad16ad4540fcd6486cc00fa772ae
parent9298e183f23b4a39c0e87190f0da571a6121929f
i40e: clear mac filter count on reset

When a VF is reset, it gets a new VSI, so all of its MAC filters go
away. Correctly set the number of filters to 0 when freeing VF
resources. This corrects a problem with failure to add filters when the
VF driver is reloaded.

Change-ID: I2acbecf734287b67473bb225293e14b5096acbef
Signed-off-by: Mitch Williams <mitch.a.williams@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_virtchnl_pf.c