mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 10:32:25 -04:00
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>
This commit is contained in:
committed by
Jeff Kirsher
parent
63a67fe229
commit
6d73a1540b
@@ -5425,6 +5425,7 @@ static void ixgbe_configure(struct ixgbe_adapter *adapter)
|
||||
|
||||
ixgbe_set_rx_mode(adapter->netdev);
|
||||
ixgbe_restore_vlan(adapter);
|
||||
ixgbe_ipsec_restore(adapter);
|
||||
|
||||
switch (hw->mac.type) {
|
||||
case ixgbe_mac_82599EB:
|
||||
|
||||
Reference in New Issue
Block a user