From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E0C66438F1; Thu, 18 Jan 2024 11:17:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A72F540ED0; Thu, 18 Jan 2024 11:17:34 +0100 (CET) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 0C4F840E2D for ; Thu, 18 Jan 2024 11:17:31 +0100 (CET) Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4TFzC73kT2z6K5wl; Thu, 18 Jan 2024 18:15:15 +0800 (CST) Received: from frapeml500007.china.huawei.com (unknown [7.182.85.172]) by mail.maildlp.com (Postfix) with ESMTPS id 49E0E1400C8; Thu, 18 Jan 2024 18:17:30 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml500007.china.huawei.com (7.182.85.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 18 Jan 2024 11:17:29 +0100 Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.035; Thu, 18 Jan 2024 11:17:29 +0100 From: Konstantin Ananyev To: Jerin Jacob CC: "jerinj@marvell.com" , "dev@dpdk.org" , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , "ferruh.yigit@xilinx.com" , "ajit.khaparde@broadcom.com" , "aboyer@pensando.io" , "beilei.xing@intel.com" , "bruce.richardson@intel.com" , "chas3@att.com" , "chenbo.xia@intel.com" , "ciara.loftus@intel.com" , "dsinghrawat@marvell.com" , "ed.czeck@atomicrules.com" , "evgenys@amazon.com" , "grive@u256.net" , "g.singh@nxp.com" , "haiyue.wang@intel.com" , "hkalra@marvell.com" , "heinrich.kuhn@corigine.com" , "hemant.agrawal@nxp.com" , "hyonkim@cisco.com" , "igorch@amazon.com" , "irusskikh@marvell.com" , "jgrajcia@cisco.com" , "jasvinder.singh@intel.com" , "jianwang@trustnetic.com" , "jiawenwu@trustnetic.com" , "jingjing.wu@intel.com" , "johndale@cisco.com" , "john.miller@atomicrules.com" , "linville@tuxdriver.com" , "keith.wiles@intel.com" , "kirankumark@marvell.com" , "lironh@marvell.com" , "longli@microsoft.com" , "mw@semihalf.com" , "spinler@cesnet.cz" , "matan@nvidia.com" , "matt.peters@windriver.com" , "maxime.coquelin@redhat.com" , "mk@semihalf.com" , "humin (Q)" , "pnalla@marvell.com" , "ndabilpuram@marvell.com" , "qiming.yang@intel.com" , "qi.z.zhang@intel.com" , "radhac@marvell.com" , "rahul.lakkireddy@chelsio.com" , "rmody@marvell.com" , "rosen.xu@intel.com" , "sachin.saxena@oss.nxp.com" , "skoteshwar@marvell.com" , "shshaikh@marvell.com" , "shaibran@amazon.com" , "shepard.siegel@atomicrules.com" , "asomalap@amd.com" , "somnath.kotur@broadcom.com" , "sthemmin@microsoft.com" , "steven.webster@windriver.com" , "skori@marvell.com" , "mtetsuyah@gmail.com" , "vburru@marvell.com" , "viacheslavo@nvidia.com" , "xiao.w.wang@intel.com" , "Wangxiaoyun (Cloud)" , "Zhuangyuzeng (Yisen)" , "yongwang@vmware.com" , "Xuanziyang (William)" , "cristian.dumitrescu@intel.com" Subject: RE: [dpdk-dev] [v1] ethdev: support Tx queue used count Thread-Topic: [dpdk-dev] [v1] ethdev: support Tx queue used count Thread-Index: AQHaRKNlq/IhmEbhQ0W9f3VvMTUQlbDWHHGQgAXWdYCAA2/OAA== Date: Thu, 18 Jan 2024 10:17:29 +0000 Message-ID: References: <20231219172948.3909749-1-jerinj@marvell.com> <20240111151745.3800170-1-jerinj@marvell.com> <2f45bf93d17a4ea688fdc23bf6f50027@huawei.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.206.138.42] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org DQpIaSBKZXJpbiwNCg0KPiA+ID4gSW50cm9kdWNlIGEgbmV3IEFQSSB0byByZXRyaWV2ZSB0aGUg bnVtYmVyIG9mIHVzZWQgZGVzY3JpcHRvcnMNCj4gPiA+IGluIGEgVHggcXVldWUuIEFwcGxpY2F0 aW9ucyBjYW4gbGV2ZXJhZ2UgdGhpcyBBUEkgaW4gdGhlIGZhc3QgcGF0aCB0bw0KPiA+ID4gaW5z cGVjdCB0aGUgVHggcXVldWUgb2NjdXBhbmN5IGFuZCB0YWtlIGFwcHJvcHJpYXRlIGFjdGlvbnMg YmFzZWQgb24gdGhlDQo+ID4gPiBhdmFpbGFibGUgZnJlZSBkZXNjcmlwdG9ycy4NCj4gPiA+DQo+ ID4gPiBBIG5vdGFibGUgdXNlIGNhc2UgY291bGQgYmUgaW1wbGVtZW50aW5nIFJhbmRvbSBFYXJs eSBEaXNjYXJkIChSRUQpDQo+ID4gPiBpbiBzb2Z0d2FyZSBiYXNlZCBvbiBUeCBxdWV1ZSBvY2N1 cGFuY3kuDQo+ID4gPg0KPiA+ID4gU2lnbmVkLW9mZi1ieTogSmVyaW4gSmFjb2IgPGplcmluakBt YXJ2ZWxsLmNvbT4NCj4gDQo+ID4gPiBAQCAtNjgwMyw2ICs2ODAzLDgwIEBAIHJ0ZV9ldGhfcmVj eWNsZV9tYnVmcyh1aW50MTZfdCByeF9wb3J0X2lkLCB1aW50MTZfdCByeF9xdWV1ZV9pZCwNCj4g PiA+ICBfX3J0ZV9leHBlcmltZW50YWwNCj4gPiA+ICBpbnQgcnRlX2V0aF9idWZmZXJfc3BsaXR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