From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id EA0B0548B for ; Wed, 9 May 2018 10:17:29 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2018 01:17:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,381,1520924400"; d="scan'208";a="53647768" Received: from unknown (HELO localhost.localdomain) ([10.224.122.195]) by fmsmga001.fm.intel.com with ESMTP; 09 May 2018 01:17:26 -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 13:47:56 +0530 Message-Id: <1525853881-140647-1-git-send-email-abhinandan.gujjar@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [v5,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: Wed, 09 May 2018 08:17:30 -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: =========== v5: - Updated the programming guide - Updated comment section of event metadata structure - Updated git commit messages v4: -Updated header file OP_NEW mode diagram -Fixed makefile issue & arranged functions in alphabetical order in the 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 | 296 +++++ .../img/event_crypto_adapter_op_forward.svg | 1078 +++++++++++++++++++ .../prog_guide/img/event_crypto_adapter_op_new.svg | 1061 ++++++++++++++++++ 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, 5384 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