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 870FBA045E for ; Fri, 31 May 2019 18:09:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 127C31B997; Fri, 31 May 2019 18:09:50 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 6A8E89E4 for ; Fri, 31 May 2019 18:09:48 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4VG50ti017406; Fri, 31 May 2019 09:09:47 -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-id : content-transfer-encoding : mime-version; s=pfpt0818; bh=u9gE432f6lNQHyElNqUxD5BEnps8ieQYiqJF5j0SdUE=; b=B0nI3p9WZAFmAhojkmBuSRQR3eIEDBmqo2K2a3l9GSFF8Z5vI6qXCg7Kni2sjGN8IlbI OW0kZz+nUrTGOtYW6j3UrddVdu0XjtUsE3yq9x/LLGo07VoCoIQnKvR0I/NHHBfcSVH4 l4e1SX/dLjEsCRIXwhcp2yV9+Dg6yEPxrL0kqHTWSDFZjgpd7j8OgbDmOeh+PH9lrhpz 78DK0gBpNDxvGrxBb/j49fRIYDvv5RML9BjVcQYEy2qqyQnKhepwPg8VjIxvaHqhI9Y3 FZU0NZC9FomZMoKSB/1/Sj/6wCRZWgOC/kSqNTa+pmlgVVSyWWfE2a8zs/TIBuzl9zt8 8Q== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2su6g1r98k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 31 May 2019 09:09:47 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 31 May 2019 09:09:46 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.59) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Fri, 31 May 2019 09:09:46 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u9gE432f6lNQHyElNqUxD5BEnps8ieQYiqJF5j0SdUE=; b=dfygkui7E3fBBJ7x3KyvtxjmFX9X9UipAH2sC5ReHSjWbP8fICediHYnWDcfW2OqDVllery1Ag0izX9eY4u3KczwVkzO9ctGUJMUk0eq0FW/0GD12Zw1e8aOHBEGNs+mPFEy+UUi+L4NzT8uL+HiYhv1D596JAl8Yh5ck4tqH0U= Received: from BYAPR18MB2469.namprd18.prod.outlook.com (20.179.92.83) by BYAPR18MB3015.namprd18.prod.outlook.com (20.179.94.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.16; Fri, 31 May 2019 16:09:44 +0000 Received: from BYAPR18MB2469.namprd18.prod.outlook.com ([fe80::55e:b12a:6039:adf3]) by BYAPR18MB2469.namprd18.prod.outlook.com ([fe80::55e:b12a:6039:adf3%6]) with mapi id 15.20.1943.016; Fri, 31 May 2019 16:09:44 +0000 From: Lukas Bartosik To: "Ananyev, Konstantin" CC: "dev@dpdk.org" , Anoob Joseph Thread-Topic: [PATCH v2] ipsec: include high order bytes of esn in pkt len Thread-Index: AQHVEWCrQ3Z3vnoATkqZWLVpbMvMq6aD7Q+AgAGGqAA= Date: Fri, 31 May 2019 16:09:43 +0000 Message-ID: <39c45544-a46a-9590-3b2c-2b9161b88aae@marvell.com> References: <1556636155-26299-1-git-send-email-lbartosik@marvell.com> <1558613471-24414-1-git-send-email-lbartosik@marvell.com> <2601191342CEEE43887BDE71AB977258016163A722@irsmsx105.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB977258016163A722@irsmsx105.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [199.233.58.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3563cfff-f80d-4cfb-a7f1-08d6e5e26531 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB3015; x-ms-traffictypediagnostic: BYAPR18MB3015: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 00540983E2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(39850400004)(346002)(396003)(136003)(199004)(189003)(478600001)(36756003)(2906002)(6436002)(81166006)(14454004)(8676002)(81156014)(8936002)(3846002)(229853002)(316002)(26005)(6486002)(68736007)(54906003)(86362001)(305945005)(486006)(99286004)(6512007)(6116002)(31696002)(186003)(76116006)(53546011)(6506007)(66946007)(66066001)(476003)(2616005)(14444005)(5660300002)(102836004)(71200400001)(53936002)(107886003)(11346002)(71190400001)(256004)(76176011)(446003)(4326008)(66446008)(64756008)(66556008)(66476007)(73956011)(7736002)(31686004)(6246003)(25786009)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB3015; H:BYAPR18MB2469.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: lvUq9P/u+/N5+NcrYEmoITm173RMKH+DZXHevjYXKkFQb/AJWmH46AXjn1DM0Z8Rbuv+oDmp7uMPmYTEew/YkzPLa2cL7CfVkJkggfBaPxZAjxTMl/iAigOGf9SFtwNfWePY4tjzFMbvd7qVmaXXOsXg0I0rjRaQ0hh8dRx4IDw1vfzh+nSepE0ZUxgY4T9AGZ9KMuvIjKDMseHqXDhajYNRiZgPPejJhClQBN//xt67W0fRpwP6uaIj2+9ZFH7DdeX4vpMOCDygHureRTZgKWXovK/AHdyEjpEXqbjDRm7cdeDLexsRIpU1cKqIJP9wPxfzs5PrsDoXJ/TDhbkA+4MHYdnFvLfeVlKM8rPNew6SCLk5tmMKJ7ayT5pJimnCMYLd8el5+rAP4nkTwF+Mlarz62bqthDRYue8+uVz2T4= Content-Type: text/plain; charset="utf-8" Content-ID: <84131B2E34F0714783D0838CE17B6382@namprd18.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 3563cfff-f80d-4cfb-a7f1-08d6e5e26531 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2019 16:09:44.0727 (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: lbartosik@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB3015 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-31_10:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH v2] 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" SGkgS29uc3RhbnRpbg0KDQpPbiAz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