Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-13 Thread Jerin Jacob
On Thu, Oct 10, 2019 at 11:32 AM Jerin Jacob wrote: > > > > On Thu, 10 Oct, 2019, 4:58 AM Stephen Hemminger, > wrote: >> >> On Tue, 8 Oct 2019 20:58:27 +0530 >> Jerin Jacob wrote: >> >> > On Tue, 8 Oct, 2019, 8:42 PM Stephen Hemminger, >> > >> > wrote: >> > >> > > On Fri, 6 Sep 2019 14:42:30

[dpdk-dev] [PATCH v2 02/12] crypto/octeontx2: add device init sequence in probe

2019-10-13 Thread Anoob Joseph
This patch adds the device init sequence for OCTEON TX2 crypto device. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/octeontx2/Makefile | 10 +++ drivers/crypto/octeontx2/meson.build | 2 ++ drivers/crypto

[dpdk-dev] [PATCH v2 03/12] crypto/octeontx2: add device control ops

2019-10-13 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the device control functions. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/crypto/octeontx2/Makefile | 1 + drivers/crypto/octeontx2/meson.build | 1 + drivers/crypto

[dpdk-dev] [PATCH v2 01/12] crypto/octeontx2: add PMD skeleton

2019-10-13 Thread Anoob Joseph
Adding OCTEON TX2 crypto PMD skeleton. Enabling the driver by default in common_base. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- MAINTAINERS| 7 ++ config/common_base |

[dpdk-dev] [PATCH v2 00/12] add OCTEON TX2 crypto PMD

2019-10-13 Thread Anoob Joseph
The series introduces poll mode driver to enable crypto offload engine on Marvell OCTEON TX2 SoC. Changes in v2: * Merged series adding sym features and asym features into one. * Squashed patches as directed by Akhil. * Added check for ASYM SESSIONLESS (not supported currently) * Minor updates to

[dpdk-dev] [PATCH v2 04/12] crypto/octeontx2: add queue pair functions

2019-10-13 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the queue pair setup and queue pair release functions for OCTEON TX2 crypto pmd. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- .../crypto/octeontx2/otx2_cryptodev_hw_access.c| 99 +++ .../crypto/octeon

[dpdk-dev] [PATCH v2 09/12] crypto/octeontx2: allocate memory for asymmetric operation

2019-10-13 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy This patch determines metabuf length needed to perform asymmetric crypto operation. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 37 +++

[dpdk-dev] [PATCH v2 08/12] test: add OCTEON TX2 tests

2019-10-13 Thread Anoob Joseph
This patch adds the OCTEON TX2 crypto validation tests. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- app/test/meson.build| 1 + app/test/test_cryptodev.c | 323 app/test/test

[dpdk-dev] [PATCH v2 05/12] crypto/octeontx2: add symmetric capabilities

2019-10-13 Thread Anoob Joseph
This patch adds the symmetric capabilities for OCTEON TX2 crypto PMD. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/features/octeontx2.ini | 59 ++ doc/guides/cryptodevs/octeontx2.rst| 41 ++ drivers/cr

[dpdk-dev] [PATCH v2 06/12] crypto/octeontx2: add session related functions

2019-10-13 Thread Anoob Joseph
From: Ankur Dwivedi This patch adds the symmetric session related callbacks. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_mcode_defines.h| 2 + drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 117

[dpdk-dev] [PATCH v2 07/12] crypto/octeontx2: add enqueue/dequeue ops

2019-10-13 Thread Anoob Joseph
This patch adds the enqueue burst and dequeue burst callbacks for the OCTEON TX2 crypto driver. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_hw_types.h | 52 drivers/crypto/octeontx2/Makefile

[dpdk-dev] [PATCH v2 10/12] crypto/octeontx2: add asymmetric session operations

2019-10-13 Thread Anoob Joseph
From: Kanaka Durga Kotamarthy This patch adds asymmetric session setup and free routines. RSA and modexp operations are supported. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- doc/guides/cryptodevs/features/octeontx2.ini | 4 ++ doc

[dpdk-dev] [PATCH v2 11/12] crypto/octeontx2: add asymmetric in enqueue/dequeue ops

2019-10-13 Thread Anoob Joseph
From: Sunila Sahu This patch adds asymmetric support in enqueue/dequeue ops. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 177 ++ drivers/crypto/octeontx2/otx2_cryptod

[dpdk-dev] [PATCH v2 12/12] app/test: register octeontx2 PMD to asym testsuite

2019-10-13 Thread Anoob Joseph
From: Sunila Sahu This patch updates asymmetric crypto unit-test application to validate asymmetric crypto operation supported by octeontx2 PMD. Signed-off-by: Anoob Joseph Signed-off-by: Kanaka Durga Kotamarthy Signed-off-by: Sunila Sahu --- app/test/test_cryptodev_asym.c | 20

Re: [dpdk-dev] [PATCH v3 0/3] add fallback session

2019-10-13 Thread Anoob Joseph
Hi Konstantin, Thanks for clarifying your stand on review comments. From the comments we(Marvell/Cavium) have received on multiple features, my impression is that the feature need to be correct/fully done/acceptable to the overall community. Features are usually agreed upon if there is solid pl

Re: [dpdk-dev] [PATCH v3 1/3] lib/ring: add peek API

2019-10-13 Thread Ananyev, Konstantin
> > > > > > > > > > > > > > > > > > > > > > > > > > > Subject: [PATCH v3 1/3] lib/ring: add peek API > > > > > > > > > > > > > > > > > > From: Ruifeng Wang > > > > > > > > > > > > > > > > > > The peek API allows fetching the next available object in > > > > > > > > > the ring without dequeuing

Re: [dpdk-dev] [RFC PATCH 1/9] security: introduce CPU Crypto action type and API

2019-10-13 Thread Zhang, Roy Fan
Hi Akhil, Thanks for the review and comments! Knowing you are extremely busy. Here is my point in brief: I think placing the CPU synchronous crypto in the rte_security make sense, as 1. rte_security contains inline crypto and lookaside crypto action type already, adding cpu_crypto action type i

[dpdk-dev] [PATCH 1/7] net/bnxt: fix dereference before null check

2019-10-13 Thread Ajit Khaparde
From: Kalesh AP This patch fixes potential null pointer access in bnxt_alloc_ag_data(). Fix to return an error if null check is true. Fixes: daef48efe5e5 ("net/bnxt: support set MTU") Cc: sta...@dpdk.org Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- driv

[dpdk-dev] [PATCH 4/7] net/bnxt: move macro definitions to header file

2019-10-13 Thread Ajit Khaparde
From: Kalesh AP Move device and vendor ids macro definition from bnxt_ethdev.c to bnxt.h. There is no functionality impact. Fixes: 882aa9c6e2e1 ("net/bnxt: move PCI device ids to the driver") Cc: sta...@dpdk.org Signed-off-by: Kalesh AP Reviewed-by: Lance Richardson Reviewed-by: Ajit Khaparde

[dpdk-dev] [PATCH 0/7] patchset for bnxt

2019-10-13 Thread Ajit Khaparde
Patchset mostly contains bug fixes apart from removing some dead code and unnecessary comments. Please apply. Kalesh AP (5): net/bnxt: fix dereference before null check net/bnxt: cleanup comments in source net/bnxt: move macro definitions to header file net/bnxt: fix endianness while retri

[dpdk-dev] [PATCH 2/7] net/bnxt: reset Rx allocation state on Rx queue restart

2019-10-13 Thread Ajit Khaparde
From: Lance Richardson Call bnxt_rxq_vec_setup() to ensure that rxq->rxrearm_nb and rxq->rxrearm_start are initialized correctly when a receive queue is restarted. Fixes: bc4a000f2f53 ("net/bnxt: implement SSE vector mode") Cc: sta...@dpdk.org Signed-off-by: Lance Richardson Reviewed-by: Xiaob

[dpdk-dev] [PATCH 6/7] net/bnxt: fix endianness while retrieving MTU from FW

2019-10-13 Thread Ajit Khaparde
From: Kalesh AP In bnxt_hwrm_func_qcfg(), use rte_le_to_cpu_16 while getting the mtu value from command response. Fixes: 905cd45ce30ef ("net/bnxt: use configured MTU during load") Cc: sta...@dpdk.org Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/

[dpdk-dev] [PATCH 7/7] net/bnxt: fix error handling

2019-10-13 Thread Ajit Khaparde
From: Kalesh AP Add missing return instead of setting the error status in case of error. Fixes: bfb9c2260be2 ("net/bnxt: support xstats get/reset") Cc: sta...@dpdk.org Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_stats.c | 2 +- 1

[dpdk-dev] [PATCH 5/7] net/bnxt: fix race between interrupt handler and dev config

2019-10-13 Thread Ajit Khaparde
From: Somnath Kotur Fix a possible that while interrupt handler is in the middle of processing, dev_configure_op() might come in and try to destroy/realloc the default completion ring on which interrupt completions arrive. Synchronize the two so they don't race each other Fixes: 7bc8e9a227cc ("n

[dpdk-dev] [PATCH 3/7] net/bnxt: cleanup comments in source

2019-10-13 Thread Ajit Khaparde
From: Kalesh AP - updated one comment for more readability and understanding - fixed typo in comments - moved a comment to right place - removed one out-of-date comment - removed few commented code Fixes: f2a768d4d186 ("net/bnxt: add completion ring") Cc: sta...@dpdk.org Signed-off-by: Kalesh A

Re: [dpdk-dev] [PATCH v3] vhost: add support for large buffers

2019-10-13 Thread Tiwei Bie
On Fri, Oct 11, 2019 at 02:09:47PM -0300, Flavio Leitner wrote: > The rte_vhost_dequeue_burst supports two ways of dequeuing data. > If the data fits into a buffer, then all data is copied and a > single linear buffer is returned. Otherwise it allocates > additional mbufs and chains them together t

Re: [dpdk-dev] [PATCH v4 13/14] vhost: check whether disable software pre-fetch

2019-10-13 Thread Liu, Yong
> -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Friday, October 11, 2019 10:12 PM > To: Liu, Yong ; Bie, Tiwei ; Wang, > Zhihong ; step...@networkplumber.org; > gavin...@arm.com > Cc: dev@dpdk.org > Subject: Re: [PATCH v4 13/14] vhost: check whethe

Re: [dpdk-dev] [EXT] [PATCH v5] cryptodev: extend api of asymmetric crypto by session-less

2019-10-13 Thread Anoob Joseph
Hi Arek, Minor suggestion inline. Not a blocker issue. Acked-by: Anoob Joseph > -Original Message- > From: Arek Kusztal > Sent: Thursday, October 10, 2019 4:33 PM > To: dev@dpdk.org > Cc: akhil.go...@nxp.com; fiona.tr...@intel.com; Anoob Joseph > ; Shally Verma ; Arek Kusztal > > Subj

Re: [dpdk-dev] [PATCH 0/7] patchset for bnxt

2019-10-13 Thread Ajit Khaparde
On Sun, Oct 13, 2019 at 5:01 PM Ajit Khaparde wrote: > Patchset mostly contains bug fixes apart from > removing some dead code and unnecessary comments. > Please apply. > Patchset applied to dpdk-next-net-brcm > > Kalesh AP (5): > net/bnxt: fix dereference before null check > net/bnxt: cle

Re: [dpdk-dev] [PATCH v10 0/5] kni: add IOVA=VA support

2019-10-13 Thread Vamsi Krishna Attunuru
Hi Ferruh, Mempool related patch has been acked by Olivier. Could you please review the kni related patches and make sure that it will be merged in 19.11 release. Regards, Vamsi > -Original Message- > From: Vamsi Krishna Attunuru > Sent: Tuesday, October 8, 2019 10:39 AM > To: Vamsi Kr

Re: [dpdk-dev] [PATCH v3 1/3] lib/ring: add peek API

2019-10-13 Thread Honnappa Nagarahalli
> > > > > > > > > > Subject: [PATCH v3 1/3] lib/ring: add peek API > > > > > > > > > > > > > > > > > > > > From: Ruifeng Wang > > > > > > > > > > > > > > > > > > > > The peek API allows fetching the next available object > > > > > > > > > > in the ring without dequeuing it. This helps in > > > >

[dpdk-dev] [PATCH] ethdev: add HIGIG2 key field to flow API

2019-10-13 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K --

Re: [dpdk-dev] [PATCH 10/10] crypto/dpaa_sec: code reorg for better session mgmt

2019-10-13 Thread Hemant Agrawal
Hi Aaron, Thanks! I will fix these comments. Regards, Hemant > -Original Message- > From: Aaron Conole > Sent: Saturday, October 12, 2019 12:34 AM > To: Hemant Agrawal > Cc: dev@dpdk.org; Akhil Goyal > Subject: Re: [dpdk-dev] [PATCH 10/10] crypto/dpaa_sec: code reorg for > bette

[dpdk-dev] [PATCH v1 1/6] crypto/ccp: fix documentation updating algo arguments like AES_CBC to aes-cbc, SHA1_HMAC to sha1-hmac

2019-10-13 Thread asomalap
From: Amaranath Somalapuram Signed-off-by: Amaranath Somalapuram --- doc/guides/cryptodevs/ccp.rst | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/guides/cryptodevs/ccp.rst b/doc/guides/cryptodevs/ccp.rst index 034d20367..a43fe92de 1006

[dpdk-dev] [PATCH v1 2/6] crypto/ccp: fix for max queue pair and max burst sizes for ccp drivers fixing crash issue in VPP when ccp used. vpp max burst size is 256, and minimum queue pair required is

2019-10-13 Thread asomalap
From: Amaranath Somalapuram Signed-off-by: Amaranath Somalapuram --- drivers/crypto/ccp/ccp_pmd_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/ccp/ccp_pmd_private.h b/drivers/crypto/ccp/ccp_pmd_private.h index 7f2979e89..781050c31 100644 --- a/

[dpdk-dev] [PATCH v1 3/6] crypto/ccp: fix for crash when ccp cpu authentication algorithm fails when ccp_auth_opt=1 is set and authentication error occurred ccp driver crash.

2019-10-13 Thread asomalap
From: Amaranath Somalapuram Signed-off-by: Amaranath Somalapuram --- drivers/crypto/ccp/ccp_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/ccp/ccp_crypto.c b/drivers/crypto/ccp/ccp_crypto.c index 19ae9153d..1837c8543 100644 --- a/drivers/crypto/ccp/c

[dpdk-dev] [PATCH v1 4/6] crypto/ccp: fix for crypto capabilites ops crypto capabilites ops for ccp initilzed incorrectly. fix the correct values for the capabilites ops

2019-10-13 Thread asomalap
From: Amaranath Somalapuram Signed-off-by: Amaranath Somalapuram --- drivers/crypto/ccp/ccp_pmd_ops.c | 44 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/crypto/ccp/ccp_pmd_ops.c b/drivers/crypto/ccp/ccp_pmd_ops.c index d5041f0ec..76837

[dpdk-dev] [PATCH v1 6/6] crypto/ccp: fix for scheduling multiple CCP within single burst ccp driver was scheduling only one CCP in a single burst. Effective throughput was limited to 1 CCP performanc

2019-10-13 Thread asomalap
From: Amaranath Somalapuram Signed-off-by: Amaranath Somalapuram --- drivers/crypto/ccp/ccp_crypto.c | 22 ++ drivers/crypto/ccp/ccp_crypto.h | 7 +++- drivers/crypto/ccp/ccp_pmd_private.h | 2 + drivers/crypto/ccp/rte_ccp_pmd.c | 63 4 files

[dpdk-dev] [PATCH v1 5/6] crypto/ccp: enable IOMMU for CCP CCP use vdev framework, and vdev framework don’t support IOMMU. Adding custom IOMMU support for AMD CCP drives.

2019-10-13 Thread asomalap
From: Amaranath Somalapuram Signed-off-by: Amaranath Somalapuram --- drivers/crypto/ccp/ccp_crypto.c | 244 --- drivers/crypto/ccp/ccp_dev.c | 56 ++- drivers/crypto/ccp/ccp_dev.h | 2 +- drivers/crypto/ccp/ccp_pci.c | 1 + drivers/crypto/ccp/cc

Re: [dpdk-dev] [PATCH v3 00/12] net/ice: base code update

2019-10-13 Thread Ye Xiaolong
On 10/08, Qi Zhang wrote: >Changes in summary >1. add GTP TEID support for fdir >2. improve fdir mask support. >3. couple fixes. >4. support QFI match in fdir > >v2: >- add QFI match support in fdir >- couple fixes and code clean > >v3: >- fix title in patch 12/12 > >Qi Zhang (12): > net/ice/base:

Re: [dpdk-dev] [PATCH v1 5/6] crypto/ccp: enable IOMMU for CCP CCP use vdev framework, and vdev framework don’t support IOMMU. Adding custom IOMMU support for AMD CCP drives.

2019-10-13 Thread Jerin Jacob
On Mon, Oct 14, 2019 at 10:52 AM wrote: > > From: Amaranath Somalapuram git commit subject not found. Make sure to run the following before submitting the patch ./devtools/check-git-log.sh ./devtools/checkpatches.sh > > Signed-off-by: Amaranath Somalapuram > --- > drivers/crypto/ccp/ccp_crypt

Re: [dpdk-dev] [RFC PATCH v1] regexdev: introduce regexdev subsystem

2019-10-13 Thread Wang Xiang
On Fri, Sep 27, 2019 at 02:35:00PM +, Jerin Jacob Kollanukkaran wrote: > > -Original Message- > > From: Wang Xiang > > > > Hi Jerin, > > > > Thanks for your response. More comments below and inline. > > > > 1) I think the size of some varaibles (e.g. nb_matches, scan_size, matching

[dpdk-dev] [PATCH v2 01/10] test/crypto: fix PDCP test support

2019-10-13 Thread Hemant Agrawal
use session_priv_mpool instead of session pool Fixes: d883e6e7131b ("test/crypto: add PDCP C-Plane encap cases") Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev

[dpdk-dev] [PATCH v2 00/10] NXP DPAAx crypto fixes

2019-10-13 Thread Hemant Agrawal
This patch series largely content 1. fixes in crypto drivers 2. supprot ESN like cases 3. enabling snow/ZUC for dpaa_sec v2: fix the clang compilation errors in 10/10 Hemant Agrawal (7): test/crypto: fix PDCP test support crypto/dpaa2_sec: fix ipv6 support test/crypto: increase test cases s

[dpdk-dev] [PATCH v2 02/10] crypto/dpaa2_sec: fix ipv6 support

2019-10-13 Thread Hemant Agrawal
HW PDB Option was being overwritten. Fixes: 53982ba2805d ("crypto/dpaa2_sec: support IPv6 tunnel for protocol offload") Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/dpaa2_se

[dpdk-dev] [PATCH v2 04/10] crypto/dpaa2_sec: enhance gcm descs to not skip aadt

2019-10-13 Thread Hemant Agrawal
From: Vakul Garg The GCM descriptors needlessly skip auth_only_len bytes from output buffer. Due to this, workarounds have to be made in dpseci driver code. Also this leads to failing of one cryptodev test case for gcm. In this patch, we change the descriptor construction and adjust dpseci driver

[dpdk-dev] [PATCH v2 07/10] test/crypto: add test to test ESN like case

2019-10-13 Thread Hemant Agrawal
This patch add support for case when there is auth only header and auth only tailroom area. This simulates the cases of IPSEC ESN cases. This patch also enable the new test case for openssl, dpaaX platforms. Signed-off-by: Hemant Agrawal Signed-off-by: Vakul Garg --- app/test/test_cryptodev.c

[dpdk-dev] [PATCH v2 06/10] test/crypto: increase test cases support for dpaax

2019-10-13 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 132 -- 1 file changed, 113 insertions(+), 19 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 879b31ceb..c4c730495 100644 --- a/app/test/test_cryptodev.c +++ b/

[dpdk-dev] [PATCH v2 03/10] crypto/dpaa_sec: fix to check for aead as well

2019-10-13 Thread Hemant Agrawal
From: Vakul Garg The code shall also check aead as non auth-cipher case Fixes: 1f14d500bce1 ("crypto/dpaa_sec: support IPsec protocol offload") Cc: sta...@dpdk.org Signed-off-by: Vakul Garg --- drivers/crypto/dpaa_sec/dpaa_sec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --

[dpdk-dev] [PATCH v2 05/10] crypto/dpaa2_sec: add support of auth trailer in cipher-auth

2019-10-13 Thread Hemant Agrawal
From: Vakul Garg This patch adds support of auth-only data trailing after cipher data. Signed-off-by: Vakul Garg --- drivers/crypto/caam_jr/caam_jr.c| 24 +-- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 17 +- drivers/crypto/dpaa2_sec/hw/desc/ipsec.h| 167 --

[dpdk-dev] [PATCH v2 08/10] crypto/dpaa_sec: add support for snow3G and ZUC

2019-10-13 Thread Hemant Agrawal
This patch add support for ZUC and SNOW 3G in non-PDCP offload mode. Signed-off-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa_sec.rst | 4 + doc/guides/cryptodevs/features/dpaa_sec.ini | 4 + drivers/crypto/dpaa_sec/dpaa_sec.c | 378 drivers/crypto/

Re: [dpdk-dev] [PATCH v4 02/14] vhost: unify unroll pragma parameter

2019-10-13 Thread Liu, Yong
> -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Friday, October 11, 2019 8:49 PM > To: Liu, Yong ; Bie, Tiwei ; Wang, > Zhihong ; step...@networkplumber.org; > gavin...@arm.com > Cc: dev@dpdk.org > Subject: Re: [PATCH v4 02/14] vhost: unify unroll

[dpdk-dev] [PATCH v2 10/10] crypto/dpaa_sec: code reorg for better session mgmt

2019-10-13 Thread Hemant Agrawal
The session related parameters shall be populated during the session create only. At the runtime on first packet, the CDB should just reference the session data instead of re-interpreting data again. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa_sec/dpaa_sec.c | 657 +++--

[dpdk-dev] [PATCH v2 09/10] test/crypto: enable snow3G and zuc cases for dpaa

2019-10-13 Thread Hemant Agrawal
This patch add the snow and zuc cipher only and auth only cases support. Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 64 +++ 1 file changed, 64 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index ec0473016.

Re: [dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of ARRAY_SIZE

2019-10-13 Thread Pavan Nikhilesh Bhagavatula
>-Original Message- >From: Ferruh Yigit >Sent: Friday, October 11, 2019 7:18 PM >To: Ananyev, Konstantin ; Hemant >Agrawal ; Pavan Nikhilesh Bhagavatula >; Sachin Saxena >; Akhil Goyal ; Igor >Russkikh ; Pavel Belous >; Ravi Kumar ; >Rasesh Mody ; Shahed Shaikh >; Rahul Lakkireddy >; Mar