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 08E03A0096 for ; Thu, 6 Jun 2019 16:45:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EC5E51B959; Thu, 6 Jun 2019 16:45:16 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 4A18F1B958 for ; Thu, 6 Jun 2019 16:45:15 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jun 2019 07:45:14 -0700 X-ExtLoop1: 1 Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga003.jf.intel.com with ESMTP; 06 Jun 2019 07:45:13 -0700 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.227]) by irsmsx110.ger.corp.intel.com ([169.254.15.227]) with mapi id 14.03.0415.000; Thu, 6 Jun 2019 15:45:12 +0100 From: "Ananyev, Konstantin" To: Lukasz Bartosik CC: "dev@dpdk.org" , "anoobj@marvell.com" Thread-Topic: [PATCH v3] ipsec: include high order bytes of esn in pkt len Thread-Index: AQHVG7POvmfOZSNugUyK006VFm0PNaaOtTIQ Date: Thu, 6 Jun 2019 14:45:12 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725801688E12CF@IRSMSX104.ger.corp.intel.com> References: <1558613471-24414-1-git-send-email-lbartosik@marvell.com> <1559748687-22796-1-git-send-email-lbartosik@marvell.com> In-Reply-To: <1559748687-22796-1-git-send-email-lbartosik@marvell.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGNhZWFkNmQtN2RiOS00MTc0LWJkYTAtMjk2NjU4ZmU4ZGYwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUUF6eGpqY1NTQ1ZEREdIQitJMzJrbWZqTWhSeVJQc2hEZDZEa2J4dHUwRXpjQ01LeDRBblwvOGxabmFBUG5FOTAifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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" > -----Original Message----- > From: Lukasz Bartosik [mailto:lbartosik@marvell.com] > Sent: Wednesday, June 5, 2019 4:31 PM > To: Ananyev, Konstantin > Cc: dev@dpdk.org; anoobj@marvell.com; Lukasz Bartosik > Subject: [PATCH v3] ipsec: include high order bytes of esn in pkt len >=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. >=20 > Signed-off-by: Lukasz Bartosik > --- Acked-by: Konstantin Ananyev > -- > 2.7.4