From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D0E6BA0513; Thu, 16 Jan 2020 02:40:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 05D941C132; Thu, 16 Jan 2020 02:40:07 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E9C3A1C130 for ; Thu, 16 Jan 2020 02:40:04 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2020 17:40:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,323,1574150400"; d="scan'208";a="220215272" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga008.fm.intel.com with ESMTP; 15 Jan 2020 17:40:03 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jan 2020 17:40:03 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 16 Jan 2020 09:40:01 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Thu, 16 Jan 2020 09:40:01 +0800 From: "Di, ChenxuX" To: "Yigit, Ferruh" , "Ye, Xiaolong" CC: "dev@dpdk.org" , "Yang, Qiming" Thread-Topic: [dpdk-dev] [PATCH v9 2/4] net/ice: cleanup Tx buffers Thread-Index: AQHVyffne5xAsx2f5EKdGO4cAALetKfplZcAgAGyEgCAAT8boA== Date: Thu, 16 Jan 2020 01:40:01 +0000 Message-ID: <767c28a2f74b414580a46aec1f4443d8@intel.com> References: <20191203055134.72874-1-chenxux.di@intel.com> <20200113095708.67598-1-chenxux.di@intel.com> <20200113095708.67598-3-chenxux.di@intel.com> <0fbf3c4a-c076-de29-1c34-eb1eeea05733@intel.com> <9b97b326-3ff4-7210-7bf6-1174bd702019@intel.com> In-Reply-To: <9b97b326-3ff4-7210-7bf6-1174bd702019@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v9 2/4] net/ice: cleanup Tx buffers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWWlnaXQsIEZlcnJ1aA0K PiBTZW50OiBXZWRuZXNkYXksIEphbnVhcnkgMTUsIDIwMjAgMTA6MzQgUE0NCj4gVG86IERpLCBD aGVueHVYIDxjaGVueHV4LmRpQGludGVsLmNvbT47IFllLCBYaWFvbG9uZyA8eGlhb2xvbmcueWVA aW50ZWwuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnOyBZYW5nLCBRaW1pbmcgPHFpbWluZy55YW5n QGludGVsLmNvbT4NCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHY5IDIvNF0gbmV0 L2ljZTogY2xlYW51cCBUeCBidWZmZXJzDQo+IA0KPiBPbiAxLzE0LzIwMjAgMTI6NDAgUE0sIEZl cnJ1aCBZaWdpdCB3cm90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