From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 3168E68F2 for ; Sat, 24 Sep 2016 00:51:27 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP; 23 Sep 2016 15:51:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,384,1470726000"; d="scan'208";a="12627518" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga006.fm.intel.com with ESMTP; 23 Sep 2016 15:51:25 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by IRSMSX152.ger.corp.intel.com ([169.254.6.13]) with mapi id 14.03.0248.002; Fri, 23 Sep 2016 23:51:24 +0100 From: "De Lara Guarch, Pablo" To: "Gonzalez Monroy, Sergio" , "Zhang, Roy Fan" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v8 1/2] examples/ipsec-secgw: add configuration file support Thread-Index: AQHSFW+Mh63tek3xzEmNpnQuYniU56CHrqrg Date: Fri, 23 Sep 2016 22:51:24 +0000 Message-ID: References: <1471862953-8951-1-git-send-email-roy.fan.zhang@intel.com> <1474459519-134894-1-git-send-email-roy.fan.zhang@intel.com> <1474459519-134894-2-git-send-email-roy.fan.zhang@intel.com> <76d51670-36b0-ebe1-aefa-7d831a903bf3@intel.com> In-Reply-To: <76d51670-36b0-ebe1-aefa-7d831a903bf3@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTRhOTk1M2MtNGYwZi00OTA3LThkMzUtODVkYjcxZTA0ZTliIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InpYaEYzSUZIWnlOcUNPdFBqRVB3cTQ4ZERzYzYxd3lyVG84UE1ndU90Wnc9In0= x-ctpclassification: CTP_IC 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 v8 1/2] examples/ipsec-secgw: add configuration file support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 22:51:27 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Friday, September 23, 2016 12:53 AM > To: Zhang, Roy Fan; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v8 1/2] examples/ipsec-secgw: add > configuration file support >=20 > On 21/09/2016 13:05, Fan Zhang wrote: > > This patch adds the configuration file support to ipsec_secgw > > sample application. Instead of hard-coded rules, the users can > > specify their own SP, SA, and routing rules in the configuration > > file. An command line option "-f" is added to pass the > > configuration file location to the application. > > > > Configuration item formats: > > > > SP rule format: > > sp esp \ > > > > > > SA rule format: > > sa \ > > > > > > Routing rule format: > > rt > > > > Signed-off-by: Fan Zhang > > --- > > doc/guides/rel_notes/release_16_11.rst | 4 + > > doc/guides/sample_app_ug/ipsec_secgw.rst | 845 +++++++++++++---------= -- > ------- > > examples/ipsec-secgw/Makefile | 1 + > > examples/ipsec-secgw/ipsec-secgw.c | 58 ++- > > examples/ipsec-secgw/ipsec.h | 14 +- > > examples/ipsec-secgw/parser.c | 599 ++++++++++++++++++++++ > > examples/ipsec-secgw/parser.h | 116 +++++ > > examples/ipsec-secgw/rt.c | 255 ++++------ > > examples/ipsec-secgw/sa.c | 747 +++++++++++++++++-----= ----- > > examples/ipsec-secgw/sp4.c | 538 ++++++++++++-------- > > examples/ipsec-secgw/sp6.c | 539 +++++++++++++------- > > 11 files changed, 2397 insertions(+), 1319 deletions(-) > > create mode 100644 examples/ipsec-secgw/parser.c > > create mode 100644 examples/ipsec-secgw/parser.h >=20 > Acked-by: Sergio Gonzalez Monroy Applied to dpdk-next-crypto, moving the update in release_16_11.rst =20 from "Resolved issues" to "New Features" section. Thanks, Pablo