From: Fan Zhang <roy.fan.zhang@intel.com>
To: dev@dpdk.org
Cc: akhil.goyal@nxp.com, pablo.de.lara.guarch@intel.com,
Fan Zhang <roy.fan.zhang@intel.com>
Subject: [dpdk-dev] [PATCH v6 0/2] ipsec: ECN and DSCP header reconstruction
Date: Mon, 1 Jul 2019 13:01:22 +0100 [thread overview]
Message-ID: <20190701120124.70418-1-roy.fan.zhang@intel.com> (raw)
In-Reply-To: <20190626150509.17442-1-roy.fan.zhang@intel.com>
This patchset adds the ECN and DSCP tunnel mode header reconstruction
support for rte_ipsec library. The ipsec-secgw sample application is
updated with the feature's enabling and a python3 script for testing
the correctness of the implementation.
v6:
- update_tun_tos function split for inbound/outbound.
- get/set ipv6 tc change from macro back to inline functions.
v5:
- Fixed a checkpatch error.
v4:
- Fixed a bug.
- Refrabricated the code a bit.
v3:
- Rebased on top of latest dpdk-next-crypto.
- Updated the library with individual header reconstruction function.
v2:
- Fixed a few bugs.
- Updated according to Konstantin's comments.
- Added python script for testing.
Fan Zhang (2):
lib/ipsec: add support for header construction
examples/ipsec-secgw: support header reconstruction
doc/guides/rel_notes/release_19_08.rst | 6 +
examples/ipsec-secgw/sa.c | 2 +
examples/ipsec-secgw/test/run_test.sh | 3 +-
.../test/tun_null_header_reconstruct.py | 477 +++++++++++++++++++++
lib/librte_ipsec/esp_inb.c | 13 +-
lib/librte_ipsec/esp_outb.c | 4 +-
lib/librte_ipsec/iph.h | 168 +++++++-
lib/librte_ipsec/rte_ipsec_sa.h | 10 +
lib/librte_ipsec/sa.c | 18 +
lib/librte_ipsec/sa.h | 2 +
lib/librte_net/rte_ip.h | 12 +
lib/librte_security/rte_security.h | 9 +
12 files changed, 715 insertions(+), 9 deletions(-)
create mode 100755 examples/ipsec-secgw/test/tun_null_header_reconstruct.py
--
2.14.5
next prev parent reply other threads:[~2019-07-01 12:07 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-17 16:03 [dpdk-dev] [PATCH v1] lib/ipsec: add support for header construction Marko Kovacevic
2019-05-19 16:26 ` Ananyev, Konstantin
2019-06-20 12:27 ` Akhil Goyal
2019-06-25 13:43 ` [dpdk-dev] [PATCH v2 0/2] ipsec: ECN and DSCP header reconstruction Fan Zhang
2019-06-25 13:43 ` [dpdk-dev] [PATCH v2 1/2] lib/ipsec: add support for header construction Fan Zhang
2019-06-25 13:43 ` [dpdk-dev] [PATCH v2 2/2] examples/ipsec-secgw: support header reconstruction Fan Zhang
2019-06-26 15:05 ` [dpdk-dev] [PATCH v3 0/2] ipsec: ECN and DSCP " Fan Zhang
2019-06-26 15:05 ` [dpdk-dev] [PATCH v3 1/2] lib/ipsec: add support for header construction Fan Zhang
2019-06-26 22:15 ` Ananyev, Konstantin
2019-06-26 15:05 ` [dpdk-dev] [PATCH v3 2/2] examples/ipsec-secgw: support header reconstruction Fan Zhang
2019-06-28 12:39 ` [dpdk-dev] [PATCH v4 0/2] ipsec: ECN and DSCP " Fan Zhang
2019-06-28 12:39 ` [dpdk-dev] [PATCH v4 1/2] lib/ipsec: add support for header construction Fan Zhang
2019-06-28 12:39 ` [dpdk-dev] [PATCH v4 2/2] examples/ipsec-secgw: support header reconstruction Fan Zhang
2019-06-28 13:22 ` [dpdk-dev] [PATCH v5 0/2] ipsec: ECN and DSCP " Fan Zhang
2019-06-28 13:22 ` [dpdk-dev] [PATCH v5 1/2] lib/ipsec: add support for header construction Fan Zhang
2019-07-01 10:40 ` Ananyev, Konstantin
2019-06-28 13:22 ` [dpdk-dev] [PATCH v5 2/2] examples/ipsec-secgw: support header reconstruction Fan Zhang
2019-07-01 10:41 ` Ananyev, Konstantin
2019-07-01 12:01 ` Fan Zhang [this message]
2019-07-01 12:01 ` [dpdk-dev] [PATCH v6 1/2] lib/ipsec: add support for header construction Fan Zhang
2019-07-01 13:11 ` Olivier Matz
2019-07-01 12:01 ` [dpdk-dev] [PATCH v6 2/2] examples/ipsec-secgw: support header reconstruction Fan Zhang
2019-07-03 10:11 ` [dpdk-dev] [PATCH v6 0/2] ipsec: ECN and DSCP " Akhil Goyal
2019-07-04 10:42 ` [dpdk-dev] [PATCH v7 " Fan Zhang
2019-07-04 10:42 ` [dpdk-dev] [PATCH v7 1/2] lib/ipsec: add support for header construction Fan Zhang
2019-07-04 10:42 ` [dpdk-dev] [PATCH v7 2/2] examples/ipsec-secgw: support header reconstruction Fan Zhang
2019-07-05 10:12 ` [dpdk-dev] [PATCH v7 0/2] ipsec: ECN and DSCP " Akhil Goyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190701120124.70418-1-roy.fan.zhang@intel.com \
--to=roy.fan.zhang@intel.com \
--cc=akhil.goyal@nxp.com \
--cc=dev@dpdk.org \
--cc=pablo.de.lara.guarch@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).