]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: don't clear IPsec sa counters on HW clearing
authorShannon Nelson <shannon.nelson@oracle.com>
Fri, 10 Aug 2018 19:24:10 +0000 (12:24 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 28 Aug 2018 21:32:22 +0000 (14:32 -0700)
commitaee7711021845b503bf3b7fd51fe439cfd6174bf
treed1917dbc81d13ff7239e0b9d08258e6e332d2858
parent3e9cb2b21a5081a7acac600bf75aadfc6524b8bb
ixgbe: don't clear IPsec sa counters on HW clearing

The software SA record counters should not be cleared when clearing
the hardware tables.  This causes the counters to be out of sync
after a driver reset.

Fixes: 18edfc0fe4a0 ("ixgbe: add ipsec offload add and remove SA")
Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c