From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id CF5C9106A for ; Mon, 16 Jan 2017 20:00:16 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 16 Jan 2017 11:00:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,240,1477983600"; d="scan'208";a="809542658" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by FMSMGA003.fm.intel.com with ESMTP; 16 Jan 2017 11:00:14 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.173]) by IRSMSX103.ger.corp.intel.com ([163.33.3.157]) with mapi id 14.03.0248.002; Mon, 16 Jan 2017 19:00:14 +0000 From: "De Lara Guarch, Pablo" To: "Kulasek, TomaszX" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5 0/3] Chained Mbufs support in SW PMDs Thread-Index: AQHSbbGMuVYCty6MJkei9B8d7m1Gg6E7egxA Date: Mon, 16 Jan 2017 19:00:13 +0000 Message-ID: References: <1483634768-35012-1-git-send-email-tomaszx.kulasek@intel.com> <1484320997-1224-1-git-send-email-tomaszx.kulasek@intel.com> In-Reply-To: <1484320997-1224-1-git-send-email-tomaszx.kulasek@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2NiMGQ5MzYtM2NiZC00OTAyLTkwNDQtODc0ZTllZmNjN2U5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InM1N0NaTk1wWGN2K0NmeHJOdVEzQjdteVNtVlpPK3ZKTkZTSjY4QU1rMTQ9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 0/3] Chained Mbufs support in SW PMDs 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: Mon, 16 Jan 2017 19:00:17 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Friday, January 13, 2017 3:23 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v5 0/3] Chained Mbufs support in SW PMDs >=20 > This patch set adds support of scattered-gather list for SW PMDs. >=20 > 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. >=20 >=20 > Above work involves: > -------------------- >=20 > 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. >=20 >=20 > Known limitations for openssl PMD: > ---------------------------------- >=20 > While libcrypto library expects continuous destination buffer for > output of cipher operations, implementation of openssl PMD is limited > the same way, and requires contiguous destination mbuf. >=20 >=20 > changes in v5: > - rebased to the master of dpdk-next-crypto >=20 > changes in v4: > - separated "rte_pktmbuf_linearize" implementation from this patch set > and sent as new patch for better reviewing, >=20 > changes in v3: > - rebased to dpdk-next-crypto > - reused tests for AES GCM SGL support in opensll from "app/test: add > SGL tests to cryptodev QAT suite" >=20 > changes in v2: > - add support for sgl in openssl PMD > - rte_pktmbuf_coalesce replaced with rte_pktmbuf_linearize > - extended test vector data for aes gcm from 60 to 2048 bytes >=20 >=20 > Tomasz Kulasek (3): > crypto: add sgl support in sw PMDs > crypto: add sgl support in openssl PMD > test: add sgl unit tests for crypto devices >=20 > app/test/test_cryptodev.c | 386 ++++++++++++++++++- > app/test/test_cryptodev.h | 138 +++++++ > app/test/test_cryptodev_aes_test_vectors.h | 52 +++ > app/test/test_cryptodev_blockcipher.c | 90 ++--- > app/test/test_cryptodev_blockcipher.h | 1 + > app/test/test_cryptodev_gcm_test_vectors.h | 553 > ++++++++++++++++++++++++++++ > doc/guides/cryptodevs/openssl.rst | 3 +- > 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 | 329 +++++++++++++---- > 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 | 2 + > 16 files changed, 1507 insertions(+), 128 deletions(-) >=20 > -- > 1.7.9.5 Applied to dpdk-next-crypto. Thanks, Pablo