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 ED1FF438A3; Fri, 12 Jan 2024 15:26:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E93440647; Fri, 12 Jan 2024 15:26:00 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2042.outbound.protection.outlook.com [40.107.92.42]) by mails.dpdk.org (Postfix) with ESMTP id D640140633 for ; Fri, 12 Jan 2024 15:25:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bLHxtUCjHFZM4u4AD0h8w3I9leB0Ks+Z9x9BwKCRTr/Khc8Zmsec1dfJ4+K+6T79APGyZ06BD67LgEwAACqoJBwEpEZWVC7QMMvJcBu4tzYib4lLVLCwcsx90Mcm/7NrNcBTO9maaipb51+ah0qeHRJcNfXwFzmDSpjomIlp7VHpTI69FCbMxF+9RXicqCjh7npC6VnkuINCm8U9LkJx5aGwgm06NeuuV2TlC8An0b6mb4uqHoMACo01Obiifev2duVkRPHh8VRG6qIgBPCwdbRv8gz5E4lqwoP+xq7GU6DBYT/d+bwZY7rW7N7oX3VrQYTqqwbaOkWnGsjK53ZzYA== 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=lpLDp9hMFquV9MO22vVJX6EvZq8aVybqGn3i3VXoNMo=; b=N0DK2XUW4/6CsBl9SkMvOrK0sTKQjxpB27dewbuuOMNVhqEC11Cp9ClCXIzVWGdBuZAo9ef+ECLg4zgqkxNPC2HrsBNdunwfhXEawxng9cLOtQZPpaV5X1Ookmd+UGWralO/8ytNGJbj6D9M5i2iBfRS4KHclqF+hA2fEqdEBT6LfKVxwZFplVeL6IPMXS97IqglgPrFaMy/Y8cQYFnztm5jlfiX/AhD6zaJZiVi0zI9iUvOm02OHJJxcizE/+E151eBMsqHazhbqSIDyQ/p1deVh0vgo2lq3Dm3FKskbN/bDKpWj7u/yP56YQpB2ZAS5IL43Ct+ECVtdHnSr3veyw== 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=lpLDp9hMFquV9MO22vVJX6EvZq8aVybqGn3i3VXoNMo=; b=4qCnbglsGgXKWO2DWC+nWBQWRYtdIzV2BIff7DqJZ89ReVy/ECL8eCD+Px559NuTH/1IWoYW6PFvjnIKJa8d+FY/MP2IL8O5US9qVP/mmCrPSCFXU0Tu2DG8ICErehcLW2ZK/EnrPgVz2nn0xJAesxhPq5uVVS5Y1QZdih7tLsw= 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 CH2PR12MB4088.namprd12.prod.outlook.com (2603:10b6:610:a5::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.18; Fri, 12 Jan 2024 14:25:56 +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:25:56 +0000 Message-ID: Date: Fri, 12 Jan 2024 14:25:39 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [dpdk-dev] [v1] ethdev: support Tx queue used count Content-Language: en-US To: David Marchand Cc: jerinj@marvell.com, dev@dpdk.org, Thomas Monjalon , 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 References: <20231219172948.3909749-1-jerinj@marvell.com> <20240111151745.3800170-1-jerinj@marvell.com> <5251f00a-a039-460d-805b-0325cfced32b@amd.com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YVaq65X3ZDjyAQnNDBQ4uMqSHZk8DpJ22X+T+IMzWzWl+VyU4UZXjkLKPvlqPjJk 1RbKScek5L2GhxHQbPaD76Hx4Jiel0vm2G+4wei8Ay1+0YRFkhySxogU/uQVXHTv63KzQMak oIfnN/V2R0ucarsvMBW+gwARAQABwsF8BBgBCAAmAhsMFiEESbtpiOmzlcaw8cISVFM+0Ioq b/oFAmR3IPsFCQTeZ44ACgkQVFM+0Ioqb/qINhAAtcor9bevHy22HvJvXX17IOpPSklZJAeQ Az43ZEo5kRlJ8mElc2g3RzYCvL/V3fSiIATxIsLq/MDtYhO8AAvklxND/u2zeBd7BkRZTZZX W1V1cM3oTvfx3LOhDu4f2ExQzCGdkzbXTRswSJIe1W0qwsDp+YPekbrsKp1maZArGeu+6FuW honeosIrWS98QJmscEhP8ooyJkLDCCOgEk+mJ/JBjzcJGuYn6+Iy/ApMw/vqiLGL1UWekcTA g18mREHqIR+A3ZvypIufSFB52oIs1zD/uh/MgmL62bY/Cw6M2SxiVxLRsav9TNkF6ZaNQCgn GqifliCEMvEuLZRBOZSYH2A/PfwjYW0Ss0Gyfywmb2IA990gcQsXxuCLG7pAbWaeYazoYYEQ NYmWatZNMAs68ERI2zvrVxdJ/fBWAllIEd0uQ4P05GtAHPdTIDQYp545+TPV7oyF0LfXcsQs SFVZE6igdvkjfYmh+QOrHGZvpWXLTmffVf/AQ81wspzbfxJ7sYM4P8Mg5kKOsaoUdyA/2qVe cMh1CLUHXF1GlofpGbe1lj4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR4P281CA0034.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:c7::13) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CH2PR12MB4088:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a10aee1-589e-4383-e975-08dc137a639c 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: ZbNTXxDOro5vd27pMVcdkis8SVqmpjL3bmWIy5TCWzob9QirXsb+5dXyQKOT4Cp6ASy1fGfU/f9H5tEeD7lKse3mKg+3W4qTjHNCIr+v/2T6vJfpuvlS9SFFIBcJVCncvt17vV7VBPVtH1WU8/tOof6wMby97gd+vq/6riGYZzqUhoXlyNibIEzQwykgEyDxKzsb5Vn5Qea8Kv429DpsT+d3D1mt29IEQm68pbL8Z3GWlPaPuKbbqjYkVMb3WPC/KmOUuUbHIwc1/8VKRSr6xPSo/wODz/7lukmR0dMYDK+wMqYxxt040lSQk4Ml/dGcpwrkZ6yrYfzyrLVGBmuwpn3mxonhHEAMffAuJ7D2R6AXuo+LzGVeY0wG6VAWjADIy+3zG7hFSDKhhObZsX/TVE+IeAqhUwBuJv1dE4h0GFv0BW6DkaJBZ2ju+ih2NXYdgTviY4poxUSHFI6B2yO8HinbOCx1SU96u/iHIaJwZpTn3krKtFx7cv+MPzJaSexvcnOVrgjRzldNTkw3mhAVKkaN8Ea2iz2Lf/+N290P1cZ7fMS2v7LAkFQapWYxMLI+YMuZMksMYml4QKbyd5w1XIh3FnzcGPJcbOxlbDRgb4/vXCew/FMapPBQlg2QiIg3/C/YFADlbc2Vk5vtJ9TcS9YNqa+E4S9vz/BVUOYF30mNrYhnGxRHKtcj5++mOh8b 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)(366004)(376002)(39860400002)(136003)(396003)(346002)(230273577357003)(230173577357003)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(83380400001)(7416002)(6512007)(26005)(4326008)(2616005)(38100700002)(6486002)(478600001)(7406005)(44832011)(5660300002)(8676002)(6666004)(53546011)(7366002)(54906003)(66476007)(66556008)(6916009)(2906002)(316002)(66946007)(6506007)(8936002)(36756003)(41300700001)(86362001)(31696002)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SU55ek9uRnRjaUxJbnpOYThQM0plQ29uVm1nOVZlWElvZkJMU3poRXFGMEdl?= =?utf-8?B?Zm5XVnVqTnFML0E3NHRia0ovaWNwM09JNmR4cVhneVVGM09ERTRzOUc4QlQ4?= =?utf-8?B?UFY4UGtoRTRaK3ZEVkoyaEo4RWtjWm12U1U5d1J5Qnlyamt6aU4zUXFyYUxp?= =?utf-8?B?aG5PSU9nbXRnc1hhWUhWdVNjNnovdFJMR3FQaFFsUTM1VjBWQk90amo0cmt6?= =?utf-8?B?ZndWQW5lS0xEcFByRitPZXFEUjhIN1BFZXFOMzl4cVREck44QkFHbS9ZRU5i?= =?utf-8?B?d1NBdmJ5dnVFVDBsYk5TVEJSMnRINVlZYit4eUUrQWg4eWRjN2IrOFVmM0xM?= =?utf-8?B?bkJxLzA0WEViTkFQUE5jWmRka1ltdmd4cHdnNk1lY2FKUWRRQzJEZkM5SlV4?= =?utf-8?B?Zzdhb0NLS0lNT0xFYncraFZlM2pST1AwK0hPMVRPWlR0N0Z4b0JZSWlZazF5?= =?utf-8?B?Q0hrMmxUNmVaQkVzL1ZzYlA5SElVK2RZKzlkbkpPZ1NTSDFHaTNObHBocldt?= =?utf-8?B?TFMxYWlxWFZFelNjd0JIT0ZQT0xaYy84bXpqcDhTQmhyY3ozQnFteHBvNFBy?= =?utf-8?B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TDBlbTFaR2xU?= =?utf-8?B?bWQzcSt4Z3VhV09BblQ0L2kxZU5jeGo2a2lDSFBoekhuYXBrWnNpM2VESHFo?= =?utf-8?B?T20rSXczMVdPU3NTSEt4eEZpdDZaYXBmcFE1TzlVNkU5UFBPWGJUUk53NzUv?= =?utf-8?B?Mld6anltcGZ1c1o3VnlvL1V0WXJrUXZtbVVVK1JhMWFKakptOUtpUml2aERM?= =?utf-8?B?UnoyVi81S05zU0hQL2c1akRMa21GS1ZWUnIxUlNSRHk3Q2Z6WUV3akt1VkdC?= =?utf-8?B?aXdKQ0NQRWhYL0xpR1JzSVl1RlRQMTBoMHU4OVI4cVFGTWR2cWwvRmFvWXhs?= =?utf-8?B?Qys2ZTNUSjNFelNBMi9mWWQvYnlxME92QWZGaTBrUkVRV0p2NWZINytWdGE5?= =?utf-8?B?OEptaDAxVzRZc1JRTU03RktFeUpoMCtiUlBGSWYxUjdMcEdYejk2RFJPMUZE?= =?utf-8?B?VVpNVU9oTDFGQXZISW4yUG5pZzdZbXVIbE1XVTdPSlhwVzhqa2VMc2s1ZXgw?= =?utf-8?B?UUoxZG5UeXFXWXhBN3FPeHd1K2dpVEY3YWxmdWNXT2lLQ1RwSzcxYjZTTkRH?= =?utf-8?B?TloxSTB4TnZzZkx2azUyL1FvSFkzbVd0SG9tK0RBM0ZlNi9ROENRekdpVUM5?= =?utf-8?Q?oDVo=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a10aee1-589e-4383-e975-08dc137a639c 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:25:56.0920 (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: bOc9mww3dWLmWbgr3vHOcTQbsd4Zz9g6dGyDXKN+qtpfgsWu086KpGbtT1wU0lkj X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4088 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:11 PM, David Marchand wrote: > CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. > > > On Fri, Jan 12, 2024 at 12:34 PM Ferruh Yigit wrote: >>> diff --git a/lib/ethdev/rte_ethdev_core.h b/lib/ethdev/rte_ethdev_core.h >>> index 4bfaf79c6c..d3f09f390d 100644 >>> --- a/lib/ethdev/rte_ethdev_core.h >>> +++ b/lib/ethdev/rte_ethdev_core.h >>> @@ -60,6 +60,9 @@ typedef uint16_t (*eth_recycle_tx_mbufs_reuse_t)(void *txq, >>> /** @internal Refill Rx descriptors with the recycling mbufs */ >>> typedef void (*eth_recycle_rx_descriptors_refill_t)(void *rxq, uint16_t nb); >>> >>> +/** @internal Get number of used descriptors on a transmit queue. */ >>> +typedef int (*eth_tx_queue_count_t)(void *txq); >>> + >> >> Can you please move it above 'tx_descriptor_status', to keep same order >> kept in many other locations: >> rx_queue_count >> rx_descriptor_status >> tx_queue_count >> tx_descriptor_status >> >> >>> /** >>> * @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'? > > Moving fields in rte_eth_fp_ops (where fast-path API ops are) breaks > the applications ABI. > You are right, what about put a TODO note or deprecation notice to move it in next ABI break release?