From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: "Kulasek, TomaszX" <tomaszx.kulasek@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v5 0/3] Chained Mbufs support in SW PMDs
Date: Mon, 16 Jan 2017 19:00:13 +0000 [thread overview]
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D897476C5C4A@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <1484320997-1224-1-git-send-email-tomaszx.kulasek@intel.com>
> -----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
>
> 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.
>
>
> Known limitations for openssl PMD:
> ----------------------------------
>
> 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.
>
>
> changes in v5:
> - rebased to the master of dpdk-next-crypto
>
> changes in v4:
> - separated "rte_pktmbuf_linearize" implementation from this patch set
> and sent as new patch for better reviewing,
>
> 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"
>
> 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
>
>
> 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
>
> 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(-)
>
> --
> 1.7.9.5
Applied to dpdk-next-crypto.
Thanks,
Pablo
prev parent reply other threads:[~2017-01-16 19:00 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-02 17:07 [dpdk-dev] [PATCH 0/4] " Tomasz Kulasek
2016-12-02 17:07 ` [dpdk-dev] [PATCH 1/4] rte_mbuf: add rte_pktmbuf_coalesce Tomasz Kulasek
2016-12-16 10:06 ` Olivier Matz
2016-12-29 15:58 ` Kulasek, TomaszX
2016-12-02 17:07 ` [dpdk-dev] [PATCH 2/4] test: add rte_pktmbuf_coalesce unit tests Tomasz Kulasek
2016-12-02 17:07 ` [dpdk-dev] [PATCH 3/4] crypto: add sgl support for sw PMDs Tomasz Kulasek
2016-12-03 8:28 ` Michał Mirosław
2016-12-12 10:01 ` Kulasek, TomaszX
2016-12-02 17:07 ` [dpdk-dev] [PATCH 4/4] test: add sgl unit tests for crypto devices Tomasz Kulasek
2016-12-29 17:12 ` [dpdk-dev] [PATCH v2 0/5] Chained Mbufs support in SW PMDs Tomasz Kulasek
2016-12-29 17:12 ` [dpdk-dev] [PATCH v2 1/5] rte_mbuf: add rte_pktmbuf_linearize Tomasz Kulasek
2016-12-29 17:12 ` [dpdk-dev] [PATCH v2 2/5] test: add rte_pktmbuf_linearize unit tests Tomasz Kulasek
2016-12-29 17:12 ` [dpdk-dev] [PATCH v2 3/5] crypto: add sgl support in sw PMDs Tomasz Kulasek
2016-12-29 17:12 ` [dpdk-dev] [PATCH v2 4/5] crypto: add sgl support in openssl PMD Tomasz Kulasek
2016-12-29 17:12 ` [dpdk-dev] [PATCH v2 5/5] test: add sgl unit tests for crypto devices Tomasz Kulasek
2017-01-05 9:12 ` [dpdk-dev] [PATCH v3 0/5] Chained Mbufs support in SW PMDs Tomasz Kulasek
2017-01-05 9:12 ` [dpdk-dev] [PATCH v3 1/5] rte_mbuf: add rte_pktmbuf_linearize Tomasz Kulasek
2017-01-05 15:37 ` De Lara Guarch, Pablo
2017-01-05 16:52 ` Kulasek, TomaszX
2017-01-05 9:12 ` [dpdk-dev] [PATCH v3 2/5] test: add rte_pktmbuf_linearize unit tests Tomasz Kulasek
2017-01-05 9:12 ` [dpdk-dev] [PATCH v3 3/5] crypto: add sgl support in sw PMDs Tomasz Kulasek
2017-01-05 9:12 ` [dpdk-dev] [PATCH v3 4/5] crypto: add sgl support in openssl PMD Tomasz Kulasek
2017-01-05 9:12 ` [dpdk-dev] [PATCH v3 5/5] test: add sgl unit tests for crypto devices Tomasz Kulasek
2017-01-05 16:44 ` [dpdk-dev] [PATCH v4] rte_mbuf: add rte_pktmbuf_linearize Tomasz Kulasek
2017-01-10 16:50 ` Olivier MATZ
2017-01-12 9:40 ` [dpdk-dev] [PATCH v5] mbuf: add a function to linearize a packet Tomasz Kulasek
2017-01-13 15:32 ` Olivier Matz
2017-01-13 15:40 ` Kulasek, TomaszX
2017-01-15 18:32 ` Thomas Monjalon
2017-01-05 16:46 ` [dpdk-dev] [PATCH v4 0/3] Chained Mbufs support in SW PMDs Tomasz Kulasek
2017-01-05 16:46 ` [dpdk-dev] [PATCH v4 1/3] crypto: add sgl support in sw PMDs Tomasz Kulasek
2017-01-05 16:46 ` [dpdk-dev] [PATCH v4 2/3] crypto: add sgl support in openssl PMD Tomasz Kulasek
2017-01-05 16:46 ` [dpdk-dev] [PATCH v4 3/3] test: add sgl unit tests for crypto devices Tomasz Kulasek
2017-01-13 15:23 ` [dpdk-dev] [PATCH v5 0/3] Chained Mbufs support in SW PMDs Tomasz Kulasek
2017-01-13 15:23 ` [dpdk-dev] [PATCH v5 1/3] crypto: add sgl support in sw PMDs Tomasz Kulasek
2017-01-16 16:08 ` Declan Doherty
2017-01-13 15:23 ` [dpdk-dev] [PATCH v5 2/3] crypto: add sgl support in openssl PMD Tomasz Kulasek
2017-01-16 16:10 ` Declan Doherty
2017-01-13 15:23 ` [dpdk-dev] [PATCH v5 3/3] test: add sgl unit tests for crypto devices Tomasz Kulasek
2017-01-16 16:11 ` Declan Doherty
2017-01-16 19:00 ` De Lara Guarch, Pablo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E115CCD9D858EF4F90C690B0DCB4D897476C5C4A@IRSMSX108.ger.corp.intel.com \
--to=pablo.de.lara.guarch@intel.com \
--cc=dev@dpdk.org \
--cc=tomaszx.kulasek@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).