OSDN Git Service

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)
commit6d73a1540ba8a2fa2aaacf157ad2e46036a2ef91
treeab4169029f540457ec50e87430c5c5554e4973a4
parent63a67fe229ea7469c292c038a1b657c49ba6dbf6
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