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 914974383B; Fri, 5 Jan 2024 11:03:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B432402BF; Fri, 5 Jan 2024 11:03:16 +0100 (CET) Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) by mails.dpdk.org (Postfix) with ESMTP id 07B62402AC for ; Fri, 5 Jan 2024 11:03:15 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 9F93F2B003D7; Fri, 5 Jan 2024 05:03:05 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 05 Jan 2024 05:03:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1704448985; x=1704456185; bh=pNoJxZwKvjwCOV721g4sqorHNzU579PguKP617QvM/s=; b= a/+HTw6ZjEV/smrMhLrJ+h3abZf14PQcQUYWYbIK1w10azGYN0H/I5F3vtEHu+bx eClwu67yX97e7hvelGR5qmwt2kVHX/TO7mGnlMejtPCkCSN0IQmctcCkX6aANhbD YetfCeGNa9Al8mPlrORfTUBME/lscIoBV/2dDsBJjZFGJNnu38PRXF3hOTHuBC0P 4rV0JtmyNOXt0PUrQd60e6hM7b+g46qV4LyBIhjA4HgSsYuWzYsBpGg3XuwMI4uT dOFddnIv9Ga+cb988rTfYfMO1tMB7DCqFggqXZ1bBNphCk1dU7EKTq+8ZGLZjpga gGadtorW+kaDBKrw+QDdyw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704448985; x= 1704456185; bh=pNoJxZwKvjwCOV721g4sqorHNzU579PguKP617QvM/s=; b=0 d2KqT5V+qWnMXSU01iBIx3d7AlVaHpsIbckFBaIfNu9uQjiiWPBu+LF6tCTejKaL yhRA/5gAcD1zGAePsqHSVtEXVBNHk+TKM8VnEks7Wby42bhKWxIJE7hNLBZc2w1t ZNR2OL1Lk+3vIto3g+Ntb7iZ6iG/kpixnrsigLDG9jOE+ZCkWxb6ZgykDYXwIl4P uFeozLcYE3LIBYtHxB/MlAt85S87q+cbZNhJCYmULbpen/Wfhm7YV82z0J/eICCi fxGhenW94i6RAUeXMIWAzS91rODLhc72RtIalNZ+32IVC5Rl+gVfj1aOJccfPuUx /Zdzpllm8nnYihrMvSkDw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdegledgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeegtddtleejjeegffekkeektdejvedtheevtdekiedvueeuvdei uddvleevjeeujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 5 Jan 2024 05:02:54 -0500 (EST) From: Thomas Monjalon To: Jerin Jacob Cc: Jerin Jacob , dev@dpdk.org, 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, zhouguoyang@huawei.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, oulijun@huawei.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, humin29@huawei.com, 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, cloud.wangxiaoyun@huawei.com, yisen.zhuang@huawei.com, yongwang@vmware.com, xuanziyang2@huawei.com, cristian.dumitrescu@intel.com Subject: Re: [dpdk-dev] [RFC] ethdev: support Tx queue free descriptor query Date: Fri, 05 Jan 2024 11:02:53 +0100 Message-ID: <2661017.BddDVKsqQX@thomas> In-Reply-To: References: <20231219172948.3909749-1-jerinj@marvell.com> <2198366.NgBsaNRSFp@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 05/01/2024 10:54, Jerin Jacob: > On Fri, Jan 5, 2024 at 4:04=E2=80=AFAM Thomas Monjalon wrote: > > > > 19/12/2023 18:29, jerinj@marvell.com: > > > --- a/doc/guides/nics/features/default.ini > > > +++ b/doc/guides/nics/features/default.ini > > > @@ -59,6 +59,7 @@ Packet type parsing =3D > > > > > > Timesync =3D > > > Rx descriptor status =3D > > > Tx descriptor status =3D > > > +Tx free descriptor query =3D > > > > I think we can drop "query" here. >=20 > How about "Tx queue free count" then? No strong opinion. What others think? > > > +__rte_experimental > > > +static inline uint32_t > > > +rte_eth_tx_queue_free_desc_get(uint16_t port_id, uint16_t tx_queue_i= d) > > > > For consistency with rte_eth_rx_queue_count(), > > I propose the name rte_eth_tx_queue_free_count(). >=20 > Make sense. I will change it in next version.