From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 3CA4AA046B
	for <public@inbox.dpdk.org>; Wed, 26 Jun 2019 17:11:06 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 01FAFF04;
	Wed, 26 Jun 2019 17:11:05 +0200 (CEST)
Received: from mga14.intel.com (mga14.intel.com [192.55.52.115])
 by dpdk.org (Postfix) with ESMTP id 51FAEF04
 for <dev@dpdk.org>; Wed, 26 Jun 2019 17:11:03 +0200 (CEST)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from fmsmga005.fm.intel.com ([10.253.24.32])
 by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 26 Jun 2019 08:11:02 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.63,420,1557212400"; d="scan'208";a="360336701"
Received: from silpixa00398673.ir.intel.com (HELO
 silpixa00398673.ger.corp.intel.com) ([10.237.223.136])
 by fmsmga005.fm.intel.com with ESMTP; 26 Jun 2019 08:11:01 -0700
From: Fan Zhang <roy.fan.zhang@intel.com>
To: dev@dpdk.org
Cc: akhil.goyal@nxp.com, konstantin.ananyev@intel.com,
 Fan Zhang <roy.fan.zhang@intel.com>
Date: Wed, 26 Jun 2019 16:05:07 +0100
Message-Id: <20190626150509.17442-1-roy.fan.zhang@intel.com>
X-Mailer: git-send-email 2.14.5
In-Reply-To: <20190625134321.71595-1-roy.fan.zhang@intel.com>
References: <20190625134321.71595-1-roy.fan.zhang@intel.com>
Subject: [dpdk-dev] [PATCH v3 0/2] ipsec: ECN and DSCP header reconstruction
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

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.

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                         |  16 +-
 lib/librte_ipsec/esp_outb.c                        |   3 +-
 lib/librte_ipsec/iph.h                             | 148 ++++++-
 lib/librte_ipsec/rte_ipsec_sa.h                    |  25 ++
 lib/librte_ipsec/sa.c                              |  17 +
 lib/librte_ipsec/sa.h                              |   2 +
 lib/librte_net/rte_ip.h                            |  11 +
 lib/librte_security/rte_security.h                 |   9 +
 12 files changed, 708 insertions(+), 11 deletions(-)
 create mode 100755 examples/ipsec-secgw/test/tun_null_header_reconstruct.py

-- 
2.14.5