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 C92D04381A; Thu, 4 Jan 2024 22:17:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92FAD402B9; Thu, 4 Jan 2024 22:17:55 +0100 (CET) Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) by mails.dpdk.org (Postfix) with ESMTP id CA5A14029A for ; Thu, 4 Jan 2024 22:17:53 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id E8BEB2B0009A; Thu, 4 Jan 2024 16:17:45 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 04 Jan 2024 16:17:52 -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=1704403065; x=1704410265; bh=iQHPl41REAwMgHehyKu9f2HkLKv5U7RmO9bcViJVoxM=; b= Cy3gviIJjaSvb2AmpHMJVZIzUR5yiJdEQDTYKRYLBu7EPGhLX9Qi3EK/Y/xVjKAe G3T3mAkL5ruoFHQjYgVUWRogd7XILh3oOGOgniVxUl3GkrXJ6rb7byihjaPM8XbG WJLhLdsK7a/Bkmy0qHJW8DzpSNV1kPow7KJwhh7341ZarVm8QYJlcKsFR/3XpFjP x/OHbCNgPEjjv0823QUbHfszfQtg5usDPmmXpIgwRkxVTiwsw5EklqLPMvxgFdeG QAmeeur5WBYrxaCz69/GIpXkgJka3m/5ybc1N38PDRq8XjeNYtTDCAstZzzG/05C PZ3ALLv7MRY33V5Oo3EaCw== 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=1704403065; x= 1704410265; bh=iQHPl41REAwMgHehyKu9f2HkLKv5U7RmO9bcViJVoxM=; b=e BgStzw5BbB7Uk213IeBIZ5KPaMOoCn7f0HQn1k3Ypmjx58a6ZWxJECERE/G0uaRd AnHZUNKJobDrTQbGTr86jtO8RqOAfWl3ThIP7X7J8mgH2L9iyeIf2X8albjbnoq6 mS4tpPPRVDRz4gwZ0rtZjlRv5ufhTG0BKUExlJEuMQpI/cf/YNxpE0O/rnjS9LFj 19G6BYCmHbgtiFuIG6owButKjjCs9uhfW340/08eyEcO2/Ve9FUAAJ/5wLRL7t/Y 027NS9vyur19EBdCbtw9F1R9GrYouwFDhQku/DGXAYzF3lRZUGDaktoE+6WR9Fsn 5GUV+7ellh98CR3rE8XCg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdegjedgudegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 4 Jan 2024 16:17:35 -0500 (EST) From: Thomas Monjalon To: Jerin Jacob Cc: 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: Thu, 04 Jan 2024 22:17:32 +0100 Message-ID: <2198366.NgBsaNRSFp@thomas> In-Reply-To: <20231219172948.3909749-1-jerinj@marvell.com> References: <20231219172948.3909749-1-jerinj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 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 = > > Timesync = > Rx descriptor status = > Tx descriptor status = > +Tx free descriptor query = I think we can drop "query" here. > +__rte_experimental > +static inline uint32_t > +rte_eth_tx_queue_free_desc_get(uint16_t port_id, uint16_t tx_queue_id) For consistency with rte_eth_rx_queue_count(), I propose the name rte_eth_tx_queue_free_count().