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 4A68C438FC; Fri, 19 Jan 2024 10:52:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B5184029F; Fri, 19 Jan 2024 10:52:48 +0100 (CET) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 115AE40279 for ; Fri, 19 Jan 2024 10:52:46 +0100 (CET) Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4TGZc23Tgfz67L9G; Fri, 19 Jan 2024 17:50:26 +0800 (CST) Received: from frapeml500005.china.huawei.com (unknown [7.182.85.13]) by mail.maildlp.com (Postfix) with ESMTPS id 5F6BE140B2F; Fri, 19 Jan 2024 17:52:44 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml500005.china.huawei.com (7.182.85.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 19 Jan 2024 10:52:44 +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; Fri, 19 Jan 2024 10:52:44 +0100 From: Konstantin Ananyev To: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , 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/OAIAAMKAQgAFb2mA= Date: Fri, 19 Jan 2024 09:52:43 +0000 Message-ID: <18d0e3e252bc46828f285d6a865592f2@huawei.com> References: <20231219172948.3909749-1-jerinj@marvell.com> <20240111151745.3800170-1-jerinj@marvell.com> <2f45bf93d17a4ea688fdc23bf6f50027@huawei.com> <98CBD80474FA8B44BF855DF32C47DC35E9F173@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F173@smartserver.smartshare.dk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.48.150.175] 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 DQoNCj4gPiA+ID4gPiBJbnRyb2R1Y2UgYSBuZXcgQVBJIHRvIHJldHJpZXZlIHRoZSBudW1iZXIg b2YgdXNlZCBkZXNjcmlwdG9ycw0KPiA+ID4gPiA+IGluIGEgVHggcXVldWUuIEFwcGxpY2F0aW9u cyBjYW4gbGV2ZXJhZ2UgdGhpcyBBUEkgaW4gdGhlIGZhc3QNCj4gPiBwYXRoIHRvDQo+ID4gPiA+ ID4gaW5zcGVjdCB0aGUgVHggcXVldWUgb2NjdXBhbmN5IGFuZCB0YWtlIGFwcHJvcHJpYXRlIGFj dGlvbnMgYmFzZWQNCj4gPiBvbiB0aGUNCj4gPiA+ID4gPiBhdmFpbGFibGUgZnJlZSBkZXNjcmlw dG9ycy4NCj4gPiA+ID4gPg0KPiA+ID4gPiA+IEEgbm90YWJsZSB1c2UgY2FzZSBjb3VsZCBiZSBp bXBsZW1lbnRpbmcgUmFuZG9tIEVhcmx5IERpc2NhcmQNCj4gPiAoUkVEKQ0KPiA+ID4gPiA+IGlu IHNvZnR3YXJlIGJhc2VkIG9uIFR4IHF1ZXVlIG9jY3VwYW5jeS4NCj4gPiA+ID4gPg0KPiA+ID4g PiA+IFNpZ25lZC1vZmYtYnk6IEplcmluIEphY29iIDxqZXJpbmpAbWFydmVsbC5jb20+DQ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