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 47681255 for ; Mon, 3 Aug 2015 10:42:49 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 03 Aug 2015 01:42:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,600,1432623600"; d="scan'208,217";a="618128267" Received: from pgsmsx102.gar.corp.intel.com ([10.221.44.80]) by orsmga003.jf.intel.com with ESMTP; 03 Aug 2015 01:42:46 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by PGSMSX102.gar.corp.intel.com (10.221.44.80) with Microsoft SMTP Server (TLS) id 14.3.224.2; Mon, 3 Aug 2015 16:42:45 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.126]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.18]) with mapi id 14.03.0224.002; Mon, 3 Aug 2015 16:42:42 +0800 From: "Lu, Wenzhuo" To: HePeng Thread-Topic: [dpdk-dev] [PATCH] [new]ixgbe:set txep.mbuf to NULL when calling ixgbe_tx_free_bufs Thread-Index: AQHQy/k5DQIgsnPyMEyFFZHMcNMuoZ35kB1Q//+BCgCAAK2ZcP//mcmAgACVUwD//324gAARhEoQ Date: Mon, 3 Aug 2015 08:42:42 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC0909D1A660@shsmsx102.ccr.corp.intel.com> References: <1438392394-19653-1-git-send-email-xnhp0320@icloud.com> <6A0DE07E22DDAD4C9103DF62FEBC0909D1A508@shsmsx102.ccr.corp.intel.com> <179B898C-F03A-4250-8857-236CFC5274BA@icloud.com> <6A0DE07E22DDAD4C9103DF62FEBC0909D1A59D@shsmsx102.ccr.corp.intel.com> <470BDF91-6FAE-4605-885E-78F02F0F0FBF@icloud.com> <6A0DE07E22DDAD4C9103DF62FEBC0909D1A630@shsmsx102.ccr.corp.intel.com> <9375FD93-28D0-47AD-9CBB-CD099E3CD488@icloud.com> In-Reply-To: <9375FD93-28D0-47AD-9CBB-CD099E3CD488@icloud.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] [new]ixgbe:set txep.mbuf to NULL when calling ixgbe_tx_free_bufs 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: Mon, 03 Aug 2015 08:42:49 -0000 Hi Peng, There're 2 versions of ixgbe_tx_queue_release_mbufs. One in ixgbe_rxtx.c, t= he other is in ixgbe_rxtx_vec.c. What you shown is the one in ixgbe_rxtx.c. You can find the one in ixgbe_rx= tx_vec.c already has the sanity check for reference count. Thanks.