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 33C65438A3; Fri, 12 Jan 2024 15:29:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18FAB40698; Fri, 12 Jan 2024 15:29:24 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2082.outbound.protection.outlook.com [40.107.223.82]) by mails.dpdk.org (Postfix) with ESMTP id EDD7440647 for ; Fri, 12 Jan 2024 15:29:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=je+knOESRKxYyIAnmh/qTX84ArYPMrPo5EDf5ob3uHEqPEukLE0z9oJWpw0GNENd+0LX7V9SATP7PRNGzCKTy0OABM27GcHQD26NqdGe2tFdsoFYmPsqoPUEPft4qdbb/0DERYBfHxC/VhtNKnqK+PIWumQnkquAWt4jSKcWqpSlDKB787XHHWlsfcPLksKOnRYVarkRc7VOozIOhBsaa43s4Ju3NGyJYrKZzFDF7//A8LvRw3M6E+3QqyHEIgVCUrAUQwg8aEkeqVv3+7eq7mKbV5RnOOfvN+63UTCLLr4WaAVLjlLcGpqTKqHFpyTghZ8rMmloajfJFdjuV3w37A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QE4b6J3nKYe/MnyyWMcH+tl+Y+bO2XudJ0rqGmkT3Wg=; b=hGEMQpDqvwBfeBgdQh3XdlnWu/3sddwRkVkhmrGt+MHaDAbzSKsmfLiqd6oal8JU3PkTjg/deBi95vTfFvHUaIthWME0+teR0pYAsopwTFWuWSZxSFthZQbQtaG3/9+3pIHf04uFL0ZWtavKN6y8Hwwyr49gmqlxiH5oiFyyFU+4XyvKgz1nTjyF096xd405/vMvSKHoi/6HnXkDlL58/zCOejFFt54V5SKebQjLvDfnTfGRQ2MlxioBkPGxBTN6PG60IHnMmCxBtiqPGr7XwVTthjFmR7rbX8m3BWx67Lsb8NRmhnAuX5C4O91drN0Y/iH+31ecFCsVQVydLRSIlA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QE4b6J3nKYe/MnyyWMcH+tl+Y+bO2XudJ0rqGmkT3Wg=; b=Ik5b43k/KpAVN2FosObXBMo/l0MPQaembHRkELM6yhz+L2c4GaRR11ioeJ5J0881/tuA8uiP188A1uwa6qGVpSJEuz5uu3lW/fHB6xEGXvxux+9tFOcEJc9M1f3Rllht+99s6J8XAw3+NfBUVpGLJxabFeQWrgI8YUGy7nHx/0Y= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by BN9PR12MB5115.namprd12.prod.outlook.com (2603:10b6:408:118::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.17; Fri, 12 Jan 2024 14:29:18 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::815a:45e6:cf5e:479f%4]) with mapi id 15.20.7181.018; Fri, 12 Jan 2024 14:29:18 +0000 Message-ID: <3c4dbe66-e420-450b-942a-43a21e04aac9@amd.com> Date: Fri, 12 Jan 2024 14:29:02 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [dpdk-dev] [v1] ethdev: support Tx queue used count Content-Language: en-US To: =?UTF-8?Q?Morten_Br=C3=B8rup?= , jerinj@marvell.com, dev@dpdk.org, Thomas Monjalon , Andrew Rybchenko Cc: 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 References: <20231219172948.3909749-1-jerinj@marvell.com> <20240111151745.3800170-1-jerinj@marvell.com> <5251f00a-a039-460d-805b-0325cfced32b@amd.com> <98CBD80474FA8B44BF855DF32C47DC35E9F13C@smartserver.smartshare.dk> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRnQfmKmNVpcBEs4NqceNCWTQlaXdEwL1lxf1L49dsF5Jz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artshare.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR3P281CA0197.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a5::7) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|BN9PR12MB5115:EE_ X-MS-Office365-Filtering-Correlation-Id: cb92f98b-7b5c-420c-896d-08dc137adc5a X-LD-Processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: r4qYzo6eqomd9lPV4Rh3kGhhpbHyUoTkP9lvVkHeWPqm8DXnd898nQCasUuw+CPvGBijHN1S1ZidV5TST2SBfd5j0gs3M8rOMyyFUdJdoq6J6oZ2GH5J9k2uUCQcDL4yfDRLqOceUlVJ5RbKbgJ2AJ08t/w3ql1mqxIwvRj9dFPh+u6yITHl7VzpvWNlzZ2viQDJRf3oURGVWafPZRNX31jOgSexZgr85j4Pm6/x33fhXkrPT387EF+xTPppDM/URPO5zUsycS0bCQaCZGjjQULtNlUQvPaDvvpQyzge9alhlc80F2+BJoO3ZaTW6nYRDDVYtXXixc/p+kLXSA1nb01qBmAEQqKhCdkcPvTIyFGwuPzTPk9DDmHzngVCiDKBBv6538hCGwkwvM25zZiTib+QXJlVOrSE4Eh8sovvGJN+B1c9etk8RQWX/kSuBmEJgRu6IXAEV1s1HohjJAesBGg+bA52I5CV9sbZaDFtL+WZjqDaNV85QJcctM91OnysVXh5/Ew84BtuB/7v3iBC5pK5f3RRnj6U1unaVmVLegVxQVs+9P6ST9NjAQisi8Q1gx6mGODoVnf9iXmXOkqMBRSzoDRvwNCGRaxRf88hUAxwEZRlJFry8rFPlsZ/sy8wz2FRJOr8pFYCHCo0IW3KCQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(136003)(366004)(396003)(346002)(376002)(230922051799003)(186009)(451199024)(64100799003)(1800799012)(38100700002)(36756003)(86362001)(41300700001)(31696002)(2616005)(26005)(44832011)(4326008)(6506007)(6666004)(110136005)(53546011)(66476007)(316002)(478600001)(66556008)(66946007)(6512007)(7366002)(7406005)(8936002)(31686004)(7416002)(8676002)(2906002)(6486002)(5660300002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eU15TmtsSDd2Y1AvT0QxM2JnSzRnazlOaXhoS3BtQUJza0tEbFhTS3hXalpy?= =?utf-8?B?b3FhL3hzTzJjNlNNMG8ycE5nMG5TM2MwNGdrQ0RzbVJzbHJJUzF1WlA0LzIy?= =?utf-8?B?R0lNTDRHekpxdEUrelFjSTJOSnBwMXA3eE9wTExGOHZVdml4eVByeUcvM04z?= =?utf-8?B?N1hWZ2RCY3A1cXhWZ09KSFMzcDE4dmQ3QTJnaU9XUWdBUkdFZHYxenJDMTk4?= =?utf-8?B?d2JIdHpMQnBkWDFkTzE4S24ydWVpTFJWZk10ZDRvVXZORHliMHFKSVNKWkJ5?= =?utf-8?B?ZHV5SmhLMWt0Q2ZRcFlEU1ZsNkNNUlNGd3ZOVktQd2NvV29vaXVlSWhXMVBJ?= =?utf-8?B?bnRxMmxQRjE0OXpzT0dzY203L1d3SllFYmlWK0gvN1ZlUEJ4blJCUzBrSVFQ?= =?utf-8?B?SjBXMnpMRFc5RkplOUFJK3VncEVsTnFFRDlmVklmRWgvdFUyQkpNUzB5Tjcv?= =?utf-8?B?U2dvdjVDRW5aRXNFY2I0TzBoVmxseEpwNk1RbWM1Z0pyNUxiSlA1TFNMWEpF?= =?ut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= =?utf-8?B?c0hYRkF1bVdoWG5ubm9OR1lQVTQzRDR5R04vQkthbE14U2hZV0RoM1hBT2hH?= =?utf-8?B?bkd3MnRwVXJEd3YrbVluc2NzcGNQWDQ5ZU9NWFY5M0c1TEUvRU0zZndvNjYv?= =?utf-8?B?bzhBMW5JK2VCMHQ4Y1psL1lIa0Q0dkpyQUZRV3FUTWtMUTUzZ3k1WGtrTHBl?= =?utf-8?B?SHducXU0YnVYbXdXVWFkTHAxUldiaS9COUNpWDdnRHJleUkvWitJSnE0SzN4?= =?utf-8?B?SmFnZEdrb0p5REJISGJBTk9KeVgxRVU0Z2tvUGU2RVA1SG5zTHY1U3RtNkNH?= =?utf-8?B?dHAweml4clJYZzFmNHdjbXZFaCtIRUNHVmxGb0RMQWRPSGpwV29RR1NzWGVI?= =?utf-8?B?a3Ywd3pENStJZjNCeXdjbnlaZkp4OUR2cWxocVhmdGUzVzdHbXY5dmxVZFR6?= =?utf-8?B?dUNhRVNzMnlqVkU0RkNGNWRRQVhwRzNFKy8rcEJ4WXJoZFRaeVE2VnJwZjVB?= =?utf-8?B?NjdKcmtWVGUzNlNIdWZYVUlnVW5mbFR2NHJCaUExT0ZBYng5T0IzZXYrc0dR?= =?utf-8?B?ODI2bVpTdElnTE1aQjRtR3grYTJNRFFqVXVQZ0RFRm5OWGxWcXY1akoxTlM2?= =?utf-8?B?alJ4RWpiSDdabXAwMW9YaXJlUlhiVHYrM284a1FZYWpGYTdLK1hiWC9ROVRX?= =?utf-8?Q?3I3o=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb92f98b-7b5c-420c-896d-08dc137adc5a X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 14:29:18.6033 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vFPhj/ajonmHqSW6+y0lO2C58UPTG03ZUKifjhoH+lZvo27QhBJlNnrG2lD/DuOS X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5115 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 1/12/2024 12:29 PM, Morten Brørup wrote: >> From: Ferruh Yigit [mailto:ferruh.yigit@amd.com] >> Sent: Friday, 12 January 2024 12.34 >> >> On 1/11/2024 3:17 PM, jerinj@marvell.com wrote: >>> From: Jerin Jacob >>> >>> Introduce a new API to retrieve the number of used descriptors >>> in a Tx queue. Applications can leverage this API in the fast path to >>> inspect the Tx queue occupancy and take appropriate actions based on >> the >>> available free descriptors. >>> >>> A notable use case could be implementing Random Early Discard (RED) >>> in software based on Tx queue occupancy. <...> >>> /** >>> * @internal >>> * Structure used to hold opaque pointers to internal ethdev Rx/Tx >>> @@ -116,7 +119,9 @@ struct rte_eth_fp_ops { >>> eth_tx_descriptor_status_t tx_descriptor_status; >>> /** Copy used mbufs from Tx mbuf ring into Rx. */ >>> eth_recycle_tx_mbufs_reuse_t recycle_tx_mbufs_reuse; >>> - uintptr_t reserved2[2]; >>> + /** Get the number of used Tx descriptors. */ >>> + eth_tx_queue_count_t tx_queue_count; >>> >> >> Similarly, can you please move it above 'tx_descriptor_status'? > > No. I think struct rte_eth_fp_ops is part of the public API, so moving down tx_descriptor_status and recycle_tx_mbufs_reuse would break the API. > ack (Dave highlighted the same)