mbox series

[v6,0/2] ipsec: ECN and DSCP header reconstruction

Message ID 20190701120124.70418-1-roy.fan.zhang@intel.com (mailing list archive)
Headers
Series ipsec: ECN and DSCP header reconstruction |

Message

Fan Zhang July 1, 2019, 12:01 p.m. UTC
  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
  

Comments

Akhil Goyal July 3, 2019, 10:11 a.m. UTC | #1
Hi Fan,

This patchset need a rebase. As today we need to close the subtrees for RC1, this patchset will go in RC2.

Thanks,
Akhil
> 
> 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