|
@@ -113,7 +113,6 @@ static void ixgbe_ipsec_set_rx_ip(struct ixgbe_hw *hw, u16 idx, __be32 addr[])
|
|
|
**/
|
|
|
static void ixgbe_ipsec_clear_hw_tables(struct ixgbe_adapter *adapter)
|
|
|
{
|
|
|
- struct ixgbe_ipsec *ipsec = adapter->ipsec;
|
|
|
struct ixgbe_hw *hw = &adapter->hw;
|
|
|
u32 buf[4] = {0, 0, 0, 0};
|
|
|
u16 idx;
|
|
@@ -132,9 +131,6 @@ static void ixgbe_ipsec_clear_hw_tables(struct ixgbe_adapter *adapter)
|
|
|
ixgbe_ipsec_set_tx_sa(hw, idx, buf, 0);
|
|
|
ixgbe_ipsec_set_rx_sa(hw, idx, 0, buf, 0, 0, 0);
|
|
|
}
|
|
|
-
|
|
|
- ipsec->num_rx_sa = 0;
|
|
|
- ipsec->num_tx_sa = 0;
|
|
|
}
|
|
|
|
|
|
/**
|