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 45243A0C4D; Thu, 7 Oct 2021 04:22:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 045D340685; Thu, 7 Oct 2021 04:22:12 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60081.outbound.protection.outlook.com [40.107.6.81]) by mails.dpdk.org (Postfix) with ESMTP id 3C4F04067A for ; Thu, 7 Oct 2021 04:22:11 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WQMO3yFq0ddlEoQXx+UVIy01qF6mm+Y2l/xHTrA+nT779ykqaMRv0la7qdrraiFE+z2K1MiAnIzmM1qefkMJGXPfFj7iyD/pmbqFMfrWQTPfXDMOPEBuf/DR3hx50BRdu6s7qV6RDcxxCCEGmUi0YRea6pne1iMt8TnMq7NKWDqTrDQbB1KlQ8OP4ncagDpbavSzuyIKTuLCRmDW2zSOfYgkSL5wc8hFqP75cgok4DEJWMc0kZYn13g2E8pqs8q/Vs67ca64Zg4lQ4z78n0gk77sToT8Rf6C9da/N8ZJUTJaGj+F7HuEevRF0it2nvHqTOyBrf9t0CaaKvB9IzISpA== 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=DN1TtO+V/V4iKrsv+pJhAkXy6xK68hnvUMhQjwg65tk=; b=cW9Tv0ytLaU9bv33aOHy6DOWf3jehtzOg+KoBpG2Ub07ZDdBUjQeVgYIp5XbUXuE7DKpxH/lX2DLwotlTTABKx8mya8if3m+Tl6arAfHY1RFTSWwW4T84bOWj+PRPPDo4GsnnKgadlZ97sijiPzyCOTqRa2UqQhSuP+Hhq4iLybjig/nYXrU9/qycMxTv4QZ5PCSUSXdgwOOsv6bNABZW4F5Ws0blwv9hPq+rOS24IoOqWFo1RyMVXtlXAARM1CwvSimR6pi7Hk9qUiPsZdmUKRWhwQ3Niq/WgQeNf0NQ4uZo66ap+GgLg0eH+97z/bvJJrd6Kkn/H5SCnp9nMlPQA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DN1TtO+V/V4iKrsv+pJhAkXy6xK68hnvUMhQjwg65tk=; b=Us1CTFVaE4DAOTBH6nGuaGIARsQyZsUtzT3CgLLdNXmSH7HIYWLmujNH34enN/OehOs6YQOApTdtt/Vp6Q3uhQ5VFtfrYTxIUYfuv8UDUJm7vG30yV72zL5VAbT2uMp7Y29POk7hazaVDf21PfwFsGCvPbV8bdlZZ7Lhvs4UCaY= Received: from DB9PR04MB8429.eurprd04.prod.outlook.com (2603:10a6:10:24e::23) by DBBPR04MB7674.eurprd04.prod.outlook.com (2603:10a6:10:1f5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18; Thu, 7 Oct 2021 02:22:10 +0000 Received: from DB9PR04MB8429.eurprd04.prod.outlook.com ([fe80::dcda:93c2:47e7:19b4]) by DB9PR04MB8429.eurprd04.prod.outlook.com ([fe80::dcda:93c2:47e7:19b4%9]) with mapi id 15.20.4587.019; Thu, 7 Oct 2021 02:22:10 +0000 From: Nipun Gupta To: Nicolas Chautru , "dev@dpdk.org" , "gakhil@marvell.com" , "trix@redhat.com" CC: "thomas@monjalon.net" , "mingshan.zhang@intel.com" , "arun.joshi@intel.com" , Hemant Agrawal , "david.marchand@redhat.com" Thread-Topic: [PATCH v9] bbdev: add device info related to data endianness assumption Thread-Index: AQHXuvT6uqqx3EsLQki3Nmb9BGzXhKvGzOYQ Date: Thu, 7 Oct 2021 02:22:10 +0000 Message-ID: References: <1633553929-58670-1-git-send-email-nicolas.chautru@intel.com> In-Reply-To: <1633553929-58670-1-git-send-email-nicolas.chautru@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b38a3566-802b-414a-b874-08d989394465 x-ms-traffictypediagnostic: DBBPR04MB7674: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KMvyfiS3/jeB5c76y56a8AC/Eip2Gn65Z8Z5DpnAH+rLGQMfzKsGQnjUApEad2UJPYajs3bneSff1sLUipxXcroLDE8ankeWUf6m0lp0vV8/TDApCEqaQqOO72xdgzbOv3FPQStFe42P0B43Ai6KCwF/qkJjYJr/RVN54wMKEssHNIr53o+QHEPQsZJ3HbM7eP673If0LEzCLtNERAVKPGyX5fMDreCPFDpyQcM+5TjGjKgrUuh2aM4NIAD+Zu6ATH6g/h+jG/scO8UbdepVt7nyafrYhb3cpfUGAiUx953AObuvq3Uz+JJPP816qN6xrRRr4T51GltkiEnXg2xIWo8kk1sYa/Fae4TeqHNhVNIng1JztOR5uozv1SnphjAvcRPtQ9S/Gbe1epiUjBg7G2z/Tx5B2L//C8j9E4XZzoTqxDsngGiPAZ5j+trcaAfuJIwhxjkCmWzrRnUptgIt+m3uSD7sJWzwUn/fyUTF205YxveoDzpYcLPd8oVWxwHnrGWRi3rrYAMOZmUP1kKVcPN7pHD54K2QB13IxrQPWM3UOaICtGyVZ12AlHpPdfW2b9YI5IviA9Vg/7LZvN3haGmyWBG7RhdF5whHrk+tJpaNDsYhVTH3jlT6SmEwQK81LOilWg9jKGDgn+XXVAkIMgFi2KY7bOtaoXQ4yS3ritYsxxopJ/6tNSvJu/ZuIwlFqEpWVAXqDcgs0co5dK82VQxfjdZniQtxDliADyoE4jC9/gZKcrsYrlWiD7eXWYwyi7HtPautW5E0hxIy5sE0xDuUDuGYARAbL102cD9lKXQ= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR04MB8429.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(66946007)(6506007)(53546011)(66446008)(64756008)(9686003)(66556008)(66476007)(8936002)(7696005)(76116006)(186003)(26005)(38100700002)(122000001)(52536014)(5660300002)(4326008)(44832011)(110136005)(54906003)(316002)(55016002)(86362001)(83380400001)(2906002)(38070700005)(508600001)(71200400001)(45080400002)(966005)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hrHTEr2N4zjKpClHEz600cU1tVcg1QcGWTdUnsq40E0mjSeik143K91ZSoXo?= =?us-ascii?Q?E+HEXZ365+DksYWUmAJEXUq26KSr/jvQdEK6EORMLZFjOd5fx14XWmjA8VfZ?= =?us-ascii?Q?2SZ128WWhyoM+HEIb3toDr5ULE0vA/ry9XXVjxEOOv74JPDocMMWVnEetMhx?= =?us-ascii?Q?WcX+Gtv2FAxpAjDIZb2dhJ9uTjMYpi8OLliNZHxtV5LNoydvTUx2LhbSitAD?= =?us-ascii?Q?VBO2PpTd4KH5CBgRHgszohbElTXKvbXRQLvziUrA06cvVKKLifadS8xoXgZ8?= =?us-ascii?Q?AzpMFTFPZcffBFgoowX7R/owi4dvuQVEsIDaa2n++zYOdC1vEj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h7jghIrXpsoINGOtfo7H1e7fELDf5?= =?us-ascii?Q?7nyOw4V9Npj0agnk646uYUIBCLdZLV+TRbR7Rxop8lmidgJpoe965Yj1CRfB?= =?us-ascii?Q?S7s=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB8429.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b38a3566-802b-414a-b874-08d989394465 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2021 02:22:10.1979 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MK8/h6jTK4T0NPW6MFx9qZalq8teR91V5kTf+hgYA1wvhg3HmDtKH1347D53JAmT7FesG8K48ptOQizfjY9KZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7674 Subject: Re: [dpdk-dev] [PATCH v9] bbdev: add device info related to data endianness assumption 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 Sender: "dev" Sure Nicolas, this seems fine. I'll use this change instead of existing patch 1/10 and send a re-spin. Thanks, Nipun > -----Original Message----- > From: Nicolas Chautru > Sent: Thursday, October 7, 2021 2:29 AM > To: dev@dpdk.org; gakhil@marvell.com; Nipun Gupta ; > trix@redhat.com > Cc: thomas@monjalon.net; mingshan.zhang@intel.com; arun.joshi@intel.com; > Hemant Agrawal ; david.marchand@redhat.com; > Nicolas Chautru > Subject: [PATCH v9] bbdev: add device info related to data endianness > assumption >=20 > Suggesting this bbdev api change attached to address the requirement for = the > new > bbdev PMD from this serie : > https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fpatch= es. > dpdk.org%2Fproject%2Fdpdk%2Fpatch%2F20211006113112.11163-2- > nipun.gupta%40nxp.com%2F&data=3D04%7C01%7Cnipun.gupta%40nxp.com > %7Cd99e521071fc4162dfa508d9890c1b8a%7C686ea1d3bc2b4c6fa92cd99c5c30 > 1635%7C0%7C0%7C637691507373998592%7CUnknown%7CTWFpbGZsb3d8eyJ > WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C > 1000&sdata=3DogEvbxTKLnCAPs1cuIN76bXb1Mjty0crd3wotOmw%2Fcg%3D > &reserved=3D0 > Nipin, please review and you can use this one in case that is okay with y= ou. > This is defined as an enum and default values set in existing PMDs. >=20 > Nicolas Chautru (1): > bbdev: add device info related to data endianness assumption >=20 > doc/guides/rel_notes/release_21_11.rst | 1 + > drivers/baseband/acc100/rte_acc100_pmd.c | 1 + > drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 1 + > drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 1 + > drivers/baseband/turbo_sw/bbdev_turbo_software.c | 1 + > lib/bbdev/rte_bbdev.h | 8 ++++++++ > 6 files changed, 13 insertions(+) >=20 > -- > 1.8.3.1