From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id E48451BE0 for ; Sat, 5 May 2018 20:46:37 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 May 2018 11:46:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,366,1520924400"; d="scan'208";a="47005705" Received: from unknown (HELO localhost.localdomain) ([10.224.122.195]) by FMSMGA003.fm.intel.com with ESMTP; 05 May 2018 11:46:34 -0700 From: Abhinandan Gujjar To: jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, akhil.goyal@nxp.com, dev@dpdk.org Cc: narender.vangati@intel.com, abhinandan.gujjar@intel.com, nikhil.rao@intel.com, gage.eads@intel.com Date: Sun, 6 May 2018 00:17:05 +0530 Message-Id: <1525546030-11204-1-git-send-email-abhinandan.gujjar@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [v3,0/5] eventdev: cover letter - crypto adapter 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: , X-List-Received-Date: Sat, 05 May 2018 18:46:38 -0000 This patchset introduces the event crypto adapter which is intended to bridge between event devices and crypto devices. Addition of the event crypto adapter into eventdev library extends the event driven programming model with crypto devices. This patchset has dependency on below cryptodev patchset: [1] https://dpdk.org/dev/patchwork/patch/38172/ [2] https://dpdk.org/dev/patchwork/patch/38173/ [3] https://dpdk.org/dev/patchwork/patch/38174/ Change log: =========== v3: -Changed the adapter mode to OP_NEW & OP_FORWARD -Removed struct rte_event_crypto_queue_pair_conf -Updated adapter service code -Updated the documentation v2: -Added following new capabilities: -RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_NEW -RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_QP_EV_BIND -RTE_EVENT_CRYPTO_ADAPTER_CAP_SESSION_PRIVATE_DATA -Updated the service init code -Moved adapter mode to the adapter create API -Updated the test case for above changes Abhinandan Gujjar (5): eventdev: introduce event crypto adapter eventdev: add APIs and PMD callbacks for crypto adapter eventdev: add crypto adapter implementation test: add event crypto adapter auto-test doc: add event crypto adapter documentation MAINTAINERS | 7 + config/common_base | 1 + doc/api/doxy-api-index.md | 1 + doc/guides/prog_guide/event_crypto_adapter.rst | 244 +++++ .../img/event_crypto_adapter_op_forward.svg | 1073 +++++++++++++++++++ .../prog_guide/img/event_crypto_adapter_op_new.svg | 968 +++++++++++++++++ doc/guides/prog_guide/index.rst | 1 + doc/guides/rel_notes/release_18_05.rst | 6 + drivers/event/sw/sw_evdev.c | 13 + lib/Makefile | 3 +- lib/librte_eventdev/Makefile | 3 + lib/librte_eventdev/meson.build | 8 +- lib/librte_eventdev/rte_event_crypto_adapter.c | 1127 ++++++++++++++++++++ lib/librte_eventdev/rte_event_crypto_adapter.h | 554 ++++++++++ lib/librte_eventdev/rte_eventdev.c | 25 + lib/librte_eventdev/rte_eventdev.h | 54 + lib/librte_eventdev/rte_eventdev_pmd.h | 187 ++++ lib/librte_eventdev/rte_eventdev_version.map | 12 + test/test/Makefile | 1 + test/test/test_event_crypto_adapter.c | 913 ++++++++++++++++ 20 files changed, 5197 insertions(+), 4 deletions(-) create mode 100644 doc/guides/prog_guide/event_crypto_adapter.rst create mode 100644 doc/guides/prog_guide/img/event_crypto_adapter_op_forward.svg create mode 100644 doc/guides/prog_guide/img/event_crypto_adapter_op_new.svg create mode 100644 lib/librte_eventdev/rte_event_crypto_adapter.c create mode 100644 lib/librte_eventdev/rte_event_crypto_adapter.h create mode 100644 test/test/test_event_crypto_adapter.c -- 1.9.1