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 9C263A0C42; Wed, 28 Apr 2021 15:35:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D94A540697; Wed, 28 Apr 2021 15:35:07 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140072.outbound.protection.outlook.com [40.107.14.72]) by mails.dpdk.org (Postfix) with ESMTP id 42A5D40147 for ; Wed, 28 Apr 2021 15:35:06 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LOc6sx2FDas0+ewdbd+3q9XeGhgFRE96/39l2fj1dyEfFY0wqde2QFkxV3ZDXJL1nMmcehQ/y5NDQXnRoHdv8i/8+5PinjuRkPftcxXXETOvHEsxtNL5lCRqReSVFax4h88eP5FKpiFY1rpglLPx72LbSLyPm3ApdcbFxZmtw/R/vD93swq+sPdkqqhy9GoVCw0Vd8TX0Jeq7kRl4FNS+mAxvDRLnqU/oeyRcXzEpVaR9XGVDLa00zzzFZrD4o5m0w+3n8pNi44Kloxnt9OHDZtIghueqOl0H+AqXse8/68q2Mb5d+dzQIsERie8YR38PXbnyNvghkwctgnCAm8gBQ== 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=E6VsAmr51g/a2BALirsScJaP7eL3gqBFsp2oKrFlBds=; b=BrH5woTVRfzLgJHDJtXGebQwP5sjk6VP6wKZN4Qbe3RNeIC1qI7eghy39QMLdSIG0oPN9QFkXhMtJmuhBXO30B1eaddY6T1AC6mlM93XwoSlJl5WV7OHBziyWetT1FsVbnAFxYR1yvx4INAm18bTrAK+YuBWFJlaLMkYDtLMdlBJ5JANldwFUV8hdvosxtcpfOOvesR0wrtWSPXknuV4FkUtb1ZPT6Zacpj5X7wViRH7rcZj+YxvsC0oL2At2wvsUvXFmsBVX8EDMUiBFpr/e8ZW3H5b6rBX91sEo7UBGG/mM7eYIqQZ+iTaa0pTBJnJG12mz3xyn6fj+p6V+utsXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E6VsAmr51g/a2BALirsScJaP7eL3gqBFsp2oKrFlBds=; b=Tz0ryZ+IMk2CNz+v9bC/gQKUeBWb3aw3Baf58ku+d1rEABLCu+XZoANtqirsIbudErQ128t1z5Pf5K2i3QxeRT2xE003Ha2JsViAJVDvRAJxBLZUaAFOb+xb1CnrTk8uKu9Oc/MA24hzekUHqEIJfM4E46VlQgIYsRRwhxNCX4c= Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25) by AM6PR04MB6069.eurprd04.prod.outlook.com (2603:10a6:20b:72::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.24; Wed, 28 Apr 2021 13:35:04 +0000 Received: from AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::ad9e:a38e:e84e:bf55]) by AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::ad9e:a38e:e84e:bf55%6]) with mapi id 15.20.4065.027; Wed, 28 Apr 2021 13:35:04 +0000 To: Dave Burley , Hemant Agrawal , "dev@dpdk.org" , "gakhil@marvell.com" , "nicolas.chautru@intel.com" Cc: "david.marchand@redhat.com" References: <20210413051715.26430-2-hemant.agrawal@nxp.com> <20210424103700.8098-1-hemant.agrawal@nxp.com> <20210424103700.8098-2-hemant.agrawal@nxp.com> From: Hemant Agrawal Message-ID: <67712e53-3fa2-360d-e985-1adadad06c33@oss.nxp.com> Date: Wed, 28 Apr 2021 19:04:53 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [223.178.219.73] X-ClientProxiedBy: HK2PR02CA0179.apcprd02.prod.outlook.com (2603:1096:201:21::15) To AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (223.178.219.73) by HK2PR02CA0179.apcprd02.prod.outlook.com (2603:1096:201:21::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.27 via Frontend Transport; Wed, 28 Apr 2021 13:35:01 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 29c7b5cb-6932-4789-d507-08d90a4a6e04 X-MS-TrafficTypeDiagnostic: AM6PR04MB6069: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True 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: UQkYjPPG9BYoEwL2Kkyp+v6eGXa8HYA5q7o+E5DkclPF0Xg+wA+U629xtlS09v3PneT53JYyFHoHJcZTM9Fg4voAhnMVFtN5jDtAJ4GCEb5ZOGYB5R90OPlTTQd9m7WCiXQkO7npHEE+i1CCFkhd/wvZGtJQMp8FiTXRdV6fgU+ryREL424VHA0l9raeMyme9INofQy4XvSNWphUYwlOwSQL++A6ssdtjZscgpbj18qQ5UC8CuPstgpTdN1wlhjcosq8aFV081uOVcgUvpmyk5qS/StiQf4l/91U7cWLkiW7zjz/4rY2A7q13iDWP48QDzJHEAGFJWDOmpFG3XBqPcfKPCsD7FWJkvO9oARDwAtkcv465FN8ALucIPWAZRFlDyTGJYD4PWHehZd11udvoo0TimVNHPA7ncfK9n3zYVOo6S8CDxt0+uHO50XSztNDnv9uqnQFVHzAr1uDQfL3k9S8WfKsxqzZO9sVOA/tSG0nLx4cG98zVmwWHXOzwIpL2HHat7HriEjr+gKMbnUVwY0v14SYoJGWy2q1f7KUVWMG1u20wYVuhZlo5k5+MpFGsTGtg8CCf/6LHbZgeM8klQJEMO+d8bNzh+6Q9wnDQDN54AXrCaLa/FLyA/LRsVuk+AiUF3SbS6Lr8qhUyb9++AAazyL4hfy7rfyKKUGMmHxucsPfCR3dF0TY73lKuMmMc6OFx7dixa3dXi635zRa8XF4wYY2aSyCYRXK5uzqlQQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4456.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39840400004)(396003)(136003)(376002)(346002)(366004)(2906002)(8936002)(66476007)(2616005)(5660300002)(66556008)(4326008)(956004)(44832011)(6486002)(186003)(66946007)(8676002)(31696002)(16526019)(26005)(478600001)(83380400001)(31686004)(38100700002)(86362001)(6666004)(53546011)(52116002)(38350700002)(16576012)(316002)(110136005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?QlIrZGZIeUl0THE3OVlZTU0zajJMMVZWakh0dUVwVE9KblpBMmxESFZpdUkz?= =?utf-8?B?YWRmNllLcjRBY08wTnJ2ZjIwb2pBSXdFdFcwZ2VqdVBEeUJQTHdMUnAydXFz?= =?utf-8?B?emVK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-Exchange-CrossTenant-AuthSource: AM6PR04MB4456.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2021 13:35:04.1452 (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: dNa2VHB7LTq40z33t6znWPMhTZqLEudVBo2PYjoH4ZN9N8MZf5oVb52DDWHn1QdAWACTTmrOelr9jD0GuyZbyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6069 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: , Reply-To: hemant.agrawal@nxp.com Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi,     My mail with photo snippets were rejected by dpdk mailing list. So, just sending the summary of it.     My understanding is that in ORAN, typically network order is used between CU-DU or DU-RU communication. In FAPI interface as well, both LE and BE are allowed types, however few places do explicitly state BE type.    Our customers/partners are typically using BE and LA12xx is configured to process BE data. Regards, Hemant On 4/26/2021 10:31 PM, Dave Burley wrote: > Hi Hemant > > Can I ask what the usage case is for RTE_BBDEV_LDPC_ENC_NETWORK_ORDER/RTE_BBDEV_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 ; nicolas.chautru@intel.com > Cc: david.marchand@redhat.com ; Hemant Agrawal > Subject: [dpdk-dev] [PATCH v4 1/8] bbdev: add network order data capability > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content 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/features/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 = > External DDR Access = > HW Accelerated = > BBDEV API = > +Network Order Data = > 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 = (1ULL << 18) > + RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_FILLERS = (1ULL << 18), > + /** Set if a device supports network order data processing */ > + RTE_BBDEV_LDPC_DEC_NETWORK_ORDER = (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 = (1ULL << 6), > /** Set if a device supports concatenation of non byte aligned output */ > - RTE_BBDEV_LDPC_ENC_CONCATENATION = (1ULL << 7) > + RTE_BBDEV_LDPC_ENC_CONCATENATION = (1ULL << 7), > + /** Set if a device supports network order data processing */ > + RTE_BBDEV_LDPC_ENC_NETWORK_ORDER = (1ULL << 8) > }; > > /** Flags for the Code Block/Transport block mode */ > -- > 2.17.1 >