]> 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)
commitfb339a2a053315717d2ce96796754637c2e74bb9
treed1917dbc81d13ff7239e0b9d08258e6e332d2858
parent50162a1375a0f423ac8b31b9edb69a805e461805
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: acd53c391600 ("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