From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4BAF1C40C for ; Fri, 24 Jul 2015 15:58:39 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 24 Jul 2015 06:58:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,538,1432623600"; d="scan'208";a="612155513" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga003.jf.intel.com with ESMTP; 24 Jul 2015 06:58:37 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t6ODwaLn026210; Fri, 24 Jul 2015 14:58:36 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t6ODwaij012241; Fri, 24 Jul 2015 14:58:36 +0100 Received: (from kananye1@localhost) by sivswdev02.ir.intel.com with id t6ODwaNw012237; Fri, 24 Jul 2015 14:58:36 +0100 From: Konstantin Ananyev To: dev@dpdk.org Date: Fri, 24 Jul 2015 14:58:10 +0100 Message-Id: <1437746295-12184-1-git-send-email-konstantin.ananyev@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1437667506-3890-2-git-send-email-bruce.richardson@intel.com> References: <1437667506-3890-2-git-send-email-bruce.richardson@intel.com> In-Reply-To: <1437667506-3890-2-git-send-email-bruce.richardson@intel.com> References: <1437667506-3890-2-git-send-email-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCHv2 0/5] ixgbe: fix mbuf release on RX and TX X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2015 13:58:39 -0000 Konstantin has correctly pointed out that the previously applied fix: b35d0d80f0a8 ("ixgbe: check mbuf refcnt when clearing a ring") is not a proper fix for the reported issue at all. Ref: http://permalink.gmane.org/gmane.comp.networking.dpdk.devel/21932 This patch set reverts the original fix, and applies a better fix for the issue, as well as performing other cleanups in the code in question, to try and avoid future issues. v2 chages: - Make sure that rx_using_sse is reset to zero if scalar RX function was chosen. - fix checkpatch.pl errors. - fix remaining wrong typecast. Konstantin Ananyev (5): Revert "ixgbe: check mbuf refcnt when clearing a ring" ixgbe: fix comments on rx_queue fields ixgbe: fix bug on release of mbufs from queue ixgbe: rename tx queue release function for consistency ixgbe: remove awkward typecasts from ixgbe SSE PMD drivers/net/ixgbe/ixgbe_rxtx.c | 23 ++++++++++- drivers/net/ixgbe/ixgbe_rxtx.h | 12 ++++-- drivers/net/ixgbe/ixgbe_rxtx_vec.c | 80 +++++++++++++++++++++----------------- 3 files changed, 75 insertions(+), 40 deletions(-) -- 1.8.3.1