From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fan Zhang Subject: [PATCH v2 0/7] pipeline: add symmetric crypto to action Date: Fri, 28 Sep 2018 13:26:08 +0100 Message-ID: <20180928122615.48390-1-roy.fan.zhang@intel.com> References: <20180828081929.34085-1-roy.fan.zhang@intel.com> Cc: cristian.dumitrescu@intel.com To: dev@dpdk.org Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id AE4651B43E for ; Fri, 28 Sep 2018 14:41:33 +0200 (CEST) In-Reply-To: <20180828081929.34085-1-roy.fan.zhang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset creates an abstraction layer of DPDK Cryptodev to the pipeline library to enable its symmetric cryptographic capability. The ip_pipeline sample application is updated accordingly. v2: - Fixed bugs. - Updated data structure. - Updated IP-pipeline sample application. Zhang, Roy Fan (7): pipeline: add symmetric crypto to action examples/ip_pipeline: add cryptodev examples/ip_pipeline: configure crypto port examples/ip_pipeline: add symmetric crypto action examples/ip_pipeline: update cli parsing examples/ip_pipeline: add script doc: update action documentation doc/guides/prog_guide/packet_framework.rst | 11 +- doc/guides/sample_app_ug/ip_pipeline.rst | 23 + examples/ip_pipeline/Makefile | 1 + examples/ip_pipeline/action.c | 11 + examples/ip_pipeline/action.h | 1 + examples/ip_pipeline/cli.c | 577 +++++++++++++++++++++++++- examples/ip_pipeline/cryptodev.c | 117 ++++++ examples/ip_pipeline/cryptodev.h | 43 ++ examples/ip_pipeline/examples/flow_crypto.cli | 58 +++ examples/ip_pipeline/main.c | 9 + examples/ip_pipeline/meson.build | 3 +- examples/ip_pipeline/pipeline.c | 60 +++ examples/ip_pipeline/pipeline.h | 14 + examples/ip_pipeline/thread.c | 10 + lib/librte_pipeline/Makefile | 2 +- lib/librte_pipeline/meson.build | 2 +- lib/librte_pipeline/rte_pipeline_version.map | 1 + lib/librte_pipeline/rte_table_action.c | 503 +++++++++++++++++++++- lib/librte_pipeline/rte_table_action.h | 104 +++++ 19 files changed, 1543 insertions(+), 7 deletions(-) create mode 100644 examples/ip_pipeline/cryptodev.c create mode 100644 examples/ip_pipeline/cryptodev.h create mode 100644 examples/ip_pipeline/examples/flow_crypto.cli -- 2.13.6