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 66466A0542; Tue, 6 Sep 2022 18:47:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49078400D6; Tue, 6 Sep 2022 18:47:14 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 9B3FB40042 for ; Tue, 6 Sep 2022 18:47:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662482832; x=1694018832; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=B32CZhHfRDl2uVi3BPJivBDZjbZKiyBcVKg4RgwcWU4=; b=AU/yywX2DYT+R/ZyIgSRLcylXpXok5s7mzxMqZkq29XYncfGhvwHOLmF o5ED6mlfzi6evL137KBc1HJndCmGbgVDVw4Wt3MnuN4FZl0zKIxYZsrvw Pgm77BE7kfm2UPp6W2RdhBjkpLYJUl+4+KXJyUBnkAp4q8DjDHOATWcr6 48ZjlT5pw+UsiVmX6z7HxDSA0yu1B34okWIozf4HXOP2M66R7DCMxN243 V7piRI2N7o2z9zu1M07pi1O4Oh53imAdLa2P35ScneRmqVK8IvX1CbD59 YNtiWCgcgM8tUoR//iqt4oSsqp67c+hQYXH5LHgJvN5Zrno4PGxZZxmNi w==; X-IronPort-AV: E=McAfee;i="6500,9779,10462"; a="295380952" X-IronPort-AV: E=Sophos;i="5.93,294,1654585200"; d="scan'208";a="295380952" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2022 09:47:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,294,1654585200"; d="scan'208";a="675770750" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga008.fm.intel.com with ESMTP; 06 Sep 2022 09:47:11 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.2375.31; Tue, 6 Sep 2022 09:47:11 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 6 Sep 2022 09:47:10 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Tue, 6 Sep 2022 09:47:10 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) 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.2375.31; Tue, 6 Sep 2022 09:47:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NVvjhAC4eySLu7afvJ/m0agOrQOInjzEkLTMb4lORblLyF+/U0ZRWJLrbVeF5okx+X5Jx2HOgtV5nwVUmYZlqVKRp2jzfzPLrZcJnnGPp9jxWkKwMHZSirCFhpe2W/fCJPCGA1qlCE6TWXIjdXCGyFwCFMpZ+p8JBOsbjlVrbpv9lfT7VA8UkbgBNPUHCy/pPMjQnYQephQSnPQiLATYVTlY5ysYaav5GH4yh1tre9D6tjnAyyn2/ed+I5q3xw0+AJ4Os42gQ/Q7NdihsOT1PMdsQcKsF0aNQ0gifF8V7cMwje+bo6rIssUv7/NNqrVgawfZYV2glSZFibPZW0GHUQ== 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=R7RLR3FWgPivB3QytVkLBsaaf0+gpwwe81kCA9gqoNQ=; b=eZW2EiQ+acG+R3NdjqXTu/+guFzXHblpqHcZ4dTuXKh8XHSwAyYOIwvJyn54Ku7k0P+EbTcAEOGq6AYEM9TFBirQxtfJ0bJCOD7arY1S4dIbAiIKH+q7UfgnM8XnUd8fPuxOP6159seC5eu07TB93mUphPrdRIWN73ISgAzyhcgbAToiJ8aHugwJNT3S51vlMabuUi3m3tNJD/Dj0RCEpjg2VCl2X53z0/nwkXpsCH67bOqdXjZ4BuJxiotI5KaQ8Z8gJT/VIBkvFi7DxT274+xv8yYAkjsdPgVe4y5SE5hGvMiQrjYa6YYexiHO1UYXYiNqDJNyZbB0sl1e04kTSQ== 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 CY8PR11MB7195.namprd11.prod.outlook.com (2603:10b6:930:93::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15; Tue, 6 Sep 2022 16:47:09 +0000 Received: from BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::e4:133a:24c6:cddf]) by BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::e4:133a:24c6:cddf%5]) with mapi id 15.20.5588.018; Tue, 6 Sep 2022 16:47:08 +0000 From: "Chautru, Nicolas" To: "dev@dpdk.org" , "thomas@monjalon.net" , "gakhil@marvell.com" , "hemant.agrawal@nxp.com" CC: "maxime.coquelin@redhat.com" , "trix@redhat.com" , "mdr@ashroe.eu" , "Richardson, Bruce" , "david.marchand@redhat.com" , "stephen@networkplumber.org" , "Zhang, Mingshan" Subject: RE: [PATCH v7 0/7] bbdev changes for 22.11 Thread-Topic: [PATCH v7 0/7] bbdev changes for 22.11 Thread-Index: AQHYu9Ue/M+dvQMIF0q8fadNHGnNtq3SqHAw Date: Tue, 6 Sep 2022 16:47:08 +0000 Message-ID: References: <1655491040-183649-6-git-send-email-nicolas.chautru@intel.com> <1661796438-204861-1-git-send-email-nicolas.chautru@intel.com> In-Reply-To: <1661796438-204861-1-git-send-email-nicolas.chautru@intel.com> 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-office365-filtering-correlation-id: 3a9160f9-35ea-4d42-64fa-08da90277002 x-ms-traffictypediagnostic: CY8PR11MB7195:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FDcMZw3Xk0Nl+ZGVVtdM7Z7UXzRQZMUB7O4onDZUpQkJbE83xu8f30XYUzT1OMF820nbJVGj9IKNnJS5f2D7PyYF90MOVvha88ei0EquojecTCXve9eLwThbZ3PN2SODMUMa64xXllpzNPl6D1wr8cDaMUD+PcUcED3rjljevAEABNW1x++zDg5YYKexM3qZUahLbTDfHiUJVbP+gTqDwmb7rGhvxfj7rYU3h0OSUsp+xQdK0LCO/x50tantXosQkzfdFMYOYrT8Pk4duzpPsgKv01r7WkKbRQ+NrLaWUAGSLbrlXSCMOEL/DJYTVfvD1p+WqqykSoJuEWSlUL3CDwa+r3swzLz6rU03csUE+AfH2JpqNaf4jGBjHdziFHVtbju5S1tCPtKXO8dhjbsq6xVrUykwk5IkV44Wx4FBWvJ2Jr04+LR41i5VmAIZRYL+qQU50O2k3gP0tjS10Si4lPL7qWdI7zA69Y+tgXPP4Cl+KJJ7/ZR9YeyYFW+6mzo/y4akmcNISB0SAqM9l4cZgW9COq8a+hYK38SVXeqv1nLfoLW2N1o7ZHYnaRIBTV2kDzKJ7Sk54JZSLsKrPiZENwD7TO1+ZGmJIG/XMc1i+HM4Wk2NRNAoOqdJ3EFFOUmEm6Z5iz4h1UFBL1jKWnQ3EnMJinRn9j3zFXSHZzWaaAE1VT/cmH2gDYH01XDLgUwlyRyrsH8otcMLegrhc5O/FtWmrgsS3YP/Tr67j68D1h0KstF7pu48R/Qqjc7tbyuFN/D2D3TSy0AV5RoMqkLGAA== 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:(13230016)(346002)(396003)(366004)(136003)(39860400002)(376002)(9686003)(8936002)(5660300002)(6506007)(53546011)(186003)(26005)(52536014)(7696005)(107886003)(33656002)(86362001)(478600001)(71200400001)(41300700001)(2906002)(83380400001)(38100700002)(110136005)(66446008)(64756008)(76116006)(66476007)(8676002)(54906003)(66556008)(66946007)(38070700005)(82960400001)(316002)(122000001)(55016003)(4326008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Dvw8ZA/Js/jPR2FeGy8wbOAAMB8bUUIv6nCVBq92bD1pKkj21KvfIf9PPE71?= =?us-ascii?Q?g4JmZtmS0qGTp6cSsUdmgqED8uCG/uUHUzEoUph2Ix9vfeGAzn6jlz74q5ep?= =?us-ascii?Q?xXBVZNuBGBI+kSGCMCvFqDg8xdeuRUxn4kgdhuJF7LDksLZXY28sgFM0TB8L?= =?us-ascii?Q?TmldPmAsjKzOSEEf69E0opeDFNxsz1bOCNCFhcSq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hEZ/iqhpHkT0ag3rUxQul+vXv6lb5dUQur3IbJp59RC?= =?us-ascii?Q?sZvVMUMduV+u8khUp0/zBw7UCOfbAMnE6eMXNx0jlaVFpqeQnusva5Rpfvh9?= =?us-ascii?Q?4uko3FvlDvnjh8r48XiSL8JHohrVytclRM5UAlQnkgPILfKwOXXygiS9Frx7?= =?us-ascii?Q?5ab6bvGqqpY+y6e9o9MVp3GyQjP9KDOSta6lk0bvMJS4kmzJAnlj7Fktn5wJ?= =?us-ascii?Q?hKXbDx2fzvl6PK3dswyxd0/Zxm2EWESqMQHcX58wkwO2kY/uPWadkyQtCcXA?= =?us-ascii?Q?GF2qbpeed4DCf/eCcMyb+ViC+mQ2pZUxWuW10lTHqkQr+I/+pflINQj+3Ncm?= =?us-ascii?Q?2Q8Flm9l+OK4vAUkCVts2zmG5jt+R1U1eehKxVcXOhvkLm6IGWlYTeeCz25Y?= =?us-ascii?Q?yB7QWb562259Q7FfvdT0RttIMdP4uvhGOv3a0HV6DMFV7bJ4FuXkk+VB44sE?= =?us-ascii?Q?Ny8l2H2EneErRG2b8xXt3mwsmnzbGTe4wYvQbRqe?= 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: 3a9160f9-35ea-4d42-64fa-08da90277002 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2022 16:47:08.3519 (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: nYEfcIUuUgDsQ0gnKF7+XavVZr7aToo5SDFcWmVbIHoonFwFB0iw6OJX/g2qXRdZggqolUkGf5SMTqT990J66m6ujaPDdoDEAA8YbYiwz8Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7195 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 Akhil,=20 Can this very serie be applied now? I would notably like to rebase the other PMDs series based on main branch o= nce this one is merged.=20 Thanks! Nic > -----Original Message----- > From: Chautru, Nicolas > Sent: Monday, August 29, 2022 11:07 AM > To: dev@dpdk.org; thomas@monjalon.net; gakhil@marvell.com; > hemant.agrawal@nxp.com > Cc: maxime.coquelin@redhat.com; trix@redhat.com; mdr@ashroe.eu; > Richardson, Bruce ; > david.marchand@redhat.com; stephen@networkplumber.org; Zhang, > Mingshan ; Chautru, Nicolas > > Subject: [PATCH v7 0/7] bbdev changes for 22.11 >=20 > v7: couple of typos in documentation spotted by Maxime. Thanks. > v6: added one comment in commit 2/7 suggested by Maxime. > v5: update base on review from Tom Rix. Number of typos reported and > resolved, removed the commit related to rw_lock for now, added a commit > for code clean up from review, resolved one rebase issue between 2 > commits, used size of array for some bound check implementation. Thanks. > v4: update to the last 2 commits to include function to print the queue s= tatus > and a fix to the rte_lock within the wrong structure > v3: update to device status info to also use padded size for the related = array. > Adding also 2 additionals commits to allow the API struc to expose more > information related to queues corner cases/warning as well as an optional > rw lock. > Hemant, Maxime, this is planned for DPDK 21.11 but would like review/ack > early is possible to get this applied earlier and due to time off this su= mmer. > Thanks > Nic >=20 > Nicolas Chautru (7): > bbdev: allow operation type enum for growth > bbdev: add device status info > bbdev: add device info on queue topology > drivers/baseband: update PMDs to expose queue per operation > bbdev: add new operation for FFT processing > bbdev: add queue related warning and status information > bbdev: remove unnecessary if-check >=20 > app/test-bbdev/test_bbdev.c | 2 +- > app/test-bbdev/test_bbdev_perf.c | 6 +- > doc/guides/prog_guide/bbdev.rst | 130 +++++++++++++++= ++ > drivers/baseband/acc100/rte_acc100_pmd.c | 30 ++-- > drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 9 ++ > drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 9 ++ > drivers/baseband/la12xx/bbdev_la12xx.c | 10 +- > drivers/baseband/null/bbdev_null.c | 1 + > drivers/baseband/turbo_sw/bbdev_turbo_software.c | 12 ++ > examples/bbdev_app/main.c | 2 +- > lib/bbdev/rte_bbdev.c | 57 +++++++- > lib/bbdev/rte_bbdev.h | 149 +++++++++++++++= ++++- > lib/bbdev/rte_bbdev_op.h | 156 +++++++++++++++= +++++- > lib/bbdev/version.map | 12 ++ > 14 files changed, 556 insertions(+), 29 deletions(-) >=20 > -- > 1.8.3.1