From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 62084239; Thu, 7 Mar 2019 10:54:42 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2019 01:54:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,451,1544515200"; d="scan'208";a="129580608" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga008.fm.intel.com with ESMTP; 07 Mar 2019 01:54:40 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.7]) by IRSMSX152.ger.corp.intel.com ([169.254.6.139]) with mapi id 14.03.0415.000; Thu, 7 Mar 2019 09:54:39 +0000 From: "Iremonger, Bernard" To: "Ananyev, Konstantin" , "dev@dpdk.org" , "akhil.goyal@nxp.com" CC: "stable@dpdk.org" Thread-Topic: [PATCH 2/6] examples/ipsec-secgw: fix 1st packet dropped patch two Thread-Index: AQHU1DXURgVriRq+G0+7TR3HTyTrxKX/AFcAgADtNDA= Date: Thu, 7 Mar 2019 09:54:38 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D6AA6F@IRSMSX108.ger.corp.intel.com> References: <1551888011-27692-1-git-send-email-bernard.iremonger@intel.com> <1551888011-27692-3-git-send-email-bernard.iremonger@intel.com> <2601191342CEEE43887BDE71AB9772580124140E49@irsmsx105.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB9772580124140E49@irsmsx105.ger.corp.intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzdjOTRjOTctZDEzNC00ZTM3LWI4NjItYmIxNjg2NDQ1YjFjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoia2JzSndZa2phTFpUVWFtS3MrXC90VXg2T1NDdGJTNE5mVjhxNnUyY1NKVDgrK0pGcFNhY1BEWUd4MmNQQ1d5dmIifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/6] examples/ipsec-secgw: fix 1st packet dropped patch two 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: , X-List-Received-Date: Thu, 07 Mar 2019 09:54:42 -0000 Hi Konstantin, > Subject: RE: [PATCH 2/6] examples/ipsec-secgw: fix 1st packet dropped pat= ch > two >=20 >=20 > Hi Bernard, >=20 > > > > Call create_inline_session() at initialisition in sa.c Call > > rte_ipsec_session_prepare() in fill_ipsec_session() for inline. >=20 > Here and in other places - it probably worth to explain what is the purpo= se for > these changes. I will improve explanation. > As a side notice, as these series fixes that problem, it probably worse t= o add a > patch into series that removes the following: >=20 > # to overcome problem with ipsec-secgw for inline mode, > # when first packet(s) will be always dropped. > # note that ping will fail here > ssh ${REMOTE_HOST} ping -c 1 ${LOCAL_IPV4} >=20 > from examples/ipsec-secgw/test/(tun|trs)_aesgcm_defs.sh > Konstantin I will add a patch to fix the test scripts. Regards, Bernard.