[dpdk-dev] [PATCH 0/3] examples/ipsec-secgw: support packet fragmentation

Konstantin Ananyev konstantin.ananyev at intel.com
Mon May 27 20:44:45 CEST 2019


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.

To be able to work properly these changes require the following patches:
  [1] lib/librte_ip_frag: Remove PKT_TX_IP_CKSUM offload flags
      http://patches.dpdk.org/patch/53475/mbox/
  [2] ipsec: support multi-segment packets
      http://patches.dpdk.org/patch/53715/mbox/
to be applied first.

Konstantin Ananyev (3):
  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/ipsec-secgw.c       | 403 ++++++++++++++++++++---
 examples/ipsec-secgw/ipsec.h             |   1 +
 examples/ipsec-secgw/meson.build         |   2 +-
 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 +-
 8 files changed, 423 insertions(+), 58 deletions(-)

-- 
2.17.1



More information about the dev mailing list