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 0ECA4A00C5; Mon, 6 Jul 2020 20:54:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 603AE1DC30; Mon, 6 Jul 2020 20:54:12 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130078.outbound.protection.outlook.com [40.107.13.78]) by dpdk.org (Postfix) with ESMTP id 89E841DC04 for ; Mon, 6 Jul 2020 20:54:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lbvkyjuPGXbOmh1nY5QKVWRYCGNkJtE1Q4PWfhNaBqobkDY4DUMFD2UTKKiKQNWGJqEXbxYAp5lXeW5wHwX8O2thQMtmyKT3aeBrCKg32mqByoNCm6khovrZcfy44uk9jEu+mXOeUNTmdF2oEJJaL68ltmV/BQjg2Yo50RbLKWo+V8dWTTV1uOhztfkZ66FqCdl5vyqtF/1CwrB8/H2iAkp0iFZAAF8zDMRZ1GGF+XaPVZCCcZSP+wS9sgC8MsR4XuEnB/j72KiQ3C90YzXKshgqZzRLziS/pQttAo0NqOSiprRW9cKf9nKyAG1jj7aEnByM8rLKcl0ZMmkwD2MtGg== 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=zxXdY6dHg8lQMpKRFQ755lSg9Q14dwxx6lpcip5QB4g=; b=Ir8x1dFs6NAfH4m6q7uW+qTtlc73Vor9zxXiw0up+0yckbLOuIMCRnhS2L/37Bq9ALRPkpFR7M7XRXGCqxzKJXPazSzJjp/P3oRh60LJEj5wvdxtUEkQtig0gXVXgukanEkwA+cUxuZRvX4URDvEcicpyq54MpBL4HLifqO5DE6Se21mkXe4eHIrkPKX6apHTQr+gnsTzn80Mc7OeXYW2a/Vc2x0jZQxn/SuoNqrzuVwf5UnNP2OKoD90x8KOVIhrZLb7Gb+25Bao6YxnW/d57ePKJeehaEdBLysRubmmQ3B2Mm79KBg8XyLOk3FZQdOUjt/cxOn0NhKBoq6EW/Mhw== 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=zxXdY6dHg8lQMpKRFQ755lSg9Q14dwxx6lpcip5QB4g=; b=NO38Tv6omtyUMpNwQI/4IyGPTwbPlQX3jFzFOPXE6KQyzA6j1Mfx9Dx8fj3kTP+QJr4JQGGkO+NAUVopBPK/IuU4mkJ8D/ePZQ8CyhaUBAEeGOzNe9ipr/xdgbEcphyI3oWCDvDzJO9cFrV5yJb5IcytowzP8UzBGYor3IbGr7I= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB6093.eurprd04.prod.outlook.com (2603:10a6:803:fb::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.20; Mon, 6 Jul 2020 18:54:09 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::b077:1fe4:d352:b464]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::b077:1fe4:d352:b464%7]) with mapi id 15.20.3153.029; Mon, 6 Jul 2020 18:54:09 +0000 From: Akhil Goyal To: Ankur Dwivedi , "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: AQHWOxOtMDzmJDGeR0KqgVz6oEZL66j6qEhggAAu4YCAAD+cMA== Date: Mon, 6 Jul 2020 18:54:09 +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: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [45.118.167.64] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7ca966b1-d1a0-46e2-30a8-08d821ddf745 x-ms-traffictypediagnostic: VI1PR04MB6093: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 04569283F9 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EOWfaRCkCMN4so0rnQ4iJzkE/7NcNoRAu2HRwnTZsbhFRFOFDMUBqFZun8FN8AdM39G47ZUcCStDkBbVT/1qOy4XHRMxD1nsX0oi8fUqLFZjuePfSkXvkEn/4zGxcByohF1EO526lVdLGKSmfRg7jSTyaIv0XUlVe6GGIcX3x1YT3a6Ij0VdrdXuKbhpyuzFVTFkUhQI2oi6o8Q+XDTrV3KtxFUhpTYF7RHzvLbtNaqN+0761mxdsO747y9q7xhjgJTHR9m59Ej858i8b/4IztO8HQNSr5uEber4okM6cuA6HYXu761jHrM9CM0x1AWlWEnFt4gqJSkJZOFNF/nE6A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(366004)(396003)(346002)(39860400002)(136003)(76116006)(9686003)(8676002)(83380400001)(110136005)(478600001)(2906002)(54906003)(44832011)(71200400001)(66476007)(66556008)(64756008)(66446008)(33656002)(55016002)(5660300002)(186003)(6506007)(86362001)(4744005)(66946007)(7696005)(4326008)(8936002)(52536014)(26005)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: gdfi1R3OzxdfzhapBHyZXPDAaEI0RZLLBm1hNHfJ74CBtwnANKmpq+u8mMIY3+7+ziqmg1cChZ+2p0TTtT9WZHCM6MbHpgxU5rMGTR3IIWSM6LkFL8W/SzWGBbf58t03N13v/sDvgwJA2VRoGV92Eh+JPJtGBCkqfRSL8Pk1CdezyZt56lbGO/zaPbAsEJQW4rjovQzEXZveHSGPxgzOOILK9V1Mb+Xa2x43fyoXaENgMX+HYdMhA1040kAF5Z4nBK04Mj5pFRRfSvBQKU5xte9T40XK7SpTSyg5NYc71HAISebrL5s5m+QY0mePnJcgo7JcME39Dijww2OcfFN8XfFAFSOcCe8GCtNqasIkQdw6eeyIuXUPTFkKsNiC6FClGpteLDZYVA9hl/uXhTDj2y3hhyA2mjVIgAnlu62N3RAF3VH50z4TY0+ABN8koD6colnC5O0jMdZ5xibZY7Ft6wZg07b1fnGeYBCyaeVtW3tuP9bDBL1oGINqsrI69EBl 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: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ca966b1-d1a0-46e2-30a8-08d821ddf745 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2020 18:54:09.1651 (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: e+FIYywlwNH34PrEkZhijy3fEVFhVQ/wfIlwsibWMplj6CZ9j5ykqkch2xVV9AoB0u7LHp0i2NkQ+0X5bBnhWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6093 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" > >Why do we need this change? > >The existing test case is to demonstrate a generic case where we can hav= e 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 e= very > >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 h= ence > 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.