From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anoob Joseph Subject: [PATCH v1 0/3] add head/tailroom requirement for crypto PMDs Date: Wed, 4 Jul 2018 19:25:47 +0530 Message-ID: <1530712550-18099-1-git-send-email-anoob.joseph@caviumnetworks.com> References: <1529389574-6643-1-git-send-email-anoob.joseph@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Anoob Joseph , Akhil Goyal , Ankur Dwivedi , Jerin Jacob , Narayana Prasad , dev@dpdk.org To: Declan Doherty , Pablo de Lara Return-path: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680082.outbound.protection.outlook.com [40.107.68.82]) by dpdk.org (Postfix) with ESMTP id 7ED1B1BB1C for ; Wed, 4 Jul 2018 15:56:23 +0200 (CEST) In-Reply-To: <1529389574-6643-1-git-send-email-anoob.joseph@caviumnetworks.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 series adds the ability, for crypto PMDs, to communicate the minimum head/tailroom requirement it may have, using the existing cryptodev_info framework. The availability and use of head/tailroom is an optimisation if the hardware supports its use for crypto-op info. Devices that do not support using the head/tailroom, can continue to operate without any performance-drop. Cavium's OcteonTX crypto hardware supports this feature and would use headroom and tailroom for submitting crypto-ops to the hardware. v1: * Removed deprecation notice and updated release notes * Added corresponding change in test-cryptodev Anoob Joseph (3): cryptodev: add min headroom and tailroom requirement app/crypto-perf: honour cryptodev's min headroom/tailroom test/crypto: skip validation of head/tailroom used by PMD app/test-crypto-perf/cperf_options.h | 2 ++ app/test-crypto-perf/cperf_test_common.c | 33 ++++++++++++------ app/test-crypto-perf/main.c | 17 +++++++++ doc/guides/rel_notes/release_18_08.rst | 6 ++++ lib/librte_cryptodev/rte_cryptodev.h | 6 ++++ test/test/test_cryptodev_blockcipher.c | 60 ++++++++++++++++++++++++++++---- 6 files changed, 107 insertions(+), 17 deletions(-) -- 2.7.4