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 5CA8E4383C; Fri, 5 Jan 2024 12:12:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD8FB402DC; Fri, 5 Jan 2024 12:12:49 +0100 (CET) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 9C8C2402BF for ; Fri, 5 Jan 2024 12:12:48 +0100 (CET) Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4T613k1S1mz68994; Fri, 5 Jan 2024 19:11:14 +0800 (CST) Received: from frapeml100006.china.huawei.com (unknown [7.182.85.201]) by mail.maildlp.com (Postfix) with ESMTPS id D501514011D; Fri, 5 Jan 2024 19:12:46 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml100006.china.huawei.com (7.182.85.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 5 Jan 2024 12:12:46 +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, 5 Jan 2024 12:12:46 +0100 From: Konstantin Ananyev To: Thomas Monjalon , Jerin Jacob CC: "Dumitrescu, Cristian" , "jerinj@marvell.com" , "dev@dpdk.org" , Ferruh Yigit , Andrew Rybchenko , "ferruh.yigit@xilinx.com" , "ajit.khaparde@broadcom.com" , "aboyer@pensando.io" , "Xing, Beilei" , "Richardson, Bruce" , "chas3@att.com" , "chenbo.xia@intel.com" , "Loftus, Ciara" , "dsinghrawat@marvell.com" , "Czeck, Ed" , "evgenys@amazon.com" , "grive@u256.net" , "g.singh@nxp.com" , "Wang, Haiyue" , "hkalra@marvell.com" , "heinrich.kuhn@corigine.com" , "hemant.agrawal@nxp.com" , "hyonkim@cisco.com" , "igorch@amazon.com" , "irusskikh@marvell.com" , "jgrajcia@cisco.com" , "Singh, Jasvinder" , "jianwang@trustnetic.com" , "jiawenwu@trustnetic.com" , "Wu, Jingjing" , "johndale@cisco.com" , "john.miller@atomicrules.com" , "linville@tuxdriver.com" , "Wiles, Keith" , "kirankumark@marvell.com" , "lironh@marvell.com" , "longli@microsoft.com" , "mw@semihalf.com" , "spinler@cesnet.cz" , "matan@nvidia.com" , "Peters, Matt" , "maxime.coquelin@redhat.com" , "mk@semihalf.com" , "humin (Q)" , "pnalla@marvell.com" , "ndabilpuram@marvell.com" , "Yang, Qiming" , "Zhang, Qi Z" , "radhac@marvell.com" , "rahul.lakkireddy@chelsio.com" , "rmody@marvell.com" , "Xu, Rosen" , "sachin.saxena@oss.nxp.com" , "skoteshwar@marvell.com" , "shshaikh@marvell.com" , "shaibran@amazon.com" , "Siegel, Shepard" , "asomalap@amd.com" , "somnath.kotur@broadcom.com" , "sthemmin@microsoft.com" , "Webster, Steven" , "skori@marvell.com" , "mtetsuyah@gmail.com" , "vburru@marvell.com" , "viacheslavo@nvidia.com" , "Wang, Xiao W" , "Wangxiaoyun (Cloud)" , "Zhuangyuzeng (Yisen)" , "Wang, Yong" , "Xuanziyang (William)" Subject: RE: [dpdk-dev] [RFC] ethdev: support Tx queue free descriptor query Thread-Topic: [dpdk-dev] [RFC] ethdev: support Tx queue free descriptor query Thread-Index: AQHaMqEqBAtfrhdBu0uyUL2PqHPp8rDJqkwAgAAFZYCAABvtgIAANjQAgAEDY4CAAAGtgIAAI1Yw Date: Fri, 5 Jan 2024 11:12:46 +0000 Message-ID: <94b394799dd84797b9ddb83b007f9972@huawei.com> References: <20231219172948.3909749-1-jerinj@marvell.com> <852198449.0ifERbkFSE@thomas> <9265280.rMLUfLXkoz@thomas> In-Reply-To: <9265280.rMLUfLXkoz@thomas> 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVGhvbWFzIE1vbmphbG9u IDx0aG9tYXNAbW9uamFsb24ubmV0Pg0KPiBTZW50OiBGcmlkYXksIEphbnVhcnkgNSwgMjAyNCAx MDowNCBBTQ0KPiBUbzogSmVyaW4gSmFjb2IgPGplcmluamFjb2JrQGdtYWlsLmNvbT4NCj4gQ2M6 IER1bWl0cmVzY3UsIENyaXN0aWFuIDxjcmlzdGlhbi5kdW1pdHJlc2N1QGludGVsLmNvbT47IEtv bnN0YW50aW4gQW5hbnlldiA8a29uc3RhbnRpbi5hbmFueWV2QGh1YXdlaS5jb20+Ow0KPiBqZXJp bmpAbWFydmVsbC5jb207IGRldkBkcGRrLm9yZzsgRmVycnVoIFlpZ2l0IDxmZXJydWgueWlnaXRA YW1kLmNvbT47IEFuZHJldyBSeWJjaGVua28gPGFuZHJldy5yeWJjaGVua29Ab2t0ZXRsYWJzLnJ1 PjsNCj4gZmVycnVoLnlpZ2l0QHhpbGlueC5jb207IGFqaXQua2hhcGFyZGVAYnJvYWRjb20uY29t OyBhYm95ZXJAcGVuc2FuZG8uaW87IFhpbmcsIEJlaWxlaSA8YmVpbGVpLnhpbmdAaW50ZWwuY29t PjsgUmljaGFyZHNvbiwgQnJ1Y2UNCj4gPGJydWNlLnJpY2hhcmRzb25AaW50ZWwuY29tPjsgY2hh czNAYXR0LmNvbTsgY2hlbmJvLnhpYUBpbnRlbC5jb207IExvZnR1cywgQ2lhcmEgPGNpYXJhLmxv ZnR1c0BpbnRlbC5jb20+Ow0KPi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