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 3355E43E0D; Fri, 5 Apr 2024 20:17:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F105D402CE; Fri, 5 Apr 2024 20:17:38 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mails.dpdk.org (Postfix) with ESMTP id 2A9BE4028A for ; Fri, 5 Apr 2024 20:17:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712341057; x=1743877057; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=BrES4gzbPada6Sv3MVmJzICI1mS48AttbH1PnkW/dJE=; b=kMt9LDgfNXdow8HLTFPEj1Fm65jX6CRaNDTMFYkmzVccGQBgHLSJ+pHS 46UoDxT/mNXKs0NKrhjSsK29rjx7p74KL1igPHfWc0SUtHcT+fPFjIl7r Z7pqhHFCz4ggRFbu+6xvZt1y0/XN+aZ6qZqltxxf6yfKSDxLERuDtqPpI pip+MpB8UrzqTm09xsRY8RTfj+dUxZNL1t6KZ98hawwOgwJOA+oSHfUtk PQS50LJvOxQfpTPMNp68HeQgV2qWGDpCvHoDRfWsOB+9DB5VVH2iSNHNm yWJscQpN6IVRnk9PfksBe29sndlhTNTsbJ1FCTtgMv9pNG+uQDOUpMA9h Q==; X-CSE-ConnectionGUID: 61CRsgJ3SBGtE4V1jszuhQ== X-CSE-MsgGUID: GKPlIEdYRcebhfuqdjHGeg== X-IronPort-AV: E=McAfee;i="6600,9927,11035"; a="18414756" X-IronPort-AV: E=Sophos;i="6.07,181,1708416000"; d="scan'208";a="18414756" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2024 11:17:36 -0700 X-CSE-ConnectionGUID: MM2O5K+qTAihqvTW0wtNCA== X-CSE-MsgGUID: TAO284yGQg2xJ83Ej91vwg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,181,1708416000"; d="scan'208";a="19154162" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa010.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 05 Apr 2024 11:17:33 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 5 Apr 2024 11:17:31 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 5 Apr 2024 11:17:31 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Fri, 5 Apr 2024 11:17:31 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 5 Apr 2024 11:17:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iEAsJexcepCiNqAZqXk5/E3tUos2E51u64fMXHF60E9vVVGuRJkWUAtCBlHCO9nyltWSlArQ6GbIExmkxn3xVhQySqgVl8dxHEz4OO/HS3e65wV1vm3J9PEH/an+b6T3xkdXOUKn3Z+66WYl5DH4XyEFmdbEoOcqRN1SG15H3jvPpTCEcwV8Cn+ZfXOlFUEwwrijLGlA4aovnyJ19cmpVHu7WwaNtaolgj45ejRAgHAvGH3wdbNIBaSXlzhcWXCb0n4RA8AGw8rn773haqBl7TLAw7fB+dLQDQNsXm13M9/24+ZG8TYFmw6x04Y3irk1zPR3re1fMVwD2pF+0E3ubQ== 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=ZIk9pLvO7GqOMy2D8BB3WZYLITIf3ckE3khYFLeXg68=; b=A05e/XmVVi74Lsu9coSaFqTYI9DHv9a6KhyKuqJAA+N/rQtfao02WLtVZ8Ly8KPO+L2xMcNROOnMTMuHS7xEtvaPoRCLpplMA0tRhR+PmoOAdYDUYjTcD4zh/aTSg7k03gReGAIzI/SwSL84m1qo6RAqXVC4I2cGPxTWLjaoPxFu+5cUAUjsbIH6Lb1Yl+6VRBi/GuhBawkthen6oMvOggzGXLbdsOXJgIW6YqcisuEtPwJLj+h07op2ge/4OG3RMKoKs6RcCP5E0g2prh5FSHclKA3EBvA7d7xGG8x1GYdI2njLmswruG3XW3hyKgX3lIlOWWhIy7/U6IREmutcmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BY5PR11MB4451.namprd11.prod.outlook.com (2603:10b6:a03:1cb::30) by DM6PR11MB4547.namprd11.prod.outlook.com (2603:10b6:5:2a1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.26; Fri, 5 Apr 2024 18:17:27 +0000 Received: from BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::49d9:bd88:4a13:199b]) by BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::49d9:bd88:4a13:199b%6]) with mapi id 15.20.7452.019; Fri, 5 Apr 2024 18:17:26 +0000 From: "Chautru, Nicolas" To: Stephen Hemminger CC: "dev@dpdk.org" , "maxime.coquelin@redhat.com" , "hemant.agrawal@nxp.com" , "Marchand, David" , "Vargas, Hernan" Subject: RE: [PATCH v1 1/3] bbdev: new queue stat for available enqueue depth Thread-Topic: [PATCH v1 1/3] bbdev: new queue stat for available enqueue depth Thread-Index: AQHahtOfe6W8WWkqzUqeClM5oLxOGrFZymmAgAAyHKA= Date: Fri, 5 Apr 2024 18:17:26 +0000 Message-ID: References: <20240404210447.1915517-1-nicolas.chautru@intel.com> <20240404210447.1915517-2-nicolas.chautru@intel.com> <20240405081503.0d2a74c2@hermes.local> In-Reply-To: <20240405081503.0d2a74c2@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY5PR11MB4451:EE_|DM6PR11MB4547:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2zu38wrwaBglQon6UobkW8L6/tj42vgj9EHphlUCDLyalluXN8JS9tNLCtwHsAj3lcObY3SEbp9azFQcBqG1dLV5mkPSnVd2zK8dAcTuVnfmUv3c/g6zYd6sDg8YVLJJPpg4WyTIim6BGqAC5GaGbwrPtFNHGGFaqRPu68FTRHU/iUVnyhdByfSV5doe0eKLQPqOI8wUvUgVMvX9QtO7OUi9zs5K/5ZN/av1dVWlu1vGgeYnOy6FAzIBPDOhOHvmhWYuZRNtGSKJVNli3sn10b5HuFRyIG2c0pEgvyxktuHTW8DSE57/tGa7C8JskqjvTEU/5xfUHiJS9BKBtK+g0cRIvEgZ6Knw2jvon4vWvXOyd7UZAkwmNu0wBQ2bXI6vvcQXI2L7eU6gebIkiGaWyRHN+NoOUyl+QQ/iNwsTlw1Cst1PNdYZem9TVa4h4Yc5Old1/qQXwubb7TWxY/HTOGmZ8cPpDsWwUlHBI1NYGcTnWLWRwSHfKnPqg3Wtg5yE+UPlv8QSVMNm1AbtyV60pl2t4Wue+6HCT/c4p5hlr/SS+Kj+pV94pVniiHP6be0sMapfW21W+XM76GXR7bfLR/nMuYMK5dxhwltFYzssdHC8aJ08L5syfP/qF0CnLXEeqPB7HfpA2hXxnjjEtvLVOhcOachP5ndg7e38vHbNP1s= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4451.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(376005)(1800799015); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?OC4HnnZ2o6RKXN3MD6SFGFmtN/qJhdfXLFX18aB1lS7ZApKzqFLdZBloWORD?= =?us-ascii?Q?7b7mTHh8p6A/KRWDwTh73Y9lRmANxRPilV+7xbwQqeNkbyTNvBX2KjLP5ocL?= =?us-ascii?Q?Ztp0v2L6RJX86smduHMMDA0DRvEPvPviNi2r0d/dWc4NixTzImpocJyBAN/I?= =?us-ascii?Q?kEIbqOB3FmErjnv/AY1pnovUt9LwW0u3wpj7hMcnnadYfUzcAUZeO/W2Oa0F?= =?us-ascii?Q?r+190TcHjOGhh1ZBOMLsGSsNz5sgwzGuURnK7ThquM738Rzr2MWrbq4Pj6+2?= =?us-ascii?Q?uONNle2muXxypoO1v2yZYSc40+MCktWOP9m41fuue6+qodP29ihF4Dbt3d2X?= =?us-ascii?Q?b5OsGG7wr0277Eeq3r2b5XbTFo6ciMUL3HF2CQFY++VbGOfGQPWwHb/tVan+?= =?us-ascii?Q?AJCBimgVW3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Ig?= =?us-ascii?Q?bC0sX0bMOqogLr7+zGMn4FEEWqTohN8LuQ6OGAofHokl0mSXuiRz+vds1V5r?= =?us-ascii?Q?0LTizGYY0Y9VKr7LV6iEUCJsvICYQJjAMDJxcXcpslgzZm9yO8GbEiqVngXq?= =?us-ascii?Q?FJc86c8Db4LJsUWTbfgHEp4T/S7sMY2bdMXi95mK6Fav4BOffiyJlrQ7pDg6?= =?us-ascii?Q?xGDoD/6EGop3ZCpH9ANXdk6Z9MH9ZZBRKGKyf2cFUxxRTVpil98n0sbzpo9Y?= =?us-ascii?Q?kZmKKpoAKux7Yga7lbQICFZEqkm+TAS+ODbLg+A/?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4451.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d75fb507-ec2e-4210-eb3c-08dc559ca5cd X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2024 18:17:26.4634 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zGeh4T9eseT7ZNXr54ucOCRpgq2TKmpiZh2/xLN3/bnGziNpxXu2Dyk2zRuE2WbwYRrbgetDkCFlYQBJFKO5Ala5Z3Pxds/+8P9czWA+pzY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4547 X-OriginatorOrg: intel.com 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 Hi Stephen,=20 It is not strictly ABI compatible since the size of the structure increases= , hence only updating for 24.11.=20 > -----Original Message----- > From: Stephen Hemminger > Sent: Friday, April 5, 2024 8:15 AM > To: Chautru, Nicolas > Cc: dev@dpdk.org; maxime.coquelin@redhat.com; hemant.agrawal@nxp.com; > Marchand, David ; Vargas, Hernan > > Subject: Re: [PATCH v1 1/3] bbdev: new queue stat for available enqueue d= epth >=20 > On Thu, 4 Apr 2024 14:04:45 -0700 > Nicolas Chautru wrote: >=20 > > Capturing additional queue stats counter for the depth of enqueue > > batch still available on the given queue. This can help application to > > monitor that depth at run time. > > > > Signed-off-by: Nicolas Chautru > > --- > > lib/bbdev/rte_bbdev.h | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h index > > 0cbfdd1c95..25514c58ac 100644 > > --- a/lib/bbdev/rte_bbdev.h > > +++ b/lib/bbdev/rte_bbdev.h > > @@ -283,6 +283,8 @@ struct rte_bbdev_stats { > > * bbdev operation > > */ > > uint64_t acc_offload_cycles; > > + /** Available number of enqueue batch on that queue. */ > > + uint16_t enqueue_depth_avail; > > }; > > > > /** >=20 > Doesn't this break the ABI?