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 B4DFAA0548; Mon, 26 Apr 2021 19:01:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 38AEC41110; Mon, 26 Apr 2021 19:01:45 +0200 (CEST) Received: from GBR01-LO2-obe.outbound.protection.outlook.com (mail-eopbgr100136.outbound.protection.outlook.com [40.107.10.136]) by mails.dpdk.org (Postfix) with ESMTP id BA1C741104 for ; Mon, 26 Apr 2021 19:01:43 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UEiKCmvEndjWPQ2yO9rTFP8woAn+Mqafiw+I97CtTX6z9aqFEny9duVIn7oKsyhKwyo6PbazwZmqJyMl/PgjuG24e3bzV8GjjjW8DYM2NjUUO8jxVALqYqwsBF/shknuF/yHy3Xfv3+AZsNN6linkop35q4Zv6BDmUb4cWzdwxrsXrHFSSBINrmU80b68blKHxGaJJ+hlgGZR9iTKQNSDpOm0HJt3+tTxm3aCJHlqeAMB/fvEKOpNWwr9UZkkWjul4xtiTTAEeByVuXN5MUyK8o4Oh8mBfoayyZcExarlvlL1v0rGYV/S7nsSQGtJzp+eovVaiGLm817PQIj+g+Lww== 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-SenderADCheck; bh=h7ksI5hJTbyR3YJfBxvQJrr6BjEAEaVuHCNix2JsxN8=; b=DN0q4LldZKz1//Tzoy/DGYdEutjB9KeNG0xTaaqNN0auZQa2FBkv6GaMPmIhXyDDShUMa3pcV4szrhRZiRPNXghuQ1M+M35MEiDVXyHHrlwzMoTsGtzZbQjk9FJBBuEACPYOURUwB7jTlDgMiGKSduEhVA1cMeJZAfmNaPGYO63XlqUHsIenHVOlkJgDXNRbdCgTypf2KY2mZFTkfKeRBXIo/z2v+TzJ+s9gvgbWFN1tqT9jbewr5gAESxjJywxh+M92LMJ40kRKCITeLWlcD5l4UUIcFkePTZMUYZRdVHg2qo/ZtVCOBLEgszrpmMxlDvUul/YQqE5S97w450e8bA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=accelercomm.com; dmarc=pass action=none header.from=accelercomm.com; dkim=pass header.d=accelercomm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=accelercomm.onmicrosoft.com; s=selector1-accelercomm-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h7ksI5hJTbyR3YJfBxvQJrr6BjEAEaVuHCNix2JsxN8=; b=rnvChCgf6C/4OTH15uvBkgb+VJ6pSV8/WZGUL2SsISNLz3+QGrTbM2YU+6cq8mTdMj2xg3jRo4q3BdGthcMjL9tp8B2lIO5m5wTIM8BUNHVtprsJinkLLlcChxGYyG78XlcT9EnAcEQCWoZb9V6NzSA30D1ZHkwz9ItQZmyNExE= Received: from LO2P265MB1152.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:92::17) by LNXP265MB1546.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:7b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.25; Mon, 26 Apr 2021 17:01:42 +0000 Received: from LO2P265MB1152.GBRP265.PROD.OUTLOOK.COM ([fe80::f594:b6fb:d1d0:802d]) by LO2P265MB1152.GBRP265.PROD.OUTLOOK.COM ([fe80::f594:b6fb:d1d0:802d%3]) with mapi id 15.20.4065.026; Mon, 26 Apr 2021 17:01:42 +0000 From: Dave Burley To: Hemant Agrawal , "dev@dpdk.org" , "gakhil@marvell.com" , "nicolas.chautru@intel.com" CC: "david.marchand@redhat.com" Thread-Topic: [dpdk-dev] [PATCH v4 1/8] bbdev: add network order data capability Thread-Index: AQHXOPX7TUrCNqRZ4EOG3RrCuV5ROKrHCTj1 Date: Mon, 26 Apr 2021 17:01:42 +0000 Message-ID: References: <20210413051715.26430-2-hemant.agrawal@nxp.com> <20210424103700.8098-1-hemant.agrawal@nxp.com>, <20210424103700.8098-2-hemant.agrawal@nxp.com> In-Reply-To: <20210424103700.8098-2-hemant.agrawal@nxp.com> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=accelercomm.com; x-originating-ip: [2a00:23c4:cf2d:a200:6023:b810:2491:c6a9] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 47f5fff7-3b51-4dc0-1f3e-08d908d4f78a x-ms-traffictypediagnostic: LNXP265MB1546: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /tYoqNogkaNiCQNbAdZNjURQoWjpSRh9Fdr+Sc1yiCPDC9YN2SeGZ2S9/Rpn/zHrZhcwF949SkLEEZtdSRbpT3tRFlm/U/UQarWf2mdw7bQOZLH8hpYxEaYc7bvtOkNlZ95Pix6/GAJ/0Vy9HM3Qzuwn/kXyCJh81oPC+LX6+oMUtzZxCvFxox5hwPaADpVFatmh3pM4FhL5l5/oglHLbaaPYu/brEOrIh/5Y6CzLN1mBvBZu90toCVN/xPd3zLkoRlzkHkmLaxDed1Q8lmImF7ObCcxn+xf7D5yoNFRmyv+7GFhYh3Ka5wFVc3UQHyqeygtHihABEQNalzRxKQx+sv+IXj24Wr1CvkFZyIMoc5m2Wjb+i8KiFlYsu8dP74jvLVLIkjTHSLTT7myCT8KMG8Xxq7602K2X25Ep4vXShJLDQLFE3KvuCGT8PyyVUoKL4qa3PJPD3VGXD3Glc5U+TcpuJmwiXWVPnqz3/8m7Mbg625iguLKKHm3m5A44zlJRFhAKozZeiz5DowsFEraIw11krcV7koZLSvrxypeReAA78tDi2Tb3cmoSfh8XTHsqiRQ8Cw7F8d1lRjGTp+ird0QSW6gnkZmR+wuJB8euXc= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LO2P265MB1152.GBRP265.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(136003)(366004)(39830400003)(346002)(376002)(396003)(8936002)(9686003)(7696005)(71200400001)(64756008)(33656002)(316002)(110136005)(66946007)(4326008)(66556008)(66476007)(8676002)(19627405001)(2906002)(52536014)(86362001)(76116006)(122000001)(6506007)(44832011)(478600001)(53546011)(38100700002)(83380400001)(5660300002)(55016002)(66446008)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?LXIxcuC41pEc8tbReePyI1fWoMsZJWLWYGe58P+JiFCqgtEBnZjNQmOrgm6o?= =?us-ascii?Q?PolDf6mdJbvn87aA59Zz0fbPL2+QI7hiW73ddLCS2zCViYUWfMQwAykMyoBz?= =?us-ascii?Q?aacaR5EIcJkTISi2pz/vOMpbInfInP8S31Xw0ZVKAkjBH8MzbIXkxFZ8FtBf?= =?us-ascii?Q?Hm6u3t2x+KYtNhFhMCZF/wklhkwBNWistKyXkjgIIo5iu+GXzX1QTmINl47K?= =?us-ascii?Q?eEbv0+oSB7pm5OY8RKSZq06sh00CvOCZGMB3SDUnRhY8zw8fdV9RjOHLTAni?= =?us-ascii?Q?32NBB6Wjp7I2XiWl554nDf+gOryszx0mNYS51T7rxJ0a0b2nlXb5IYWUqojr?= =?us-ascii?Q?ruDU2xpj45XVm/2gIy7OHKScoxFqlvFHbwh9JaaYieqHilzuyIEe4n04U4Np?= =?us-ascii?Q?FhRYZMGEwZ8RgoAG/FfesUjBHHTWRMR6oz46UDcsgo5H2xwxTZb+2OBlRD97?= =?us-ascii?Q?cNo+qWiZgRDnzM3pUS+Vhf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ii?Q?UeWo9kAqS7DemvUHKaRRhq357Qaz?= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: accelercomm.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LO2P265MB1152.GBRP265.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 47f5fff7-3b51-4dc0-1f3e-08d908d4f78a X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2021 17:01:42.8149 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a4aefd0f-62ef-4258-bd2b-0b6f6112bf2c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rzxszdwyIBwBOm7vHYgCZt1TN02xsLVGU8FkjGlnKddCXxNgCtbRt/QPH9JvAhE0cHQ3jSzVSyqDc+wTTCVglhvRbkp+tO4migpjKFeek5U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LNXP265MB1546 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v4 1/8] bbdev: add network order data capability 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" Hi Hemant Can I ask what the usage case is for RTE_BBDEV_LDPC_ENC_NETWORK_ORDER/RTE_B= BDEV_LDPC_DEC_NETWORK_ORDER ? Thanks Dave ________________________________ From: dev on behalf of Hemant Agrawal Sent: 24 April 2021 11:36 To: dev@dpdk.org ; gakhil@marvell.com ; n= icolas.chautru@intel.com Cc: david.marchand@redhat.com ; Hemant Agrawal <= hemant.agrawal@nxp.com> Subject: [dpdk-dev] [PATCH v4 1/8] bbdev: add network order data capability CAUTION: This email originated from outside of the organization. Do not cli= ck links or open attachments unless you recognize the sender and know the c= ontent is safe. This patch intoduces a new capability of the bbdev device to process the LDPC data in network byte order. Signed-off-by: Hemant Agrawal --- doc/guides/bbdevs/features/default.ini | 1 + doc/guides/prog_guide/bbdev.rst | 6 ++++++ lib/bbdev/rte_bbdev_op.h | 8 ++++++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/guides/bbdevs/features/default.ini b/doc/guides/bbdevs/fea= tures/default.ini index 5fe267a625..e5da644099 100644 --- a/doc/guides/bbdevs/features/default.ini +++ b/doc/guides/bbdevs/features/default.ini @@ -14,3 +14,4 @@ LLR/HARQ Compression =3D External DDR Access =3D HW Accelerated =3D BBDEV API =3D +Network Order Data =3D diff --git a/doc/guides/prog_guide/bbdev.rst b/doc/guides/prog_guide/bbdev.= rst index 6b2bd54e1a..89a86d10fb 100644 --- a/doc/guides/prog_guide/bbdev.rst +++ b/doc/guides/prog_guide/bbdev.rst @@ -747,6 +747,9 @@ given below. |RTE_BBDEV_LDPC_ENC_CONCATENATION | | Set if a device supports concatenation of non byte aligned output | +--------------------------------------------------------------------+ +|RTE_BBDEV_LDPC_ENC_NETWORK_ORDER | +| Set if a device supports network order data processing | ++--------------------------------------------------------------------+ The structure passed for each LDPC encode operation is given below, with the operation flags forming a bitmask in the ``op_flags`` field. @@ -942,6 +945,9 @@ given below. |RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_LOOPBACK | | Set if a device supports loopback access to HARQ internal memory | +--------------------------------------------------------------------+ +|RTE_BBDEV_LDPC_DEC_NETWORK_ORDER | +| Set if a device supports network order data processing | ++--------------------------------------------------------------------+ The structure passed for each LDPC decode operation is given below, with the operation flags forming a bitmask in the ``op_flags`` field. diff --git a/lib/bbdev/rte_bbdev_op.h b/lib/bbdev/rte_bbdev_op.h index f946842727..8fab617768 100644 --- a/lib/bbdev/rte_bbdev_op.h +++ b/lib/bbdev/rte_bbdev_op.h @@ -186,7 +186,9 @@ enum rte_bbdev_op_ldpcdec_flag_bitmasks { * for HARQ memory. If not set, it is assumed the filler bits are = not * in HARQ memory and handled directly by the LDPC decoder. */ - RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_FILLERS =3D (1ULL << 18) + RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_FILLERS =3D (1ULL << 18), + /** Set if a device supports network order data processing */ + RTE_BBDEV_LDPC_DEC_NETWORK_ORDER =3D (1ULL << 19) }; /** Flags for LDPC encoder operation and capability structure */ @@ -206,7 +208,9 @@ enum rte_bbdev_op_ldpcenc_flag_bitmasks { /** Set if a device supports scatter-gather functionality. */ RTE_BBDEV_LDPC_ENC_SCATTER_GATHER =3D (1ULL << 6), /** Set if a device supports concatenation of non byte aligned outp= ut */ - RTE_BBDEV_LDPC_ENC_CONCATENATION =3D (1ULL << 7) + RTE_BBDEV_LDPC_ENC_CONCATENATION =3D (1ULL << 7), + /** Set if a device supports network order data processing */ + RTE_BBDEV_LDPC_ENC_NETWORK_ORDER =3D (1ULL << 8) }; /** Flags for the Code Block/Transport block mode */ -- 2.17.1