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 E6975A00C2; Thu, 6 Oct 2022 19:33:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D41CB40DDC; Thu, 6 Oct 2022 19:33:41 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id ACCA540042 for ; Thu, 6 Oct 2022 19:33:40 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 296EFdTX016168; Thu, 6 Oct 2022 10:31:34 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3k1d7gmqsn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Oct 2022 10:31:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TGUdlFj+QTjF461KuinIZ34nFCurdjtCZl0DpW2yPlJlkD4oGbonMZQwVFX/mf09xkc3YYhvp+hyoMeJ2dvhHL7J8jTqP1sXFiHnQr7Uh+A9eYPDd7OuK+nINUO6bmeqjKJor6/lz3pQlglFIY3Wx6ooKFG5W7d2R2PNC0mMWWNj6fuLL4uKYuM3ahaCb97nsxKpO452GKafQVuhEII3PZGDH0+lpc9+cd4Nnux3pIK9o4kCk9KxE9xen2pvjrTMFCl3ho8D/eu3aXZlIaEg1jEsPECn6A54MyFVMMiCyUQhyhvHCZhta8Gi28x8SqmMtE5r+DlcebiLbuhvqg3iuQ== 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=g5GvStmr+pxQxsW0fe47HmWPvaahzt+dsl3DhUVl0d8=; b=Q70MmalghlS8Lb1xOCgrz+qXv7M16q2bLG3lPbs1lOCmS+kn3t1u4TaCgnUcn2NN9y/nlLOpUgNPn6GlIW/rGoG/dRKKkXONQeVRCPFmrAK0Xq57/RO4dQWZXoMxmiUikd3H1uvF2jCvZ4PP28LI0JUUdi7IFMVXj+U42inpnP2CLbMMZX85EluqbYhb9DHqYJdVFftv2vH36XdNtsIfVVHOokl4Z+x8a8F2kaot8/a0vrA8gWY5DlR/hi+W9gXcCy4GqBaO7wKjOB65j0nCdmCB3pyttMMWXNEes7cKnTquQyeLQjC4tt1J2UYsao0/07tC15osUGrXHbySy+bdGQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g5GvStmr+pxQxsW0fe47HmWPvaahzt+dsl3DhUVl0d8=; b=L2f5FBHUNvxK72fBdY+uCXG6A3eNrh4B6V+DyYG0E8piCowZP85kh5MKEVsHC0yZvoaqbsRrUSva1DFdFrMbx2vVXLy2M5DA8qw3MLAs7L1L1q8opF9xRLFfwYZbx1gCzewD97tZsm6vhkxySYOEDNVfd+NKfx1jusQguSnR7rQ= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by MN2PR18MB3592.namprd18.prod.outlook.com (2603:10b6:208:26c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.32; Thu, 6 Oct 2022 17:31:32 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ee27:3b96:a580:ba9e]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ee27:3b96:a580:ba9e%9]) with mapi id 15.20.5676.033; Thu, 6 Oct 2022 17:31:32 +0000 From: Akhil Goyal To: Nicolas Chautru , "dev@dpdk.org" , "thomas@monjalon.net" CC: "maxime.coquelin@redhat.com" , "trix@redhat.com" , "mdr@ashroe.eu" , "bruce.richardson@intel.com" , "david.marchand@redhat.com" , "stephen@networkplumber.org" , "mingshan.zhang@intel.com" , "hemant.agrawal@nxp.com" Subject: RE: [EXT] [PATCH v12 0/7] bbdev changes for 22.11 Thread-Topic: [EXT] [PATCH v12 0/7] bbdev changes for 22.11 Thread-Index: AQHY2BUmus88kB47d0iJm+ofLlDVa64BoeJg Date: Thu, 6 Oct 2022 17:31:32 +0000 Message-ID: References: <1655491040-183649-6-git-send-email-nicolas.chautru@intel.com> <20221004171656.17967-1-nicolas.chautru@intel.com> In-Reply-To: <20221004171656.17967-1-nicolas.chautru@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|MN2PR18MB3592:EE_ x-ms-office365-filtering-correlation-id: 4da35cc2-74c4-44f4-402d-08daa7c09c6e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HYxh6QOsj0pxpMX/PcPDjyfBmthwYGUjdednuIn3KCJOgfolMursj852p60xZsOdP1SkRdWsCn3+ijRAKUjg9cmMfQMJRCpC94vy1Ibx0fWZjZXAPmbXaIUYVL3JKr/xznoTu6xO1PRWRt0EMVwXfCtIA4mrrUst6+hYHWBEJuTgR0NNTpjpLLVd6gp+FsjUx7pBYBa4QxlerXhuNsxau1hJ7qgdnHtC0Hl9DSzKTFqp7fPVGPb5Vr9LuVo8GMy3eBxgVgWk5TqK5p0ODdLyl+vg3a80tuTqi4zRuhPzJ80KQhrbI6MWr1R8tymNKCQYd0uY2lsTyeYlzrzM7E3Wx+XAU7r9JTWygaeAV/LAoBtbffQMqv9LhU4RO9WQ2ziH5hmI33Icz/VjdaGpexTetcPgbAT/vd2b9T9YEX9hWyQqeEXvkNAuyXya4DqAuXxmzNGs0sExxY2TNJWUV647zj6pzLcyJFgCbySqDEoGWaOR3QVkHaKIvUUIQtzMb5q32Ib714hGRUmShmstFMovxcQs4K7XDph0vzgUJeFPYflBehec82oIq0c5zqENDBwPKoM3su5LMjLhZu3xCt5YDRBzjKe25a0b34kbXxGEZ9LXXigVWPHJnnyAFYQ5h9pmRazd+7JvHZ3gjz9ceG5Lm4T4yQswK1d/xkuRXhftNtAGgi3rluzfSbahPXgGkrsgbvhs6p5Ep5oKBgSNdo0/e5y+PtC36rWzz3spT1xGzc8EWozO98WeGnh3vfJigzWRy5Vsf274F4JtL270aq6hUA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(366004)(39860400002)(396003)(136003)(376002)(346002)(451199015)(64756008)(8676002)(4326008)(83380400001)(66476007)(66556008)(66446008)(71200400001)(38070700005)(26005)(7696005)(8936002)(2906002)(9686003)(54906003)(76116006)(52536014)(122000001)(186003)(66946007)(41300700001)(33656002)(55016003)(38100700002)(55236004)(86362001)(6506007)(110136005)(316002)(478600001)(7416002)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?anjNMage23cegbq1+eSxfbIR7icPvU4VbChDdpPwZe8a40XhklKTF0QXUbes?= =?us-ascii?Q?KkEb9TN6dljLHgL/N2As8tBbJ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q?+mliMo8L/q1RS/PEQVVdgjQeS2DEOG8ZGLGe6J6XaM1fOcNYxTsKWLGvGPs3?= =?us-ascii?Q?gApjXCVjsR0Q1Nd80uTxGwfvttYCaKWxYrIe8U706l3U1QMMO7xALmbsGdad?= =?us-ascii?Q?5xfDOYeN5Ez4eZKWKkam5Ct6WV6y2sRRfngTpD15gsAfBFNN4VPrxX6/WAs/?= =?us-ascii?Q?PEM0lRcVULa6xKF92ACEwUXP3bVRg0zjYZTWkBocLTzlSpKE564hHPHZIIzt?= =?us-ascii?Q?CeBFkAPO9/9FQbVJ8ng33prVVKVYFDmragZKZGd1D3sB3tUNms4UxUPyhQMi?= =?us-ascii?Q?CTKIbaKbR4EycmeIPB00son3tjm83tBiVen6vN6SRdwo4QAxich0ymkGvnU5?= =?us-ascii?Q?pm9rwoQByM8CBZE3Xc/qEpNGjC6PMbMX1ZW5xmEjGFqTV8Z/javEevvVFGyG?= =?us-ascii?Q?lkfWeVB+iVWJMKld50MMg71eANAcvgAUw/J18/ZmrAQbW+h2tjioIzu0HSOI?= =?us-ascii?Q?U81m08unRBJ9DGJ7VhiN4/Ou5HEsaFw+zgqgkVvY9MQSC4N3HOqp9V500rIY?= =?us-ascii?Q?4XjXvjWTBRJdU/gAe9NKvUfL8+0TcQcnF5fM+Osy6FRglsecRrMeZ3/L2APq?= =?us-ascii?Q?zUdplKQtrd4KaJVtPmJivOcBnInwIYNAwgECBeGo?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4da35cc2-74c4-44f4-402d-08daa7c09c6e X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2022 17:31:32.5752 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dq/GqTpmSyQuSq7erzPiXTIHeSJjQa1xlpgMwOQLx6jEawEPm8r+Cspg9SNozYjgQS20ZTDOpBlDO2N7AeaH+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3592 X-Proofpoint-GUID: twza-h-o7fhsFJty13unBqx81-4MEp4f X-Proofpoint-ORIG-GUID: twza-h-o7fhsFJty13unBqx81-4MEp4f X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-10-06_04,2022-10-06_02,2022-06-22_01 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, Thomas, >=20 > v12: minor change to fix misaligned comment on patch 6 raised by Thomas. > Thanks. > v11: updated based on Thomas review notably on comments through the serie > and ordering. Thanks. I have also updated rel_notes and deprecation throu= gh > the serie this time. > v10: replacing the _PADDED_MAX enum to _SIZE_MAX macro based on > suggestion from Ferruh/Maxime/Akhil. Thanks > v9: removing code snippet from documentation in 5/7 requested by Akhil. > Thanks. > v8: edit based on review by Akhil : typos, coding guidelines. No function= al > change. Thanks > 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, u= sed > 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 summer. > 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 | 103 +++++++++++ > doc/guides/rel_notes/deprecation.rst | 13 -- > doc/guides/rel_notes/release_22_11.rst | 14 ++ > drivers/baseband/acc100/rte_acc100_pmd.c | 30 ++-- > .../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 + > .../baseband/turbo_sw/bbdev_turbo_software.c | 13 ++ > examples/bbdev_app/main.c | 2 +- > lib/bbdev/rte_bbdev.c | 57 +++++- > lib/bbdev/rte_bbdev.h | 158 +++++++++++++++- > lib/bbdev/rte_bbdev_op.h | 169 ++++++++++++++++-- > lib/bbdev/version.map | 12 ++ > 16 files changed, 560 insertions(+), 48 deletions(-) >=20 Hi Nicolas, There were many formatting issues in this patch. This has been a practice i= n whole of bbdev. Please take a diff of what is applied on the tree and what was submitted to= take care of the formatting in future patches and please plan to fix the rest of bbdev docum= entation (API + prog_guide). Series applied to dpdk-next-crypto Thanks.