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 BC94AA00C2; Fri, 14 Oct 2022 03:46:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6413E4014F; Fri, 14 Oct 2022 03:46:18 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id A8803400D4 for ; Fri, 14 Oct 2022 03:46:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665711976; x=1697247976; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=jNTNePULaFMB1FEIxQvcDAcQtjGOZZgqXO31PvkhxHc=; b=QkqarMF/pshFHSa8FltyLorlL+nEKtI7pGzgKZeWE9V/DK7CuWsS+jtY hmk6RpS/XO4FSqNSOubRxrF46YuudXGqOVZ8jUoGophJUrNokq+9drl1C YIhF3RYi1So2XN6r0pXAbB8kW0IcUbJWOvXZVh4EmMXhSxo8RnDQrcS3N DOjNUR/+4Fbpx4SDf0TYI9VI5GTtTo7Wkd9SObILKH/AyFbN4V/UJqrZc 9Of1Rc4VNXtDTHRwtZyP6FAmsXnSr4dsq7jDwYL+b96PVwYMEvMjtQWGF QEqLR1Kn4I/6LUFD1yA5SpQii1n16fd78cp4Tb3kLPfUvJtx7nPYwWlh8 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="391560580" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="391560580" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2022 18:46:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10499"; a="696124229" X-IronPort-AV: E=Sophos;i="5.95,182,1661842800"; d="scan'208";a="696124229" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga004.fm.intel.com with ESMTP; 13 Oct 2022 18:46:15 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 13 Oct 2022 18:46:14 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 13 Oct 2022 18:46:14 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 13 Oct 2022 18:46:14 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.40) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Thu, 13 Oct 2022 18:46:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fqMSOk/Z6GtsZoHvSSmhtTMV0O5QzEs83MMm3lKzd9bn2srDIstMCocu91bmArdrUg6/9qXrSPbsXuwJWIgoq8y82vDjrQUUw7Nxt3u5/9VWneiIJremfG79ppuwV1+6Zs3ePq9YHdYxysP0WWoV4E/jpsN3q6UuUtmmnmU93614eRt6Uqd5Cq2Mh5j3LMU9yWcA2/41oUnr9ypv+GtzPPYezs+4VEijmu80eq0YWtPgIkIm5+0vSRGz6TXtvonBF406uC+8hBlewFQgnGBPqs8hPVSCPjHo38Rcz8iwhuW5sh2It7mWwyDnDDre/OESa8zS9qm+w5CUimjw576ZrQ== 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=jNTNePULaFMB1FEIxQvcDAcQtjGOZZgqXO31PvkhxHc=; b=heXMGfD3yBMp7AIRIfeVL763BXxdQskos615WqpMe9q3NJxy2+pqIsM6gbMRSPpqIvoozITArh9oe0nKJbl5s9T4tfo4ucg6SPc9yLJ+N4jrGB2gIBv0d+nUlyAODKjgj3nqXbWLdbcnnycLcrBJaOqnVnk20OcSF5RkBrK4O/DQeo9woKFEKX9m440znD6av24xq1tKp+iT4p6uyd8z52DUEaUlxWVOZib/AXaRDKLaEFqvIWJbiEOM7PTGz9bK5bDAUfrds7qeD5dh19e/MayQoNlgYP439QPLccCpL6ktk5bJgWAhTKZDMmfGyyHhFDHK6JTfaJvNroJ4K/Q40A== 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 PH7PR11MB5981.namprd11.prod.outlook.com (2603:10b6:510:1e0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Fri, 14 Oct 2022 01:46:10 +0000 Received: from BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::e6be:3feb:17fd:bdcf]) by BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::e6be:3feb:17fd:bdcf%7]) with mapi id 15.20.5709.021; Fri, 14 Oct 2022 01:46:11 +0000 From: "Chautru, Nicolas" To: Thomas Monjalon , Gagandeep Singh , Hemant Agrawal CC: Akhil Goyal , "david.marchand@redhat.com" , "maxime.coquelin@redhat.com" , Tom Rix , "dev@dpdk.org" Subject: RE: baseband PMD APIs Thread-Topic: baseband PMD APIs Thread-Index: AQHY3uW8LmFj33oGzEuKO4uLNlEn6q4NHTuw Date: Fri, 14 Oct 2022 01:46:11 +0000 Message-ID: References: <5703375.X9hSmTKtgW@thomas> In-Reply-To: <5703375.X9hSmTKtgW@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY5PR11MB4451:EE_|PH7PR11MB5981:EE_ x-ms-office365-filtering-correlation-id: 49178ba6-3b74-42e7-84cf-08daad85df92 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lcX2M5RQ6HTRF1f+4LhmXoHuBOZgXbMeAyExmgPgrjrLCBJVbz8RicbGzb9U7IEaUafas+6ZbcWwE5p/CJjYYJyUSigCfXz2TQXis51g4IWgjTbqc7XVDODb1NOlNkdHaitB+Ya+0P3/KJYzd98i4ZMZ//j8UsOz2LrzCKPoGnISMsopUSwU/aHP+zwF6GEeJrRGdNp4qzcC9nq8HPAJ2jClYj3lt5DWh9VFTsv2mUuShNpxm1DDnlfeFLclcTeFzuEMnUZ9XYPeAxyhIhGrRh6kO+pi/d9IDo33E9p00dR/sZcU8Pb0kAQCx7EagbpaRYKwah/bzj6lBGxt50GNxI0tqNMRUhVtU1iLJbQVp0CqC6FTfVJRPybDcy4DTefkEx8d709T6L64Kiax1uH3lA5hWstljBtLj45Pf7hyWgSrWSab1+U2IKoOa9Du852NBCeNlb6X4GjAtyrBei7tUOQqX/g5h6F9hH52CKJ8OTn1KWFrEPlk+bkq3XXSWxayzmu3TBOKKSr15NZ/WgGyBomr6FjBresyB7ogRFnPYJHoRg/hhpvjqK4371EBVtc6TJHGjnFBkJIbveJpfQMsL6eLxlwMiVAAjUMNMJkW8bCLtHZ4BxNfYqUyyws8X6j+NytMTiGVIKyTIAxJnH3ddid5tKWkMwwnZtPGtZpG2gP6xqACsjeJfg8ZxEauZa5L0fJdbGP354G9pg3aBSbjEL8ZUMRl1G8g8BtY8wTVpYUjNOokqPiCMIMwDNR8MttFrBX9v8YQvYyiGB8EmX29H9oXQXi9hVw7Iwkj2VC2Onk= 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:(13230022)(366004)(346002)(376002)(136003)(396003)(39860400002)(451199015)(76116006)(8936002)(66946007)(9686003)(53546011)(966005)(7696005)(478600001)(6506007)(71200400001)(66556008)(26005)(66476007)(2906002)(55016003)(8676002)(4326008)(110136005)(64756008)(316002)(54906003)(3480700007)(41300700001)(52536014)(66446008)(7116003)(5660300002)(38070700005)(86362001)(186003)(122000001)(82960400001)(38100700002)(83380400001)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?nE+N5ZcwHoGozuxQBWFlUoTSzcTniC+Onwf98vvWdedM1wbAzItUnezKx/CL?= =?us-ascii?Q?Iw1NnB1dHCjpfhwGTVBNeVrM6a5q6rXZzIcbmnrMVjq0uRmxGJhr2uZKhMAo?= =?us-ascii?Q?8+pPnKSzFK+oZ25a01KIGzJ5BxsYaROT+A9aa0+/k4ybDjOSHE31G12fttlB?= =?us-ascii?Q?+CR1watw64tUQTbOL3tcJfwt4ydg7v8VLMhYUJGzJgo4ooEeNmKuaeYLhKZi?= =?us-ascii?Q?n8ljfQd2vyDD3xckE8BZ//ntYYc/8lkOTqmbdGNfj3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q?eOYOG6FXCYO3U81OO+J71P3jIttOrkAdbPZBABqRMF6/WE08qvvW3A3Rpjl6?= =?us-ascii?Q?FtQxVUyS7CBFWIIuoxM9cBZo8ys1YaoAPu/8sjWmmZTg2ITWukwllPhzjfU5?= =?us-ascii?Q?Isz04JgDt2H0sgfkuh7HhIHd1kqjPfBfxUFGGXA0iMAN3Hq3hH7qloisNQeJ?= =?us-ascii?Q?XgVaSuFthkfv7sM1mGgA52tYqYbz9pDmDKsGNpKkqTo/jblONFVjwm2qbm9B?= =?us-ascii?Q?Tlnk4I2ItohT53ddWWyN/COa9FZtCQU86ORzjl2vEl3Jr+gdXh0A6HhLHED1?= =?us-ascii?Q?XXebMMd+FTEoydWbiqvVCX+sksOr2z8y9k4p3FiaZNPoW1H/jbxNLrGZj3Aw?= =?us-ascii?Q?gG0XtIBVOckaKc/jI+AxznFwaGELtpvT4g+zRqMM4csKxzWziQ47U91ecLnR?= =?us-ascii?Q?gLp6y7s1yu+CXKpCgmTrkENgPRf7E+98ygyEvU2o?= 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: 49178ba6-3b74-42e7-84cf-08daad85df92 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2022 01:46:11.8898 (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: RVlk6VZp6R3+yvwpBvlHL87jFDEPhqrnt1ZxaSTxaHK+zhp1Vtg5yB7CmbUafyHmMyO0UErrxntDgRk5ejQZxT6gZTBSKvBGG1US/CZa5ys= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5981 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,=20 There are a few options: 1) Keep as is, but not too scalable to keep on adding PMD APIs. Still there= is no plan on adding more API, so no rush.=20 2) Keep API internal only (but in that case only work with static lib I bel= ieve) 3) Take out off DPDK, but that is used by users notably OEMs and for test p= urpose (bbdev-test) and hence proven valuable to have everything in one pla= ce.=20 4) Include under bbdev API, my concern is that this is not really meant to = be used by something else than bbdev-test hence can be confusing to VRAN ve= ndor by polluting the API.=20 For the sake of discussion I have captured what 4) may look like here: http= s://patches.dpdk.org/project/dpdk/patch/20221014014205.38074-2-nicolas.chau= tru@intel.com/ Note that the actual configuration is just a void* since that configuration= structure is device specific (we cannot standardize this really, nor would= there be any value to do this here).=20 Note that this is definitely not blocking migration from one driver to anot= her Thomas. That companion function is purely to help bbdev-test. Happy to discuss more, I don't believe we need a swift decision though.=20 Thanks Nic > -----Original Message----- > From: Thomas Monjalon > Sent: Thursday, October 13, 2022 2:25 AM > To: Chautru, Nicolas ; Gagandeep Singh > ; Hemant Agrawal > Cc: Akhil Goyal ; david.marchand@redhat.com; > maxime.coquelin@redhat.com; Tom Rix ; dev@dpdk.org > Subject: Re: baseband PMD APIs >=20 > To bbdev maintainers, >=20 > Do you think we can avoid having some PMD-specific configuration? > It looks blocking migration from a driver to another. > How do we manage that? >=20 >=20 > 13/10/2022 11:07, Akhil Goyal: > > There are 6 bbdev PMDs, out of which 3 have pmd APIs - all from Intel > > These are the PMD APIs for baseband drivers. > > rte_acc_configure -> this is being used by 2 drivers(acc100 and acc200) > merged in a single folder. > > rte_fpga_5gnr_fec_configure > > rte_fpga_lte_fec_configure > > > > The fpga ones have almost same syntax. >=20 >=20 >=20