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 035B2A0588; Thu, 16 Apr 2020 14:28:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 612B71D5A5; Thu, 16 Apr 2020 14:28:31 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id A5E921D596 for ; Thu, 16 Apr 2020 14:28:30 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03GCHIku004737; Thu, 16 Apr 2020 05:28:29 -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=ZBMWzkN5jIv1CZYrnq0//PkubiugWb5w76oERJB3Wr8=; b=JEQL8o41ZVpmHORB4PHqLpk/3FZ0d18gB4201+6H5WSNrDaRDNyzK096NK2AsGWFKhQ/ /nPOsvwttRdjdESCfKkbGz/aFDgRlhmmAN3U5rz68SJOfdr5aAer0Iax/udBuiFoNZVo 2UTEUhXjwn6rU8ubQuR9At4xskhT76mLc8DYBgUwxTdPsDLL1oTZ2YfHJYadFupKbrQF mbDsvzEoUsDdL7x4mxfyrYHTiSVEMWsEtIjuAfzfqyHWJLbBuKgkbFYr24FZD4f6SV3n OAPt1Bvv8Q5dlXlxpgxLEq3gd3SW6xPQFKmTNRfhHOkrdnJz/VlDNXBWChS7BiAphokD QA== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 30dn8gptn4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 16 Apr 2020 05:28:29 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 16 Apr 2020 05:28:28 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.172) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 16 Apr 2020 05:28:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f/gQb+yi/bsJ4yeQIOUz8yMz+5lS0kUqnriiOZCKZPC4blK8Tnmj2g9Wa5EJzAxue4nNGqKtqjYw7rxWDB5/aPzY54QRMLO0eBmMGTe0KRuKGV2htfCeTXAjwniMWoTQzzg/8Mk3OtT+4ljh5/gzRjUjhNVOrzZeFYRx9pVjrzFc91mnRHRmgQg2voX4ujHTTcEXz3NS5oTPLpuYD1hduq+pLJ99qhfHJc6EwOTPQVPCd35rTJ0tnk+biILSEMa0rMCfDiOM2ika9tWy0b4smDLGMfyvtObt5LD+JD4EKSLK6MEGRsPa4h5ThdeZGzMNI9BN85g2h/4OyWnPFYXvCA== 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=ZBMWzkN5jIv1CZYrnq0//PkubiugWb5w76oERJB3Wr8=; b=gXe0/FUQ3YxaAFkNln+o42rtskTAXPId0ZCbJ+Qkn7Csvn9ydTm90mkYWr4pb9AAR8/uzuWVNOhHjRiKgyoR1pgSsLmz+Yez5xEPf1IIUXU4noH/a/ww6Z6RmrT+CkVWlV5gvijJTY6mbAU84hbxbj0yehoIzVt7PWNYTBg8RB8XOrOdGkUFAviHOJmB1B8iwf/4Pq7xAnF7CncwFkeB4pz94cXp0ceDNhc5nfcl/rZ/77PL1v+E2N5i4h1EZp6jnD72tmok53SRQYwtgj6bhlomwPXU6aNCZR9IE9wgdb0rGH/vHw1/08WTWJrLwIhAPN9telq2gT3mSt8H9zqrRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZBMWzkN5jIv1CZYrnq0//PkubiugWb5w76oERJB3Wr8=; b=EljhtkRlk9mbGOu2KZJ//dPV3Uh3iiH43uJa90TQRQ6dy9pIrTOPO2GjUMMYwLI/AZIClQ+36ngsUSYa+rbyvfzFb2fW/STgDfA0ilg3fGX0vVPYjRZYXS8RlQuQ6utOGGgS3BYRbJ2xJjZGw94bqvYQ2oY7mk9YkaAYz5U2kRk= Received: from BYAPR18MB2712.namprd18.prod.outlook.com (2603:10b6:a03:103::10) by BYAPR18MB2997.namprd18.prod.outlook.com (2603:10b6:a03:133::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15; Thu, 16 Apr 2020 12:28:25 +0000 Received: from BYAPR18MB2712.namprd18.prod.outlook.com ([fe80::70bd:288b:c391:39ab]) by BYAPR18MB2712.namprd18.prod.outlook.com ([fe80::70bd:288b:c391:39ab%7]) with mapi id 15.20.2900.028; Thu, 16 Apr 2020 12:28:25 +0000 From: "Lukas Bartosik [C]" To: "Ananyev, Konstantin" CC: "akhil.goyal@nxp.com" , "Nicolau, Radu" , Anoob Joseph , "Narayana Prasad Raju Athreya" , "dev@dpdk.org" Thread-Topic: [EXT] RE: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix dropping of initial IPsec pkts Thread-Index: AQHWE0LSoWg0n6CxtUme/4pShKshGah62eOAgADUl4A= Date: Thu, 16 Apr 2020 12:28:25 +0000 Message-ID: <9bde6651-8dc2-30df-036e-a0670327b6a8@marvell.com> References: <1586345520-3205-1-git-send-email-lbartosik@marvell.com> <139b63ab-6ce0-1657-2754-37e1347143bc@marvell.com> In-Reply-To: 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: 90588b28-089c-4c57-b4a4-08d7e201a917 x-ms-traffictypediagnostic: BYAPR18MB2997: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-forefront-prvs: 0375972289 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR18MB2712.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(346002)(366004)(39860400002)(376002)(396003)(136003)(31696002)(66476007)(5660300002)(316002)(81156014)(26005)(64756008)(66556008)(66446008)(8936002)(6506007)(53546011)(86362001)(8676002)(76116006)(186003)(2906002)(966005)(6512007)(54906003)(478600001)(2616005)(71200400001)(4326008)(36756003)(31686004)(6916009)(6486002)(66946007); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zDc8A3/Yx4rQ9G0MB9v+o4IcCbalUBkm9nNSE5jVklLBksz2CAO3od6XXQzAdfkotkOYIkNfuynVlN8M+peMJA+L1mUunnIdP/2lzBxzv4OOk1HrlKG5A7DQCYb+FM7IU810kEjhGcHv3SMIZ1BODXP0oejLsKr01SwOhvt8qjA94LMxmI02uOixiRTmwlH/4oKZCe3g7i+2RNZv5qF0ic6uVv1db7TdVDdzx0gzei/lJcD7wxS3tRBLCZ3GKCcYy/Ej6BJ7qJUyZDxJGuqPD2fn2i9yEEN52RQ+gyd7jG7XYSZsM0hfitl0UlDth2kLs11pV7KD/0PNr5cw8+PKePdphunlTZ4m8d/lQL+IaS1w/BRUmaIVOw7RsfmjjBpWOlbRPQ+Y6E+J89+yLT9kMeyJmUylvYk3GW9yvtrwQWJ6+veSXbxLU7RdNx9mfeJbI7sPIJSxZPLd8ZYLKqeQdVnj4i/v6m5gnnHGOSW0NuTzkB7qI+TjnrVRe5J22INaqoKPU8rcUEG87X4hc/mF5w== x-ms-exchange-antispam-messagedata: vosdXkc5IrtlmpLM0iWf5Y5Kg00I2/QiR9FHMZ5qy6ClzpAgJYayhHRigS3p+7siehRCW4/0iZ+5SCFXc8MLAmbtk6AhMqmVzxJ7gHH605NoKPS9VkO1I91g0gVPF5u3vQzp6yNkpgQNuN2x1Nj4SQ== Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 90588b28-089c-4c57-b4a4-08d7e201a917 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2020 12:28:25.5362 (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: llVBg8slxi5ZWIlXXTKXRswAQDeKg9YY7mXsJDWmBFFgk+TFjn1+hn9COI+wlp+UMPD52ObQm6mZxBYXawFzfw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2997 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-16_03:2020-04-14, 2020-04-16 signatures=0 Subject: Re: [dpdk-dev] [EXT] RE: [PATCH] examples/ipsec-secgw: fix dropping of initial IPsec pkts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-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