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 46CC7A0C44; Mon, 12 Apr 2021 09:29:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E6134069F; Mon, 12 Apr 2021 09:29:57 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2053.outbound.protection.outlook.com [40.107.21.53]) by mails.dpdk.org (Postfix) with ESMTP id A919E40698 for ; Mon, 12 Apr 2021 09:29:55 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=chli4lU4R/T1c8ol0eTmCPirx6By/3p7kP9DNg3QSAyosAVVUMVmrLqbHdqndF+2wyaYz+/u353xY2hk2JQSBMnGi4QMmgm9gXihJK6x1w/8vC8PJWqgl4uJkiiYvHT9NswGc2XZ2haVGwA4B+4DR4XUoq+fBIk+j4iutXoW4BU9Bs9Kqc+orBYsbtUqneC+Pbtmm37hxX86BUeWaJ9S5V9Hy8dQLEktoe/awaPhL6anlcqAfPkKq1BiCrOVoz9r/BcZQFtCc6dWIPhCQ7yjovqlCn/ZLE3+DpSstnBWTw8i+rsUfVWezvSrcAxUaZXSBVITztkxlFHGHTvY2PWnHw== 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=GxusDpC7xXMYxGcXqpsUAJlnkBgFRy+DJc/V6do0VVo=; b=lPaqbfVGsm/EpUxssSjfqQV3kwNu+ZsyrcVuIWQ+O7SzbTN8kIPI2EbSGYD77Qr/YDyrE2FbaTJa1GEoh6JwruosJ6Ms7U+ip/eO/4bzw8R9+nH0NhVBqqvPAQ2YOKKLHfukIUHD9Yur/xYgiUhQ8Nnz/fyvAhAAmSPpg7OzCkGiXzGMJXEH3UAhLkclKdMCst6GLoOi3omlRgevXG7S67Unw+OvCTBJN4T61R6rBd1PyOTUXxUg+HJ4Q0MRJwya9uL+FLEH9LghfvMVv50G3EySdcuDIL+Dq4r0hxyCafGDjHUH2zl4d8Ef3GQBTWn3Fd7PCSTIb06/LRFjADWMTA== 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=GxusDpC7xXMYxGcXqpsUAJlnkBgFRy+DJc/V6do0VVo=; b=OUBVn8BTkJ2hEDeJ05fnfvnL9RY9D0gp2rwRakbC+hrg1PkfewnYAeLQbNU26dtVMkjFsxK9V2GQ+ExCgB0Pal15DJYCN3Kp32yFRVAKIcxJJLtc5fJMknd+hdlB/6/KuRdV3NM/EVRz/w8sLmfCttq46Jd3jAJGKg/NXe7dnmk= 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 AM6PR0402MB3447.eurprd04.prod.outlook.com (2603:10a6:209:9::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27; Mon, 12 Apr 2021 07:29:54 +0000 Received: from AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::ad9e:a38e:e84e:bf55]) by AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::ad9e:a38e:e84e:bf55%7]) with mapi id 15.20.4020.022; Mon, 12 Apr 2021 07:29:54 +0000 To: David Marchand , Hemant Agrawal Cc: dev , gakhil@marvell.com, Nicolas Chautru , Nipun Gupta , Tom Rix References: <20210318063421.14895-1-hemant.agrawal@nxp.com> <20210410170252.4587-1-hemant.agrawal@nxp.com> <20210410170252.4587-8-hemant.agrawal@nxp.com> From: Hemant Agrawal Message-ID: Date: Mon, 12 Apr 2021 12:59:39 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 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: HK2PR0302CA0010.apcprd03.prod.outlook.com (2603:1096:202::20) 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 HK2PR0302CA0010.apcprd03.prod.outlook.com (2603:1096:202::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.6 via Frontend Transport; Mon, 12 Apr 2021 07:29:51 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 336f8c5c-0ea9-40d2-5036-08d8fd84c419 X-MS-TrafficTypeDiagnostic: AM6PR0402MB3447: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DP9j1FEAGRHhJ3zZoVlRp18KFKE67n7vPiImIyzcIav2GPa7w5nuLbkIlYAlmNuMU5g+lpaP73rVDpSNIpYrVf30albiougUMtuxZjVl7oUPuxGueuaYjK+NdVqvrushrycQhqhlvjMAJO0GYQPxqiyefOphmtUTeHFSbhx7oXKMpR7LNrd4F2CCo2h6xHFhJcZphxxd+v27RBPFt4YQJwCfkqOiJCNe15nZGxe/FkqcNyMG4eAp1+dp/ovp2SoZds10GQZNivUUJUrnfFN9+IZ66dC+B5kTaoFIPaE1w2sHRqc6ypHRc+69/TFdClWzDYbwPt/oCO9Vr68bPurfmjXz1zCPNpOY8j2MCwBPUoguaV2YFEg0Gnhf+AWHvFMa8UEBLvviuWCqr6iOHOmZHFdTXsyb3x5uJPxdyXVzUg5XIqKN/MI2G+T/liouqTTgJAS6/PLCvgOkVYz51NKqO8CVzVVVFzb/2T9boEVFHPOOC34P7JJaIvZhRcCl+EznR2cj7fQqUu9wvBUHfXArdh8rqH3veG18RXdSiVN8ywQaAlADmQrCLwCFwa3Mnf76gjsSN/xl7coG+X0iyIz/PEWK4wfNAf+hVa1C7gic0FveeFjTNplVz/4r1FrJeQD6JiVizKLdcJZW90LCL/0NZJAk0enDVA+UbCfD9e5hOuQuupj/WVMvW1Sx/0mvmX/bWKdJiYlomj42+4Xq9yGEjAixvdgjnT1I+TRTtM07xiU= 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)(376002)(396003)(366004)(39860400002)(346002)(136003)(6666004)(110136005)(8936002)(2906002)(54906003)(8676002)(38100700002)(83380400001)(86362001)(478600001)(4326008)(44832011)(6486002)(186003)(31686004)(53546011)(26005)(66476007)(66946007)(52116002)(66556008)(16576012)(5660300002)(956004)(31696002)(4744005)(316002)(2616005)(16526019)(38350700002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?WWp0OVA3eXVqRXM5eHZ5WkJBTkhqSXlyNGdBM2Iwd21iYUcvODFGVG00ZmhT?= =?utf-8?B?N1RBd2c1RGR0cEJHVTJoazc3cExQblNYMitoZWgyb3BMV1V5ZGQvWHJwOWF2?= =?utf-8?B?MGVlZWY3UUl6QkV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M6PR04MB4456.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2021 07:29:54.2137 (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: t6uH+xY3QRBcWgoPSAHWdsuZQVpdayPokE1RRDzu04wEZ3+ZCxVcf3Evpy2DgOc+8+/1ntnOxu8721JTg1GMFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3447 Subject: Re: [dpdk-dev] [PATCH v2 7/8] app/bbdev: add parameter to take input in network order 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" On 4/12/2021 12:52 PM, David Marchand wrote: > On Sat, Apr 10, 2021 at 7:04 PM Hemant Agrawal wrote: >> From: Nipun Gupta >> >> Test bbdev application is reading the input and output from the >> test vector files in the same endianness which is of the system. >> This patch adds an option to provide data in the network order >> i.e. big endian format > I did not look at the bbdev API, but something feels odd here. > Why should the test know about endianness? > This is baseband data, which need to be processed by the offload device. It is important for know the endianness of this data else the offload device will not be able to process it correctly. The existing files only have data in little-endian format.  In the real world, the network data can come in big-endian format, so the drivers (running on Little-endian machine) shall be able to pass the big-endian data for processing to offload device.