OSDN Git Service

ice: Restore filters following reset
authorHenry Tieman <henry.w.tieman@intel.com>
Tue, 12 May 2020 01:01:45 +0000 (18:01 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 23 May 2020 04:46:51 +0000 (21:46 -0700)
commit83af00395190bc2db05a67a417a2ea0d5967b74d
tree19ff8779ad6a57659051cad1a8ed6e473826148c
parent2c57ffcb199004825184f96081fbf036d3b2426a
ice: Restore filters following reset

Following a reset, Flow Director filters are cleared from the hardware.
Rebuild the filters using the software structures containing the filter
rules.

Signed-off-by: Henry Tieman <henry.w.tieman@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_main.c