From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id D517E7CB8 for ; Tue, 8 May 2018 21:45:26 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2018 12:45:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,379,1520924400"; d="scan'208";a="40265147" Received: from unknown (HELO localhost.localdomain) ([10.224.122.195]) by orsmga006.jf.intel.com with ESMTP; 08 May 2018 12:45:21 -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: Wed, 9 May 2018 01:15:59 +0530 Message-Id: <1525808764-109595-1-git-send-email-abhinandan.gujjar@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [v4,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: Tue, 08 May 2018 19:45:27 -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: =========== v4: -Updated header file OP_NEW mode diagram -Fixed makefile issue & arranged functions in alphabetical order in map file -Renamed adapter MACRO -Fixed shared library compilation issue -Updated test code with check for HW and start the service cores -Fixed checkpatch issues -Fixed 32bit library issues -Updated the documentation 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 + config/rte_config.h | 1 + doc/api/doxy-api-index.md | 1 + doc/guides/prog_guide/event_crypto_adapter.rst | 290 +++++ .../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 | 1128 ++++++++++++++++++++ lib/librte_eventdev/rte_event_crypto_adapter.h | 575 ++++++++++ lib/librte_eventdev/rte_eventdev.c | 25 + lib/librte_eventdev/rte_eventdev.h | 53 +- lib/librte_eventdev/rte_eventdev_pmd.h | 187 ++++ lib/librte_eventdev/rte_eventdev_version.map | 13 + test/test/Makefile | 2 + test/test/test_event_crypto_adapter.c | 927 ++++++++++++++++ 21 files changed, 5280 insertions(+), 5 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