From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Kulasek Subject: [PATCH 0/4] Chained Mbufs support in SW PMDs Date: Fri, 2 Dec 2016 18:07:42 +0100 Message-ID: <1480698466-17620-1-git-send-email-tomaszx.kulasek@intel.com> To: dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 486C658DB for ; Fri, 2 Dec 2016 18:07:54 +0100 (CET) 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 patch set adds support of scattered-gather list for SW PMDs. As of now, application needs to reserve continuous block of memory for mbufs which is not always the case. Hence needed to support chaining of mbufs which are smaller in size but can be used if chained. Above work involves: a) Create mbuf functions to coalesce mbuf chains into a single mbuf. b) For each software poll mode driver code to detect chained mbufs support and coalesce these before preforming crypto. c) Add relevant unit tests to test the functionality. Tomasz Kulasek (4): rte_mbuf: add rte_pktmbuf_coalesce test: add rte_pktmbuf_coalesce unit tests crypto: add sgl support for sw PMDs test: add sgl unit tests for crypto devices app/test/test_cryptodev.c | 456 ++++++++++++++++++++++++++++ app/test/test_cryptodev.h | 111 +++++++ app/test/test_cryptodev_aes_test_vectors.h | 32 +- app/test/test_cryptodev_blockcipher.c | 170 +++++++---- app/test/test_cryptodev_blockcipher.h | 1 + app/test/test_mbuf.c | 134 ++++++++ drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 14 + drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 19 +- drivers/crypto/kasumi/rte_kasumi_pmd.c | 13 + drivers/crypto/null/null_crypto_pmd.c | 3 +- drivers/crypto/openssl/rte_openssl_pmd.c | 11 + drivers/crypto/snow3g/rte_snow3g_pmd.c | 15 + drivers/crypto/zuc/rte_zuc_pmd.c | 13 + lib/librte_cryptodev/rte_cryptodev.c | 4 +- lib/librte_cryptodev/rte_cryptodev.h | 3 +- lib/librte_mbuf/rte_mbuf.h | 34 +++ 16 files changed, 966 insertions(+), 67 deletions(-) -- 1.7.9.5