From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konstantin Ananyev Subject: [PATCHv2 0/5] ixgbe: fix mbuf release on RX and TX Date: Fri, 24 Jul 2015 14:58:10 +0100 Message-ID: <1437746295-12184-1-git-send-email-konstantin.ananyev@intel.com> References: <1437667506-3890-2-git-send-email-bruce.richardson@intel.com> To: dev@dpdk.org 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) In-Reply-To: <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> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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