Skip to content

IPv6 with options support for IPsec transport

Marcin Smoczynski dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesIn review
  2. v13 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: new ipv6 header extension parsing functionlib/librte_net/rte_ip.h+49 -02 replies
2/4ipsec: fix transport mode for ipv6 with extensionslib/Makefile lib/librte_ipsec/iph.h lib/meson.build+50 -101 reply
3/4examples/ipsec-secgw: add support for ipv6 optionsexamples/ipsec-secgw/ipsec-secgw.c examples/ipsec-secgw/sa.c+31 -91 reply
4/4examples/ipsec-secgw: add scapy based unittestsexamples/ipsec-secgw/test/common_defs.sh examples/ipsec-secgw/test/common_defs_secgw.sh examples/ipsec-secgw/test/pkttest.py +3 more+519 -851 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKonstantin Ananyev
1/4A-b T-b
2/4A-b T-b
3/4A-b T-b
4/4A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/4] IPv6 with options support for IPsec transport

Add support for IPv6 with header extensions (IPv6 options) and IPsec transport mode:
1. Add IPv6 header extension parsing method in librte_net
2. Fix IPv6 header with extension parsing in both librte_ipsec and ipsec sample application using abovementioned function
3. Add new testing mechanism for ipsec-secgw sample application which allows to automatically check how custom packets are processed.

This patchset depends on the following patch:
http://patchwork.dpdk.org/patch/53406/

Marcin Smoczynski (4):
net: new ipv6 header extension parsing function
ipsec: fix transport mode for ipv6 with extensions examples/ipsec-secgw: add support for ipv6 options examples/ipsec-secgw: add scapy based unittests

 examples/ipsec-secgw/ipsec-secgw.c            |  35 +++-
 examples/ipsec-secgw/sa.c                     |   5 +-
 examples/ipsec-secgw/test/common_defs.sh      |  58 +-----
 .../ipsec-secgw/test/common_defs_secgw.sh     |  65 +++++++
 examples/ipsec-secgw/test/pkttest.py          | 127 ++++++++++++
 examples/ipsec-secgw/test/pkttest.sh          |  65 +++++++
 examples/ipsec-secgw/test/run_test.sh         | 108 ++++++++---
 examples/ipsec-secgw/test/trs_ipv6opts.py     | 181 ++++++++++++++++++
 lib/Makefile                                  |   3 +-
 lib/librte_ipsec/iph.h                        |  55 +++++-
 lib/librte_net/rte_ip.h                       |  49 +++++
 lib/meson.build                               |   2 +-
 12 files changed, 649 insertions(+), 104 deletions(-)
 create mode 100644 examples/ipsec-secgw/test/common_defs_secgw.sh
 create mode 100755 examples/ipsec-secgw/test/pkttest.py
 create mode 100755 examples/ipsec-secgw/test/pkttest.sh
 mode change 100644 => 100755 examples/ipsec-secgw/test/run_test.sh
 create mode 100755 examples/ipsec-secgw/test/trs_ipv6opts.py
Signature · 1 line
2.17.1