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 6AB3E4383B; Fri, 5 Jan 2024 10:55:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02AF4402BF; Fri, 5 Jan 2024 10:55:10 +0100 (CET) Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) by mails.dpdk.org (Postfix) with ESMTP id 4E604402AC for ; Fri, 5 Jan 2024 10:55:08 +0100 (CET) Received: by mail-qt1-f180.google.com with SMTP id d75a77b69052e-4297bd091faso698951cf.1 for ; Fri, 05 Jan 2024 01:55:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704448507; x=1705053307; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=U25VrQiO1wfx/HVck6YQ4pvfgFMkwjcuRZbcLvLnk+k=; b=V3Ivo2yt1a0UkcZ0L5JyO2pDZ5vG4doGaq2seJ7DB6zH1dfYb7cnrV1unKizgdD7IE j9ShwOnIsvzeKODMgBMPD+NfbxlxVz33YMOxADufzkDa6MOzeO/CV4ETr9njADo60K+Q 15rlpuW9IQwbBga0ARR4acY3Teae4vNNZR1Xeg4B85mcVB+Yyoa2gWlPUORkb0Q5LKkb NVAh445lqV2ilPmzmE7KkgpxvmkF7cV+/ZN9cMlqMKZ22SSesCyuJPB2wQHAlkpCBdx/ EON58pOz9e2wdGloflApR/8iI2Y5B0LltIIbmdxrihOR4yzI1QtBQxw7ekwSWAzVGRXi SIpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704448507; x=1705053307; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U25VrQiO1wfx/HVck6YQ4pvfgFMkwjcuRZbcLvLnk+k=; b=WXHyvxFM22GCUq4CJJfFrPPf/yloSlRrZtIm2H0rGT5cr62I9E9v6sUTlbLYl+iD7t JkTiI2qfIXERv9RPRm3v7f24u7EtPdSGTCzB3L2Rx0X62RuW848jHHrrtDvvYF0Ww1ZJ gA0dJCG8NTUAsoKr4fkjL8rr60v0HtqB+lF9s/sriIVmtXXGQamolOAz5H+VDi3Tr/JL xTi2Js4ikEfKF0ZOhlkTSzHWF78j+S55tSGSVKa9J9iQrg9hnsYrWrh+hMeZjGvq4xcK W1I8swvmgd1MkA86jr1//mNeofsKHO+upOc5ARyepyJHSM1N51qTAu/6l23ku6IOBvpc st0g== X-Gm-Message-State: AOJu0YzDpGM3UUZZQUp3xR7qaEHZrZEdrl/TVDBrZe55yWImAAXquEEd RTVfjgfbV5qOUPxb1tkXtNKHtDX8d3k1jaBa2BU= X-Google-Smtp-Source: AGHT+IFnjz1rbVUEH/8uTwanzXe6Pl466nxLjXqMdNWQWkZ5vUh/p3gms4ixSr1UquhdgTDxyIGf8Yn/7NafcEfsccY= X-Received: by 2002:a05:622a:1746:b0:429:7471:ee7c with SMTP id l6-20020a05622a174600b004297471ee7cmr2196817qtk.31.1704448507347; Fri, 05 Jan 2024 01:55:07 -0800 (PST) MIME-Version: 1.0 References: <20231219172948.3909749-1-jerinj@marvell.com> <2198366.NgBsaNRSFp@thomas> In-Reply-To: <2198366.NgBsaNRSFp@thomas> From: Jerin Jacob Date: Fri, 5 Jan 2024 15:24:40 +0530 Message-ID: Subject: Re: [dpdk-dev] [RFC] ethdev: support Tx queue free descriptor query To: Thomas Monjalon 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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. How about "Tx queue free count" then? > > > > +__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(). Make sense. I will change it in next version. > > >