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 73E1DA046B for ; Tue, 25 Jun 2019 14:49:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3C9B71BA90; Tue, 25 Jun 2019 14:49:40 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00055.outbound.protection.outlook.com [40.107.0.55]) by dpdk.org (Postfix) with ESMTP id 2D7DF1BA59 for ; Tue, 25 Jun 2019 14:49:39 +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=07ntj/fGRmJETUkeC7Ne/Ysukt34CwcEf6tJLn9g8Ko=; b=mVrNwBusybYXrkHZK3lhTkawyAEE7X2UfHQT5h1Jy8ONKxOJ2c7ZQQvv3VETls//sAqHBYTDMVStl/jWTkXqazYdFoscBinQWgtyowI2cN2uAoBJR9ReEFrJ6axtZ9LzOOGf29rR2OiGgz4OvwXxy6uFzFpojUyTKiJ0wytAkmU= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (20.179.235.82) by VE1PR04MB6350.eurprd04.prod.outlook.com (10.255.118.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Tue, 25 Jun 2019 12:49:37 +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.2008.014; Tue, 25 Jun 2019 12:49:37 +0000 From: Akhil Goyal To: Akhil Goyal , "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: AQHVK1Ry0LC5SP74v02TTpaeyZxhnQ== Date: Tue, 25 Jun 2019 12:49:37 +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: 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: f1087c0c-8187-4c19-4745-08d6f96b94f2 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:VE1PR04MB6350; x-ms-traffictypediagnostic: VE1PR04MB6350: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 0079056367 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(136003)(366004)(346002)(199004)(189003)(81156014)(305945005)(86362001)(14444005)(9686003)(26005)(6116002)(186003)(44832011)(3846002)(229853002)(7736002)(102836004)(55016002)(7696005)(99286004)(68736007)(76176011)(53936002)(74316002)(2906002)(66446008)(6436002)(5660300002)(66476007)(73956011)(14454004)(6506007)(33656002)(11346002)(71190400001)(81166006)(4326008)(446003)(71200400001)(4744005)(76116006)(66946007)(256004)(64756008)(66556008)(52536014)(25786009)(66066001)(316002)(476003)(486006)(110136005)(8936002)(6246003)(54906003)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6350; 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: KkaEWpFxdBwTRJ/u3vVVszD3NQA5O4vvakwUiO3Qult5SK8pb/BJIWyOlq/YiHglBNtS4PEijGIVDkQ4Y4vz1SrJlB3D+6r6EaWhi6snd9nW+S43GqZf1uLa2s9UZWnCh/6tPqFjg9l+42BcC9M+TluHq9d79ybi7qln3MrxTXIeKD2RU4qxPRhKRfGeP65qx2h3qlwmDFIeBJKnRxC8Iowga0nU7l+4ZxWDuIoIMqyPu5mVlXhPdb8guh/Bo1o9cdmWi80EN6cB7JM/N4Hl/UVbWPzMxeyNKCtK9W9x0ZTbY4QxrNaoUO8xftOt4vZgBxszcKRWf/jXyPJYFs2zsdW11wNv5N5+gjKMmq2U8Jjm2ud2VqJQKfTNNb9KFRuVWKVUy2zOY0JcplubheGrEITY/iKSYR244BsxOMjb4rE= 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: f1087c0c-8187-4c19-4745-08d6f96b94f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2019 12:49:37.3697 (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: VE1PR04MB6350 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" >=20 > > > > > > 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 > > > --- > > > > Acked-by: Konstantin Ananyev > > > Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.