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 5E289A0487 for ; Mon, 1 Jul 2019 13:43:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 914D1325F; Mon, 1 Jul 2019 13:43:02 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30085.outbound.protection.outlook.com [40.107.3.85]) by dpdk.org (Postfix) with ESMTP id BAEE731FC for ; Mon, 1 Jul 2019 13:43:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8k2lrDaF5louw9coQhfbz0NiArQKpKIbqjgNERQNnMw=; b=swEYJ6AS9RNf+ZpbazeOGwC+KivEDpIFxijtLwwxWPM04AdDpmA/BsWeWMnYHyDSFhr1viwaHBu90JCHucLVtKznaBqkSeuaG44NNc9MSVaTD5E3CNJybLFgRQyxC923tS+GTP7Xhrm8Fq8Y3IPlZ+vXRUCuMmgnf10cS/PaW7k= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (20.179.235.82) by VE1PR04MB6512.eurprd04.prod.outlook.com (20.179.233.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.17; Mon, 1 Jul 2019 11:43:00 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::a929:3d03:7bb7:d5e0]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::a929:3d03:7bb7:d5e0%7]) with mapi id 15.20.2032.019; Mon, 1 Jul 2019 11:43:00 +0000 From: Akhil Goyal To: Konstantin Ananyev , "dev@dpdk.org" Thread-Topic: [PATCH v3 0/4] examples/ipsec-secgw: support packet Thread-Index: AQHVK6waJ2yLCnPQjUywA6Huf4Dbbqa1rCKw Date: Mon, 1 Jul 2019 11:43:00 +0000 Message-ID: References: <20190606115151.27805-1-konstantin.ananyev@intel.com> <20190625231649.22560-1-konstantin.ananyev@intel.com> In-Reply-To: <20190625231649.22560-1-konstantin.ananyev@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d2c1856d-bbf9-4179-6cdd-08d6fe1944f2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6512; x-ms-traffictypediagnostic: VE1PR04MB6512: x-ms-exchange-purlcount: 2 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 00851CA28B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(396003)(136003)(376002)(199004)(189003)(53936002)(6246003)(66066001)(9686003)(71200400001)(55016002)(86362001)(6306002)(71190400001)(3846002)(81156014)(25786009)(44832011)(478600001)(476003)(486006)(11346002)(446003)(5024004)(14444005)(256004)(33656002)(8936002)(81166006)(5660300002)(2501003)(316002)(110136005)(26005)(8676002)(102836004)(76176011)(6506007)(2906002)(99286004)(6116002)(186003)(305945005)(73956011)(76116006)(66946007)(68736007)(7696005)(14454004)(52536014)(7736002)(74316002)(66476007)(66556008)(64756008)(66446008)(966005)(6436002)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6512; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: aB2jmjaBgj4w2VxrNcMawDWB2RpoQq0lyR4kz4+Z9O4cbqdTor22BNL3oM7lAVjwj41nxWbhDo7C9PFf69i0THFQSx9z/mY1cUr/9IoSFqENbVxxxf5btjP1P0LtmXCOo06/+AsrXN0bMshEkpz/yNeQgJWwWyx4O+S1AUGwHPofFc3xOKLFYZnRljyO8gFDywZzzCmWOIDVbZ5aKwq2JJ/LjgmCbY74YznmwQi3BYeMRdUhcFiYd0QeqTRSGNCHYJfkY6Jd9eYHFnNAFfXb8s7WwwN0InpFgPDtjYV540BL61XarVaDVRKN53F+4/Tdh0syT5zsnrwKRDsv0NW2xSgEMRDkU48snc2u4/6coS9f8OzjaLlLAxsL5LeyYlJ5bu/5iwbnnEuQ/RF7Rt+G0PcbdBgclf80cNRm1HcFkmM= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2c1856d-bbf9-4179-6cdd-08d6fe1944f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2019 11:43:00.2700 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: akhil.goyal@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6512 Subject: Re: [dpdk-dev] [PATCH v3 0/4] examples/ipsec-secgw: support packet 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" >=20 > v1 -> v2 > - merge with latest mainline > - update sample app guide >=20 > v2 -> v3 > address Akhil comments: > - merge with latest mainline > - squash sample app guide changes with ipsec-secgw changes >=20 > Add into ipsec-secgw ability to fragment packet bigger then mtu, > and reassemble fragmented packet. > To support these features ipsec-secgw relies on librte_ipsec ability > to handle multi-segment packets. > Also when reassemble/fragmentation support is enabled, attached > crypto devices have to support 'In Place SGL' offload capability. >=20 > To be able to work properly these changes require the following patches: > [1] lib/librte_ip_frag: Remove PKT_TX_IP_CKSUM offload flags >=20 > http://patches.dpdk.org/patch/53475/mbox/=20 > [2] ip_frag: fix IPv6 fragment size calculation >=20 > http://patches.dpdk.org/patch/54489/mbox/=20 > to be applied first. >=20 > Konstantin Ananyev (4): > examples/ipsec-secgw: fix invalid packet length > examples/ipsec-secgw: support packet fragmentation and reassembly > examples/ipsec-secgw: add multi-segment test cases > examples/ipsec-secgw: add bypass test case >=20 > doc/guides/sample_app_ug/ipsec_secgw.rst | 22 +- > examples/ipsec-secgw/ipsec-secgw.c | 402 ++++++++++++++++++++--- > examples/ipsec-secgw/ipsec.h | 1 + > examples/ipsec-secgw/meson.build | 2 +- > examples/ipsec-secgw/test/bypass_defs.sh | 45 +++ > examples/ipsec-secgw/test/common_defs.sh | 18 +- > examples/ipsec-secgw/test/data_rxtx.sh | 18 +- > examples/ipsec-secgw/test/linux_test4.sh | 17 +- > examples/ipsec-secgw/test/linux_test6.sh | 17 +- > examples/ipsec-secgw/test/run_test.sh | 5 +- > 10 files changed, 484 insertions(+), 63 deletions(-) > create mode 100644 examples/ipsec-secgw/test/bypass_defs.sh >=20 > -- > 2.17.1 Patchset Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.