]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: restore offloaded SAs after a reset
authorShannon Nelson <shannon.nelson@oracle.com>
Tue, 19 Dec 2017 23:59:58 +0000 (15:59 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Jan 2018 17:37:09 +0000 (09:37 -0800)
commitef9193f56980540420a417caa0a544272ec69e4c
treeab4169029f540457ec50e87430c5c5554e4973a4
parentacd53c391600dd1865cb7522f9bfaad208ffaa89
ixgbe: restore offloaded SAs after a reset

On a chip reset most of the table contents are lost, so must be
restored.  This scans the driver's ipsec tables and restores both
the filled and empty table slots to their pre-reset values.

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.h
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c