From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shannon Nelson Subject: [PATCH next-queue 1/2] ixgbe: fix clean hw loop count Date: Mon, 8 Jan 2018 14:47:48 -0800 Message-ID: <1515451669-927-1-git-send-email-shannon.nelson@oracle.com> Cc: netdev@vger.kernel.org, steffen.klassert@secunet.com To: intel-wired-lan@lists.osuosl.org, jeffrey.t.kirsher@intel.com Return-path: Received: from aserp2120.oracle.com ([141.146.126.78]:37660 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932571AbeAHWsD (ORCPT ); Mon, 8 Jan 2018 17:48:03 -0500 Sender: netdev-owner@vger.kernel.org List-ID: Fix a cut-paste error so that we can clean all the table entries. Signed-off-by: Shannon Nelson --- drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c index 12c7132..57c10e6 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c @@ -148,7 +148,7 @@ static void ixgbe_ipsec_clear_hw_tables(struct ixgbe_adapter *adapter) ixgbe_ipsec_set_rx_sa(hw, idx, 0, buf, 0, 0, 0); ixgbe_ipsec_set_rx_ip(hw, idx, (__be32 *)buf); } - for (; idx < IXGBE_IPSEC_MAX_RX_IP_COUNT; idx++) { + for (; idx < IXGBE_IPSEC_MAX_SA_COUNT; idx++) { ixgbe_ipsec_set_tx_sa(hw, idx, buf, 0); ixgbe_ipsec_set_rx_sa(hw, idx, 0, buf, 0, 0, 0); } -- 2.7.4