diff options
author | Akeem G Abodunrin <akeem.g.abodunrin@intel.com> | 2021-06-04 09:53:27 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-11-15 15:40:04 -0800 |
commit | 4293014230b887d94b68aa460ff00153454a3709 (patch) | |
tree | e36933f92113b143763a343fa71769e2bb262549 /drivers/net/ethernet/intel/iavf/iavf.h | |
parent | 9a6e9e483a9684a34573fd9f9e30ecfb047cb8cb (diff) | |
download | lwn-4293014230b887d94b68aa460ff00153454a3709.tar.gz lwn-4293014230b887d94b68aa460ff00153454a3709.zip |
iavf: Restore VLAN filters after link down
Restore VLAN filters after the link is brought down, and up - since all
filters are deleted from HW during the netdev link down routine.
Fixes: ed1f5b58ea01 ("i40evf: remove VLAN filters on close")
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/iavf/iavf.h')
-rw-r--r-- | drivers/net/ethernet/intel/iavf/iavf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/iavf/iavf.h b/drivers/net/ethernet/intel/iavf/iavf.h index e6e7c1da47fb..75635bd57cf6 100644 --- a/drivers/net/ethernet/intel/iavf/iavf.h +++ b/drivers/net/ethernet/intel/iavf/iavf.h @@ -39,6 +39,7 @@ #include "iavf_txrx.h" #include "iavf_fdir.h" #include "iavf_adv_rss.h" +#include <linux/bitmap.h> #define DEFAULT_DEBUG_LEVEL_SHIFT 3 #define PFX "iavf: " |