From patchwork Fri Sep 28 12:26:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fan Zhang X-Patchwork-Id: 45575 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BC59F1B443; Fri, 28 Sep 2018 14:41:34 +0200 (CEST) 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Sep 2018 05:41:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,314,1534834800"; d="scan'208";a="76853728" Received: from silpixa00398673.ir.intel.com (HELO silpixa00398673.ger.corp.intel.com) ([10.237.223.54]) by orsmga007.jf.intel.com with ESMTP; 28 Sep 2018 05:41:18 -0700 From: Fan Zhang To: dev@dpdk.org Cc: cristian.dumitrescu@intel.com Date: Fri, 28 Sep 2018 13:26:08 +0100 Message-Id: <20180928122615.48390-1-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180828081929.34085-1-roy.fan.zhang@intel.com> References: <20180828081929.34085-1-roy.fan.zhang@intel.com> Subject: [dpdk-dev] [PATCH v2 0/7] pipeline: add symmetric crypto to action X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list 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