From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 7F0A5A0471 for ; Thu, 20 Jun 2019 15:25:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B8E321D39D; Thu, 20 Jun 2019 15:25:19 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20082.outbound.protection.outlook.com [40.107.2.82]) by dpdk.org (Postfix) with ESMTP id A85811D39A for ; Thu, 20 Jun 2019 15:25:18 +0200 (CEST) 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=imlRwJaKDmf05NoQHtvgVsJx6g1mN5fmCV/UPPtaIrQ=; b=R4J+32shi5mhLYwWsy6k5WKYLpHYBCC/e+EBsiVLBykZ6KJovK0TqE9QAYrUSNuC7Rv3UwnDat2vbUE3K1Qm3vx1d7KaimpoaGAzQp/SV2+ZtjXZQafWTyu4KNhyUQaVVFGRSG6jmQarifVwhodFK7UKStb1RyEj6/u8/u4ys1k= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (20.179.235.82) by VE1PR04MB6590.eurprd04.prod.outlook.com (20.179.234.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.13; Thu, 20 Jun 2019 13:25:17 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::a929:3d03:7bb7:d5e0]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::a929:3d03:7bb7:d5e0%7]) with mapi id 15.20.1987.014; Thu, 20 Jun 2019 13:25:17 +0000 From: Akhil Goyal To: "Ananyev, Konstantin" , Lukasz Bartosik CC: "dev@dpdk.org" , "anoobj@marvell.com" Thread-Topic: [dpdk-dev] [PATCH v3] ipsec: include high order bytes of esn in pkt len Thread-Index: AQHVHHZ3jmp+9YVvh0KXWPjh4maLOKaknibg Date: Thu, 20 Jun 2019 13:25:17 +0000 Message-ID: References: <1558613471-24414-1-git-send-email-lbartosik@marvell.com> <1559748687-22796-1-git-send-email-lbartosik@marvell.com> <2601191342CEEE43887BDE71AB97725801688E12CF@IRSMSX104.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB97725801688E12CF@IRSMSX104.ger.corp.intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 163a6086-f9c6-4447-fe30-08d6f582bc7f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6590; x-ms-traffictypediagnostic: VE1PR04MB6590: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-forefront-prvs: 0074BBE012 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(396003)(376002)(39860400002)(346002)(199004)(189003)(66066001)(4326008)(76176011)(6506007)(7696005)(25786009)(2906002)(99286004)(26005)(186003)(316002)(102836004)(229853002)(54906003)(6246003)(55016002)(6436002)(110136005)(53936002)(9686003)(256004)(14444005)(11346002)(446003)(5660300002)(476003)(486006)(4744005)(44832011)(305945005)(74316002)(7736002)(71190400001)(71200400001)(68736007)(478600001)(8936002)(76116006)(3846002)(6116002)(86362001)(33656002)(81156014)(81166006)(52536014)(14454004)(66446008)(73956011)(66946007)(64756008)(66476007)(66556008); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6590; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: n5tgdRr49jtkrQZBZVwbaW7J21qh4S1vI24YFg0wWJo3iPDmk+RdxXBYY7bcXLisyJOenzMOj73RWo0aWOpfnTeQ09N1+9DkDiS/CypybWk2WM3MqR0DI9jq+hE+MgtsaOBiwye4OJTE+aaV2K/XKakPMEToM9U7/DnZM1b4twa3ZIqMe1B8XDWzFY1dLfrfM7GAGQzlm7eSWG4JfQNBR881IVAIlUf6iMWanpTVIVa4SyL4ESgtkRvyqZzjlvfJwgs7jWqpFqMA9NpFjgrPCEVj7X8WZMKemjewz6oUnLE+6PcbT0tcmFR6CEYxQ5lESl7URHdZAEn7GtPHPwQoLcfYYpDRPQoFI2j4FRaeEdRHN+LuexxqzxCRjMitu3ekMfn8nCdD10ykPXY/sCgBPKeZ1l36hqwVbudVrnMJb3c= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 163a6086-f9c6-4447-fe30-08d6f582bc7f X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2019 13:25:17.5452 (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: akhil.goyal@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6590 Subject: Re: [dpdk-dev] [PATCH v3] ipsec: include high order bytes of esn in pkt len 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" > > > > When esn is used then high-order 32 bits are included in ICV > > calculation however are not transmitted. Update packet length > > to be consistent with auth data offset and length before crypto > > operation. High-order 32 bits of esn will be removed from packet > > length in crypto post processing. > > > > Signed-off-by: Lukasz Bartosik > > --- >=20 > Acked-by: Konstantin Ananyev >=20 Acked-by: Akhil Goyal