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 D65201B4A6 for ; Fri, 5 Apr 2019 13:15:34 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2019 04:15:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,312,1549958400"; d="scan'208";a="146837910" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by FMSMGA003.fm.intel.com with ESMTP; 05 Apr 2019 04:15:33 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.31]) by IRSMSX106.ger.corp.intel.com ([169.254.8.235]) with mapi id 14.03.0415.000; Fri, 5 Apr 2019 12:15:32 +0100 From: "Ananyev, Konstantin" To: "Iremonger, Bernard" , "dev@dpdk.org" , "akhil.goyal@nxp.com" Thread-Topic: [PATCH v3 0/2] examples/ipsec-secgw: fix 1st pkt dropped Thread-Index: AQHU6upR8epq6LmSWkWY02OolLdFjqYta42A Date: Fri, 5 Apr 2019 11:15:32 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580148A937BF@irsmsx105.ger.corp.intel.com> References: <1551970666-23557-1-git-send-email-bernard.iremonger@intel.com> <1554384495-7936-1-git-send-email-bernard.iremonger@intel.com> In-Reply-To: <1554384495-7936-1-git-send-email-bernard.iremonger@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOWFmYWQ4YjktMTgzZi00NTZkLThhODUtMGIxZGRkMzY5M2ViIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoic25OU1ZhQ2xBSTZNdG5CXC9aeVZIdER2Tk4zZ1RBZ3BcL0dac0poZDh4bVRNZkdoOVF5TEVvMkdWdGJFclk2Z1hoIn0= 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 0/2] examples/ipsec-secgw: fix 1st pkt dropped 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: Fri, 05 Apr 2019 11:15:35 -0000 >=20 > This patchset fixes the issue of the first inbound packet > being dropped for inline crypto. >=20 > Changes in v3: > -------------- > The previous refactoring of the create_session() function has been droppe= d. > The create_session() function is now called from sa_init() at startup. >=20 > The following functions have been added: > crypto_devid_fill() in ipsec-secgw.c > check_cryptodev_capability() in ipsec.c > check_cryptodev_aead_capability() in ipsec.c > create_sec_session() and create_crypto_session() in ipsec.c >=20 > The create_session() function has been refactored to call > the create_sec_session() and create_crypto_session() functions. >=20 >=20 > Changes in v2: > -------------- > The first three patches of the v1 have been squashed. > The commit message for the squashed patch has been updated. > Patches 4,5 and 6 of the v1 have been dropped from this patchset. > A patch to fix the test scripts has been added. >=20 > Bernard Iremonger (2): > examples/ipsec-secgw: fix 1st packet dropped for inline crypto > examples/ipsec-secgw/test: fix inline test scripts >=20 > examples/ipsec-secgw/ipsec-secgw.c | 271 +++++++------ > examples/ipsec-secgw/ipsec.c | 569 ++++++++++++++-------= ------ > examples/ipsec-secgw/ipsec.h | 10 +- > examples/ipsec-secgw/ipsec_process.c | 38 +- > examples/ipsec-secgw/sa.c | 42 +- > examples/ipsec-secgw/test/trs_aesgcm_defs.sh | 10 - > examples/ipsec-secgw/test/tun_aesgcm_defs.sh | 10 - > 7 files changed, 495 insertions(+), 455 deletions(-) >=20 > -- As ipsec lib and these tests were introduced in 19.02, I don't think you need to cc stable. Apart from that: Series Acked-by: Konstantin Ananyev > 2.7.4 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 6848DA0679 for ; Fri, 5 Apr 2019 13:15:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 927AE1B4A7; Fri, 5 Apr 2019 13:15:36 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id D65201B4A6 for ; Fri, 5 Apr 2019 13:15:34 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2019 04:15:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,312,1549958400"; d="scan'208";a="146837910" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by FMSMGA003.fm.intel.com with ESMTP; 05 Apr 2019 04:15:33 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.31]) by IRSMSX106.ger.corp.intel.com ([169.254.8.235]) with mapi id 14.03.0415.000; Fri, 5 Apr 2019 12:15:32 +0100 From: "Ananyev, Konstantin" To: "Iremonger, Bernard" , "dev@dpdk.org" , "akhil.goyal@nxp.com" Thread-Topic: [PATCH v3 0/2] examples/ipsec-secgw: fix 1st pkt dropped Thread-Index: AQHU6upR8epq6LmSWkWY02OolLdFjqYta42A Date: Fri, 5 Apr 2019 11:15:32 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580148A937BF@irsmsx105.ger.corp.intel.com> References: <1551970666-23557-1-git-send-email-bernard.iremonger@intel.com> <1554384495-7936-1-git-send-email-bernard.iremonger@intel.com> In-Reply-To: <1554384495-7936-1-git-send-email-bernard.iremonger@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOWFmYWQ4YjktMTgzZi00NTZkLThhODUtMGIxZGRkMzY5M2ViIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoic25OU1ZhQ2xBSTZNdG5CXC9aeVZIdER2Tk4zZ1RBZ3BcL0dac0poZDh4bVRNZkdoOVF5TEVvMkdWdGJFclk2Z1hoIn0= 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="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 0/2] examples/ipsec-secgw: fix 1st pkt dropped 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" Message-ID: <20190405111532.4ED8FPPzSgVLixObx1HlZ99xyraVlUJcYC7TAGmJaF0@z> >=20 > This patchset fixes the issue of the first inbound packet > being dropped for inline crypto. >=20 > Changes in v3: > -------------- > The previous refactoring of the create_session() function has been droppe= d. > The create_session() function is now called from sa_init() at startup. >=20 > The following functions have been added: > crypto_devid_fill() in ipsec-secgw.c > check_cryptodev_capability() in ipsec.c > check_cryptodev_aead_capability() in ipsec.c > create_sec_session() and create_crypto_session() in ipsec.c >=20 > The create_session() function has been refactored to call > the create_sec_session() and create_crypto_session() functions. >=20 >=20 > Changes in v2: > -------------- > The first three patches of the v1 have been squashed. > The commit message for the squashed patch has been updated. > Patches 4,5 and 6 of the v1 have been dropped from this patchset. > A patch to fix the test scripts has been added. >=20 > Bernard Iremonger (2): > examples/ipsec-secgw: fix 1st packet dropped for inline crypto > examples/ipsec-secgw/test: fix inline test scripts >=20 > examples/ipsec-secgw/ipsec-secgw.c | 271 +++++++------ > examples/ipsec-secgw/ipsec.c | 569 ++++++++++++++-------= ------ > examples/ipsec-secgw/ipsec.h | 10 +- > examples/ipsec-secgw/ipsec_process.c | 38 +- > examples/ipsec-secgw/sa.c | 42 +- > examples/ipsec-secgw/test/trs_aesgcm_defs.sh | 10 - > examples/ipsec-secgw/test/tun_aesgcm_defs.sh | 10 - > 7 files changed, 495 insertions(+), 455 deletions(-) >=20 > -- As ipsec lib and these tests were introduced in 19.02, I don't think you need to cc stable. Apart from that: Series Acked-by: Konstantin Ananyev > 2.7.4