[dpdk-dev] [PATCH v8 1/2] examples/ipsec-secgw: add configuration file support
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Sat Sep 24 00:51:24 CEST 2016
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez
> Monroy
> Sent: Friday, September 23, 2016 12:53 AM
> To: Zhang, Roy Fan; dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v8 1/2] examples/ipsec-secgw: add
> configuration file support
>
> 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 <ip_ver> <dir> esp <action> <priority> <src_ip> <dst_ip> \
> > <proto> <sport> <dport>
> >
> > SA rule format:
> > sa <dir> <spi> <cipher_algo> <cipher_key> <auth_algo> <auth_key> \
> > <mode> <src_ip> <dst_ip>
> >
> > Routing rule format:
> > rt <ip_ver> <src_ip> <dst_ip> <port>
> >
> > Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
> > ---
> > 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
>
> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com>
Applied to dpdk-next-crypto, moving the update in release_16_11.rst
from "Resolved issues" to "New Features" section.
Thanks,
Pablo
More information about the dev
mailing list