From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8188DA00BE; Tue, 7 Jul 2020 08:07:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7DCEA1DA60; Tue, 7 Jul 2020 08:07:22 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 071621D9FB for ; Tue, 7 Jul 2020 08:07:19 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 067660o9008151; Mon, 6 Jul 2020 23:07:19 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=z0NSaS0+9fKSU2jTW4mOXUDLHBLgbV/9gDjbgf/blNM=; b=lYb85V/ZS34S+wgn091hZj6vUwwv2YPyp2NdpSbFpadD8yGCPq8VLNHf9gufe6dBGTsZ C7KsdIwOORBJNjFc9cS8tqV8EaFjwIzaMp/LZH8/vYpd7CQrkIpWopI+s5HiI/u/2gCP Rjc0RdBNzox6iNpHsDsJZxzVG1fftAGMRIMHOuZt8XsFAtdE1zwM6oIOlx2LRkYI/x1l l6bobjzUSd8kMo08v9lDPVYVb6OQjdEcpuWbRCJhNDUVu7TIvOWccCjuUclnnBczqeK9 yof7kGQJQiFNtf+JG5LQx3TegIKQJajF3e80k98v0qva0c320tvmhALoocOwPvlJP90g gQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 322q4ptan4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 06 Jul 2020 23:07:18 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Jul 2020 23:07:18 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Jul 2020 23:07:18 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.55) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 6 Jul 2020 23:07:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Efc3TIBSMFqX2ARWsScGYKZZvgaP8b/iGlKdDNZIIrii9x4lBbzmGO8QDg7MtjB5fqmiKtEeaYqfHDE1wYRy1EenVMeJPbsdUjaOPZLmZYrDSsTlwbC8s2G5P4x2CVvnYH7RzJqrqdFVgR/ZjfhqD/g6RFHtcrFVwzCpW3NGOhedJYOr+oHK0Cu/CIATykeMKSXtWQyN94Vae4LA0ZbiOkRLGb7ktUilqaHAlKPTmC4R+8SgZ+tIvPKw+st+yxesRX5aEiaR9FL+G3PLyfiL15ZWGrkjqZ/dYW1BrL0E9i1TuNZyxpCZ0ubAz7bgp9Vwc7Y/vZv2jEby/OYqqgqHJw== 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=z0NSaS0+9fKSU2jTW4mOXUDLHBLgbV/9gDjbgf/blNM=; b=CmThr/uCSnM9VecdGeuhTX1FOofkQFMgfUR34B0qbXR15llDWduA4fRd4qGIRqj8xmC0V/j3RqcG2PVJB9cPou4iCw+EnEM0lIXlSA2yNyziJKKSXIWaM9L0zqAgQWCE4zj5e7NOm2PX1f5xKiNF0Sw9HDJBw9r9zFZx1abZIV+MLP3rV7SgcyMn4aQRZYU16rg2aVUlSH3SoDAjaPegNx7oR1uNtzv5696vr9CDV1y3xRbTLJO8+AkZ8llflbWXcAICw7mfTLN8MI4BxJPvNcqBAURv3Fn453cZmgclU8NfuFEqs6PqBN1XDx9MbZTGiMQmGZXXJKYwQ8s2kdEQFQ== 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=z0NSaS0+9fKSU2jTW4mOXUDLHBLgbV/9gDjbgf/blNM=; b=SSqRvpfH+Ip/oCZL6UidnBnn9c/KVgQBbFIrt62MMZQw4tUUEm3CSK9wwPKrxYJyQ4qx/ZLr1cFwAtc7qH4qQZwCdZrUsZtP5aBQ7E//iE5tfnGzf/Wi89+Qbb5pYceHyEryEV3WC8iy1FdNGBY1DkJAzgpDs8qFpaMuSqWy004= Received: from DM5PR1801MB1884.namprd18.prod.outlook.com (2603:10b6:4:65::20) by DM5PR1801MB1961.namprd18.prod.outlook.com (2603:10b6:4:61::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.20; Tue, 7 Jul 2020 06:07:16 +0000 Received: from DM5PR1801MB1884.namprd18.prod.outlook.com ([fe80::25b0:1812:15c6:53e2]) by DM5PR1801MB1884.namprd18.prod.outlook.com ([fe80::25b0:1812:15c6:53e2%7]) with mapi id 15.20.3153.029; Tue, 7 Jul 2020 06:07:16 +0000 From: Ankur Dwivedi To: Akhil Goyal , "dev@dpdk.org" CC: "declan.doherty@intel.com" , Hemant Agrawal , Vakul Garg , Anoob Joseph Thread-Topic: [PATCH] test/crypto: change cipher offset for esn vector Thread-Index: AQHWOxOwnawNcfYkeEKwoFKRcLrXk6j6ql+AgAAqMbCAAELxgIAAuYKw Date: Tue, 7 Jul 2020 06:07:16 +0000 Message-ID: References: <1591345833-19159-1-git-send-email-adwivedi@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US 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=marvell.com; x-originating-ip: [47.15.36.133] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2be3a8c5-00e5-4f72-b7f8-08d8223bffec x-ms-traffictypediagnostic: DM5PR1801MB1961: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0457F11EAF x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HH7nFRiH5PIPK6g6pk4wNVrPU/lCUOyrJIRxt8ksVp+S9oJYGV+lK9PFRqzp/gg1Pw0bkgMeUvS2dTFo8FnLpI02MD5lxZHddAC5rl1t2Po+tC6YaVnCvdYi+ipIFY6/sFwUFMRV+NYHw2HRIjmu3LqlHyQDiqvj3QOxovUOYQGbPKB34iBdfQH/qekCH0dk2rAmcWQ7RtTu2B3PAHpz6UfJTGl4oOVP6I+ans/IAFu96Oem3GxOXTSbjBtT9cWEwKa5dr7cA7Zak7NgsctUxVTZKBCZqncgwqiMedZei0LNpG64AC6oNb7EH0XHi6JWbgYrPIEzv7zvzIn1nd8rSA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR1801MB1884.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(396003)(366004)(136003)(39860400002)(83380400001)(52536014)(2906002)(8936002)(66446008)(76116006)(66476007)(66946007)(66556008)(64756008)(8676002)(71200400001)(55016002)(9686003)(4326008)(107886003)(33656002)(186003)(5660300002)(478600001)(316002)(6506007)(54906003)(7696005)(86362001)(26005)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: NH93peOpV8P4LP0WTkKVQdAn6Y5EulQUIAdRj1h384mgZZ/igcCVnm3Z2ao2dtxYdEAUNOlN7rQduB1azV+STDPjhUEH9wGtXmnq5X7m+fe5mdL+uhTg6G8VsntzehZ9epVuI/u5Rud34T30m7w/YlpUyX9svG9DxNT4oUTBoNecT8O+CuBvpyn1MQI/yICWlyuMMSOZxI62j75i7e5wBT3ft28hjpJQu1wnyIevlT4qWVdLryask4WK8MZ2j5F9FBauFld8n+NAqtauY5z9QlW1k2dQHlagwYIhWrSSo2ZVNcKJ/w8mPODJBzP+IVkvJvV2nYgKtz1abY/vdunIln40PKf68C13Kvf4/XwgxbcCi1oCMMm0EYLbrkZOf4n/9P1i9evZ8qApE5Sk8uXI1okvsG/YEvSB/hUvkl5VMtDIoKVFO8fhAhCzcZFlH+Ev2T5UF6kOA8NxviiFERcpNGM0fgsgqIcs2K/KpgUbI1c= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR1801MB1884.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2be3a8c5-00e5-4f72-b7f8-08d8223bffec X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2020 06:07:16.2814 (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: BzDLQYNAN5DLxC8HRsr4JqM4urLi8YApVs71WIwpaQHi4aed312XUBm6n11uNS0iEkbiPHsVg4vSjOKMPpktGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1801MB1961 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-07_02:2020-07-07, 2020-07-07 signatures=0 Subject: Re: [dpdk-dev] [PATCH] test/crypto: change cipher offset for esn vector X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Akhil, Please see my reply inline. Thanks Ankur >-----Original Message----- >From: Akhil Goyal >Sent: Tuesday, July 7, 2020 12:24 AM >To: Ankur Dwivedi ; dev@dpdk.org >Cc: declan.doherty@intel.com; Hemant Agrawal >; Vakul Garg ; Anoob >Joseph >Subject: [EXT] RE: [PATCH] test/crypto: change cipher offset for esn vecto= r > >External Email > >---------------------------------------------------------------------- >> >Why do we need this change? >> >The existing test case is to demonstrate a generic case where we can >> >have an auth only trailer as well. It is similar to a case of IPSEC >> >ESN but not exactly IPSec. Cipher offset can be anything as per the app >requirement. >> >I don't think there is anything wrong in the vector. It should pass >> >in every hardware without any issue. >> [Ankur] It's a limitation in OCTEON TX PMDs that the (encr offset - >> auth offset) should be 8 bytes aligned. >> In the IPSEC ESN scenario generally the offsets will be such. >> But in the above IPSEC ESN test vector, this requirement is not met >> and hence the associated test cases fails on the PMD. > >In that case, I think it is better to have a separate test vector and both= should >be executed. With the previous one as not supported in your case and this >one will be supported. [Ankur] The offsets values are present per crypto operation. So to make the= se tests as unsupported the pmd datapath needs to be changed. Is there an alternative to make these tests unsupported?