[dpdk-dev] [PATCH v1 0/1] update documentation file

2020-10-27 Thread Vikas Gupta
Hi, This patchset update the bcmfs.rst file. Regards, Vikas Vikas Gupta (1): crypto/bcmfs: update documentation file doc/guides/cryptodevs/bcmfs.rst | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) -- 2.17.1

[dpdk-dev] [PATCH v1 1/1] crypto/bcmfs: update documentation file

2020-10-27 Thread Vikas Gupta
Update bcmfs.rst file with supported features and devices. Signed-off-by: Vikas Gupta Reviewed-by: Ajit Khaparde Reviewed-by: JP Lee --- doc/guides/cryptodevs/bcmfs.rst | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/doc/guides/cryptodevs/bcmfs.rst b/doc

[dpdk-dev] MSI interrupts

2020-11-09 Thread Vikas Gupta
Hi, In vfio_enable_msi api the count value passed to the kernel is hardcoded to ‘1’. Is there any specific reason behind this? I believe this can be set to more than 1. Any information on this would be helpful. Thanks, Vikas

[dpdk-dev] [PATCH v1 1/1] crypto/bcmfs: fix documentation error

2020-10-16 Thread Vikas Gupta
Fix documentation error in bcmfs.ini. Add a section for asymmetric algorithms. Signed-off-by: Vikas Gupta Reviewed-by: Ajit Khaparde --- doc/guides/cryptodevs/features/bcmfs.ini | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/guides/cryptodevs/features/bcmfs.ini b

[dpdk-dev] [PATCH v1 0/1] documentation error fix

2020-10-16 Thread Vikas Gupta
Hi, This patch fixes documentation error in bcmfs.init Regards, Vikas Vikas Gupta (1): crypto/bcmfs: fix documentation error doc/guides/cryptodevs/features/bcmfs.ini | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.17.1

Re: [dpdk-dev] [PATCH v2 1/8] crypto/bcmfs: add BCMFS driver

2020-09-29 Thread Vikas Gupta
Hi Akhil, On Tue, Sep 29, 2020 at 12:19 AM Akhil Goyal wrote: > > Hi Vikas, > > > +BCMFS crypto PMD depend upon the devices present in the path > > +/sys/bus/platform/devices/fs/ on the platform. > > +Each cryptodev PMD instance can be attached to the nodes present > > +in the mentioned path. > >

Re: [dpdk-dev] [PATCH v2 2/8] crypto/bcmfs: add vfio support

2020-09-29 Thread Vikas Gupta
Hi Akhil, On Tue, Sep 29, 2020 at 12:30 AM Akhil Goyal wrote: > > Hi Vikas, > > > Subject: [PATCH v2 2/8] crypto/bcmfs: add vfio support > > > > Add vfio support for device. > > > > Signed-off-by: Vikas Gupta > > Signed-off-by: Raveend

Re: [dpdk-dev] [PATCH v2 3/8] crypto/bcmfs: add apis for queue pair management

2020-09-29 Thread Vikas Gupta
Hi Akhil, On Tue, Sep 29, 2020 at 12:59 AM Akhil Goyal wrote: > > > Subject: [PATCH v2 3/8] crypto/bcmfs: add apis for queue pair management > > > > diff --git a/drivers/crypto/bcmfs/bcmfs_hw_defs.h > > b/drivers/crypto/bcmfs/bcmfs_hw_defs.h > > new file mode 100644 > > index 0..ecb0c09ba

Re: [dpdk-dev] [PATCH v2 6/8] crypto/bcmfs: add session handling and capabilities

2020-09-29 Thread Vikas Gupta
Hi Akhil, On Tue, Sep 29, 2020 at 1:16 AM Akhil Goyal wrote: > > Hi Vikas, > > > diff --git a/doc/guides/cryptodevs/features/bcmfs.ini > > b/doc/guides/cryptodevs/features/bcmfs.ini > > new file mode 100644 > > index 0..82d2c639d > > --- /dev/null > > +++ b/doc/guides/cryptodevs/features/

[dpdk-dev] [PATCH v3 0/8] Add Crypto PMD for Broadcom`s FlexSparc devices

2020-10-05 Thread Vikas Gupta
Fix minor code style issues in few files as part of review. Vikas Gupta (8): crypto/bcmfs: add BCMFS driver crypto/bcmfs: add vfio support crypto/bcmfs: add apis for queue pair management crypto/bcmfs: add hw queue pair operations crypto/bcmfs: create a symmetric cryptodev crypto/bcmfs: ad

[dpdk-dev] [PATCH v3 2/8] crypto/bcmfs: add vfio support

2020-10-05 Thread Vikas Gupta
Add VFIO support for BCMFS PMD. The BCMFS PMD functionality is dependent on the VFIO_PRESENT flag, which gets enabled in the rte_vfio.h. If this flag is not enabled in the compiling platform driver will silently return with error, when executed. Signed-off-by: Vikas Gupta Signed-off-by

[dpdk-dev] [PATCH v3 3/8] crypto/bcmfs: add apis for queue pair management

2020-10-05 Thread Vikas Gupta
Add queue pair management APIs which will be used by Crypto device to manage h/w queues. A bcmfs device structure owns multiple queue-pairs based on the mapped address allocated to it. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto

[dpdk-dev] [PATCH v3 1/8] crypto/bcmfs: add BCMFS driver

2020-10-05 Thread Vikas Gupta
Add Broadcom FlexSparc(FS) device creation driver which registers to a vdev and create a device. Add APIs for logs, supportive documention and maintainers file. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- MAINTAINERS

[dpdk-dev] [PATCH v3 4/8] crypto/bcmfs: add hw queue pair operations

2020-10-05 Thread Vikas Gupta
Add queue pair operations exported by supported devices. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_dev_msg.h | 29 + drivers/crypto/bcmfs/bcmfs_device.c | 51 ++ drivers/crypto/bcmfs/bcmfs_device.h

[dpdk-dev] [PATCH v3 6/8] crypto/bcmfs: add session handling and capabilities

2020-10-05 Thread Vikas Gupta
Add session handling and capabilities supported by crypto h/w accelerator Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- doc/guides/cryptodevs/bcmfs.rst | 47 ++ doc/guides/cryptodevs/features/bcmfs.ini | 56 ++ drivers

[dpdk-dev] [PATCH v3 5/8] crypto/bcmfs: create a symmetric cryptodev

2020-10-05 Thread Vikas Gupta
Create a symmetric crypto device and add supported cryptodev ops. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_device.c | 15 ++ drivers/crypto/bcmfs/bcmfs_device.h | 9 + drivers/crypto/bcmfs/bcmfs_qp.c

[dpdk-dev] [PATCH v3 8/8] crypto/bcmfs: add crypto pmd into cryptodev test

2020-10-05 Thread Vikas Gupta
Add global test suite for bcmfs crypto pmd Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- app/test/test_cryptodev.c | 17 + app/test/test_cryptodev.h | 1 + doc/guides/cryptodevs/bcmfs.rst | 11 +++ 3 files

[dpdk-dev] [PATCH v3 7/8] crypto/bcmfs: add crypto h/w module

2020-10-05 Thread Vikas Gupta
Add crypto h/w module to process crypto op. Crypto op is processed via sym_engine module before submitting the crypto request to h/w queues. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_sym.c| 289

Re: [dpdk-dev] [PATCH v2 0/8] Add Crypto PMD for Broadcom`s FlexSparc devices

2020-10-05 Thread Vikas Gupta
Hi Akhil, On Mon, Oct 5, 2020 at 10:17 PM Ajit Khaparde wrote: > > On Mon, Oct 5, 2020 at 8:39 AM Akhil Goyal wrote: > > > > Hi Vikas > > > > > > > > > > > > > Hi, > > > > This patchset contains support for Crypto offload on Broadcom’s > > > > Stingray/Stingray2 SoCs having FlexSparc unit. > > >

[dpdk-dev] [PATCH v4 0/8] Add Crypto PMD for Broadcom`s FlexSparc devices

2020-10-07 Thread Vikas Gupta
Fix minor code style issues in few files as part of review. Changes from v3->v4: - Code style issues fixed. - Change of barrier API in bcmfs4_rm.c and bcmfs5_rm.c Vikas Gupta (8): crypto/bcmfs: add BCMFS driver crypto/bcmfs: add vfio support crypto/bcmfs: add queue pair ma

[dpdk-dev] [PATCH v4 2/8] crypto/bcmfs: add vfio support

2020-10-07 Thread Vikas Gupta
Add VFIO support for BCMFS PMD. The BCMFS PMD functionality is dependent on the VFIO_PRESENT flag, which gets enabled in the rte_vfio.h. If this flag is not enabled in the compiling platform driver will silently return with error, when executed. Signed-off-by: Vikas Gupta Signed-off-by

[dpdk-dev] [PATCH v4 1/8] crypto/bcmfs: add BCMFS driver

2020-10-07 Thread Vikas Gupta
Add Broadcom FlexSparc(FS) device creation driver which registers to a vdev and create a device. Add APIs for logs, supportive documentation and maintainers file. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- MAINTAINERS

[dpdk-dev] [PATCH v4 4/8] crypto/bcmfs: add HW queue pair operations

2020-10-07 Thread Vikas Gupta
Add queue pair operations exported by supported devices. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_dev_msg.h | 29 + drivers/crypto/bcmfs/bcmfs_device.c | 51 ++ drivers/crypto/bcmfs/bcmfs_device.h

[dpdk-dev] [PATCH v4 3/8] crypto/bcmfs: add queue pair management API

2020-10-07 Thread Vikas Gupta
Add queue pair management APIs which will be used by Crypto device to manage h/w queues. A bcmfs device structure owns multiple queue-pairs based on the mapped address allocated to it. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto

[dpdk-dev] [PATCH v4 6/8] crypto/bcmfs: add session handling and capabilities

2020-10-07 Thread Vikas Gupta
Add session handling and capabilities supported by crypto h/w accelerator Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- doc/guides/cryptodevs/bcmfs.rst | 47 ++ doc/guides/cryptodevs/features/bcmfs.ini | 56 ++ drivers

[dpdk-dev] [PATCH v4 5/8] crypto/bcmfs: create a symmetric cryptodev

2020-10-07 Thread Vikas Gupta
Create a symmetric crypto device and add supported cryptodev ops. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_device.c | 15 ++ drivers/crypto/bcmfs/bcmfs_device.h | 6 + drivers/crypto/bcmfs/bcmfs_qp.c

[dpdk-dev] [PATCH v4 8/8] crypto/bcmfs: add crypto pmd into cryptodev test

2020-10-07 Thread Vikas Gupta
Add global test suite for bcmfs crypto pmd Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- app/test/test_cryptodev.c | 17 + app/test/test_cryptodev.h | 1 + doc/guides/cryptodevs/bcmfs.rst | 11 +++ 3 files

[dpdk-dev] [PATCH v4 7/8] crypto/bcmfs: add crypto HW module

2020-10-07 Thread Vikas Gupta
Add crypto h/w module to process crypto op. Crypto op is processed via sym_engine module before submitting the crypto request to h/w queues. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_sym.c| 289

[dpdk-dev] [PATCH v5 0/8] Add Crypto PMD for Broadcom`s FlexSparc devices

2020-10-07 Thread Vikas Gupta
Fix minor code style issues in few files as part of review. Changes from v3->v4: - Code style issues fixed. - Change of barrier API in bcmfs4_rm.c and bcmfs5_rm.c Changes from v4->v5: - Change of barrier API in bcmfs4_rm.c. Missed one in v4 Vikas Gupta (8): crypto/b

[dpdk-dev] [PATCH v5 2/8] crypto/bcmfs: add vfio support

2020-10-07 Thread Vikas Gupta
Add VFIO support for BCMFS PMD. The BCMFS PMD functionality is dependent on the VFIO_PRESENT flag, which gets enabled in the rte_vfio.h. If this flag is not enabled in the compiling platform driver will silently return with error, when executed. Signed-off-by: Vikas Gupta Signed-off-by

[dpdk-dev] [PATCH v5 1/8] crypto/bcmfs: add BCMFS driver

2020-10-07 Thread Vikas Gupta
Add Broadcom FlexSparc(FS) device creation driver which registers to a vdev and create a device. Add APIs for logs, supportive documentation and maintainers file. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- MAINTAINERS

[dpdk-dev] [PATCH v5 3/8] crypto/bcmfs: add queue pair management API

2020-10-07 Thread Vikas Gupta
Add queue pair management APIs which will be used by Crypto device to manage h/w queues. A bcmfs device structure owns multiple queue-pairs based on the mapped address allocated to it. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto

[dpdk-dev] [PATCH v5 5/8] crypto/bcmfs: create a symmetric cryptodev

2020-10-07 Thread Vikas Gupta
Create a symmetric crypto device and add supported cryptodev ops. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_device.c | 15 ++ drivers/crypto/bcmfs/bcmfs_device.h | 6 + drivers/crypto/bcmfs/bcmfs_qp.c

[dpdk-dev] [PATCH v5 4/8] crypto/bcmfs: add HW queue pair operations

2020-10-07 Thread Vikas Gupta
Add queue pair operations exported by supported devices. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_dev_msg.h | 29 + drivers/crypto/bcmfs/bcmfs_device.c | 51 ++ drivers/crypto/bcmfs/bcmfs_device.h

[dpdk-dev] [PATCH v5 7/8] crypto/bcmfs: add crypto HW module

2020-10-07 Thread Vikas Gupta
Add crypto h/w module to process crypto op. Crypto op is processed via sym_engine module before submitting the crypto request to HW queues. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_sym.c| 289

[dpdk-dev] [PATCH v5 6/8] crypto/bcmfs: add session handling and capabilities

2020-10-07 Thread Vikas Gupta
Add session handling and capabilities supported by crypto HW accelerator Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- doc/guides/cryptodevs/bcmfs.rst | 47 ++ doc/guides/cryptodevs/features/bcmfs.ini | 56 ++ drivers/crypto

[dpdk-dev] [PATCH v5 8/8] crypto/bcmfs: add crypto pmd into cryptodev test

2020-10-07 Thread Vikas Gupta
Add global test suite for bcmfs crypto pmd Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- app/test/test_cryptodev.c | 17 + app/test/test_cryptodev.h | 1 + doc/guides/cryptodevs/bcmfs.rst | 11 +++ 3 files

[dpdk-dev] [PATCH v1 0/1] optimization for crypto request processing

2020-10-12 Thread Vikas Gupta
Hi, This patch optimizes for crypto request processing in crypto engine by reducing the number of source BDs for Broadcom FlexSparc device. The patch has been tested on FlexSparc device. Regards, Vikas Vikas Gupta (1): crypto/bcmfs: optimize crypto request processing drivers/crypto/bcmfs

[dpdk-dev] [PATCH v1 1/1] crypto/bcmfs: optimize crypto request processing

2020-10-12 Thread Vikas Gupta
Reduce number of source BDs to submit a request to crypto engine. This improves the performance as crypto engine fetches all the BDs in single cycle. Adjust optional metadata (OMD) in continuation of fixed meta data (FMD). Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed

[dpdk-dev] [PATCH v2 1/1] crypto/bcmfs: optimize crypto request processing

2020-10-13 Thread Vikas Gupta
Reduce number of source BDs to submit a request to crypto engine. This improves the performance as crypto engine fetches all the BDs in single cycle. Adjust optional metadata (OMD) in continuation of fixed meta data (FMD). Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed

[dpdk-dev] [PATCH v2 0/1] optimization for crypto request processing

2020-10-13 Thread Vikas Gupta
Hi, This patch optimizes for crypto request processing in crypto engine by reducing the number of source BDs for Broadcom FlexSparc device. The patch has been tested on FlexSparc device. Regards, Vikas Changes from: v1->v2 Rebase the patch with latest dpdk-next-crypto Vikas Gupta

[dpdk-dev] [PATCH v1 0/8] Add Crypto PMD for Broadcom`s FlexSparc devices

2020-08-12 Thread Vikas Gupta
ile 'rte_pmd_bcmfs_version.map' Vikas Gupta (8): crypto/bcmfs: add BCMFS driver crypto/bcmfs: add vfio support crypto/bcmfs: add apis for queue pair management crypto/bcmfs: add hw queue pair operations crypto/bcmfs: create a symmetric cryptodev crypto/bcmfs: add session

[dpdk-dev] [PATCH v1 2/8] crypto/bcmfs: add vfio support

2020-08-12 Thread Vikas Gupta
Add vfio support for device. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/Makefile | 1 + drivers/crypto/bcmfs/bcmfs_device.c | 5 ++ drivers/crypto/bcmfs/bcmfs_device.h | 6 ++ drivers/crypto/bcmfs/bcmfs_vfio.c

[dpdk-dev] [PATCH v1 1/8] crypto/bcmfs: add BCMFS driver

2020-08-12 Thread Vikas Gupta
Add Broadcom FlexSparc(FS) device creation driver which registers to a vdev and create a device. Add APIs for logs, supportive documention and maintainers file. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- MAINTAINERS

[dpdk-dev] [PATCH v1 5/8] crypto/bcmfs: create a symmetric cryptodev

2020-08-12 Thread Vikas Gupta
Create a symmetric crypto device and supported cryptodev ops. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_device.c | 15 ++ drivers/crypto/bcmfs/bcmfs_device.h | 9 + drivers/crypto/bcmfs/bcmfs_qp.c | 37

[dpdk-dev] [PATCH v1 4/8] crypto/bcmfs: add hw queue pair operations

2020-08-12 Thread Vikas Gupta
Add queue pair operations exported by supported devices. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_dev_msg.h | 29 + drivers/crypto/bcmfs/bcmfs_device.c | 51 ++ drivers/crypto/bcmfs/bcmfs_device.h

[dpdk-dev] [PATCH v1 6/8] crypto/bcmfs: add session handling and capabilities

2020-08-12 Thread Vikas Gupta
Add session handling and capabilities supported by crypto h/w accelerator. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- doc/guides/cryptodevs/bcmfs.rst | 46 ++ doc/guides/cryptodevs/features/bcmfs.ini | 56 ++ drivers

[dpdk-dev] [PATCH v1 3/8] crypto/bcmfs: add apis for queue pair management

2020-08-12 Thread Vikas Gupta
Add queue pair management APIs which will be used by Crypto device to manage h/w queues. A bcmfs device structure owns multiple queue-pairs based on the mapped address allocated to it. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto

[dpdk-dev] [PATCH v1 7/8] crypto/bcmfs: add crypto h/w module

2020-08-12 Thread Vikas Gupta
Add crypto h/w module to process crypto op. Crypto op is processed via sym_engine module before submitting the crypto request to h/w queues. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_sym.c| 316

[dpdk-dev] [PATCH v1 8/8] crypto/bcmfs: add crypto pmd into cryptodev test

2020-08-12 Thread Vikas Gupta
Add test suites for supported algorithms by bcmfs crypto pmd Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- app/test/test_cryptodev.c | 261 ++ app/test/test_cryptodev.h | 1 + 2 files changed, 262 insertions

[dpdk-dev] [PATCH v2 2/8] crypto/bcmfs: add vfio support

2020-08-13 Thread Vikas Gupta
Add vfio support for device. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_device.c | 5 ++ drivers/crypto/bcmfs/bcmfs_device.h | 6 ++ drivers/crypto/bcmfs/bcmfs_vfio.c | 107

[dpdk-dev] [PATCH v2 0/8] Add Crypto PMD for Broadcom`s FlexSparc devices

2020-08-13 Thread Vikas Gupta
ile .../crypto/bcmfs/rte_pmd_bcmfs_version.map Changes from v1->v2: - Fix compilation errors and coding style warnings. - Use global test crypto suite suggested by Adam Dybkowski Vikas Gupta (8): crypto/bcmfs: add BCMFS driver crypto/bcmfs: add vfio support crypto/bcmfs: add ap

[dpdk-dev] [PATCH v2 1/8] crypto/bcmfs: add BCMFS driver

2020-08-13 Thread Vikas Gupta
Add Broadcom FlexSparc(FS) device creation driver which registers to a vdev and create a device. Add APIs for logs, supportive documention and maintainers file. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- MAINTAINERS

[dpdk-dev] [PATCH v2 5/8] crypto/bcmfs: create a symmetric cryptodev

2020-08-13 Thread Vikas Gupta
Create a symmetric crypto device and supported cryptodev ops. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_device.c | 15 ++ drivers/crypto/bcmfs/bcmfs_device.h | 9 + drivers/crypto/bcmfs/bcmfs_qp.c | 37

[dpdk-dev] [PATCH v2 3/8] crypto/bcmfs: add apis for queue pair management

2020-08-13 Thread Vikas Gupta
Add queue pair management APIs which will be used by Crypto device to manage h/w queues. A bcmfs device structure owns multiple queue-pairs based on the mapped address allocated to it. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto

[dpdk-dev] [PATCH v2 7/8] crypto/bcmfs: add crypto h/w module

2020-08-13 Thread Vikas Gupta
Add crypto h/w module to process crypto op. Crypto op is processed via sym_engine module before submitting the crypto request to h/w queues. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_sym.c| 316

[dpdk-dev] [PATCH v2 6/8] crypto/bcmfs: add session handling and capabilities

2020-08-13 Thread Vikas Gupta
Add session handling and capabilities supported by crypto h/w accelerator. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- doc/guides/cryptodevs/bcmfs.rst | 46 ++ doc/guides/cryptodevs/features/bcmfs.ini | 56 ++ drivers

[dpdk-dev] [PATCH v2 4/8] crypto/bcmfs: add hw queue pair operations

2020-08-13 Thread Vikas Gupta
Add queue pair operations exported by supported devices. Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- drivers/crypto/bcmfs/bcmfs_dev_msg.h | 29 + drivers/crypto/bcmfs/bcmfs_device.c | 51 ++ drivers/crypto/bcmfs/bcmfs_device.h

[dpdk-dev] [PATCH v2 8/8] crypto/bcmfs: add crypto pmd into cryptodev test

2020-08-13 Thread Vikas Gupta
Add global test suite for bcmfs crypto pmd Signed-off-by: Vikas Gupta Signed-off-by: Raveendra Padasalagi Reviewed-by: Ajit Khaparde --- app/test/test_cryptodev.c | 17 + app/test/test_cryptodev.h | 1 + 2 files changed, 18 insertions(+) diff --git a/app/test

[dpdk-dev] [PATCH 0 2/8] crypto/bcmfs: add vfio support

2020-08-18 Thread Vikas Gupta
Add vfio support for device. Signed-off-by: Vikas Gupta --- drivers/crypto/bcmfs/Makefile | 1 + drivers/crypto/bcmfs/bcmfs_device.c | 5 ++ drivers/crypto/bcmfs/bcmfs_device.h | 6 ++ drivers/crypto/bcmfs/bcmfs_vfio.c | 94 + drivers/crypto/bcmfs

[dpdk-dev] [PATCH 0 1/8] crypto/bcmfs: add BCMFS driver

2020-08-18 Thread Vikas Gupta
Add Broadcom FlexSparc(FS) device creation driver which registers to a vdev and create a device. Add APIs for logs, supportive documention and maintainers file. Signed-off-by: Vikas Gupta --- MAINTAINERS | 7 + config/common_base

[dpdk-dev] [PATCH 0 0/8] Add Crypto PMD for Broadcom`s FlexSparc devices

2020-08-18 Thread Vikas Gupta
registered platforms and attaching with VFIO. b) Creation of Cryptodevice. c) Addition of session handling. d) Add Cryptodevice into test Cryptodev framework. The patchset has been tested on the above mentioned SoCs. Regards, Vikas Vikas Gupta (8): crypto/bcmfs: add BCMFS driver crypto/bcmfs

[dpdk-dev] [PATCH 0 3/8] crypto/bcmfs: add apis for queue pair management

2020-08-18 Thread Vikas Gupta
Add queue pair management APIs which will be used by Crypto device to manage h/w queues. A bcmfs device structure owns multiple queue-pairs based on the mapped address allocated to it. Signed-off-by: Vikas Gupta --- drivers/crypto/bcmfs/Makefile| 28 --- drivers/crypto/bcmfs

[dpdk-dev] [PATCH 0 5/8] crypto/bcmfs: create a symmetric cryptodev

2020-08-18 Thread Vikas Gupta
Create a symmetric crypto device and supported cryptodev ops. Signed-off-by: Vikas Gupta --- drivers/crypto/bcmfs/bcmfs_device.c | 15 ++ drivers/crypto/bcmfs/bcmfs_device.h | 9 + drivers/crypto/bcmfs/bcmfs_qp.c | 37 +++ drivers/crypto/bcmfs/bcmfs_qp.h | 16 ++ drivers/crypto

[dpdk-dev] [PATCH 0 6/8] crypto/bcmfs: add session handling and capabilities

2020-08-18 Thread Vikas Gupta
Add session handling and capabilities supported by crypto h/w accelerator. Signed-off-by: Vikas Gupta --- doc/guides/cryptodevs/bcmfs.rst | 46 ++ doc/guides/cryptodevs/features/bcmfs.ini | 56 ++ drivers/crypto/bcmfs/bcmfs_sym_capabilities.c | 764

[dpdk-dev] [PATCH 0 4/8] crypto/bcmfs: add hw queue pair operations

2020-08-18 Thread Vikas Gupta
Add queue pair operations exported by supported devices. Signed-off-by: Vikas Gupta --- drivers/crypto/bcmfs/bcmfs_dev_msg.h | 29 + drivers/crypto/bcmfs/bcmfs_device.c | 51 ++ drivers/crypto/bcmfs/bcmfs_device.h | 16 + drivers/crypto/bcmfs/bcmfs_qp.c | 1

[dpdk-dev] [PATCH 0 7/8] crypto/bcmfs: add crypto h/w module

2020-08-18 Thread Vikas Gupta
Add crypto h/w module to process crypto op. Crypto op is processed via sym_engine module before submitting the crypto request to h/w queues. Signed-off-by: Vikas Gupta --- drivers/crypto/bcmfs/bcmfs_sym.c| 316 drivers/crypto/bcmfs/bcmfs_sym_defs.h | 16 + drivers/crypto

[dpdk-dev] [PATCH 0 8/8] crypto/bcmfs: add crypto pmd into cryptodev test

2020-08-18 Thread Vikas Gupta
Add test suites for supported algorithms by bcmfs crypto pmd Signed-off-by: Vikas Gupta --- app/test/test_cryptodev.c | 261 ++ app/test/test_cryptodev.h | 1 + 2 files changed, 262 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test

[dpdk-dev] Issue with VFIO/IOMMU

2020-09-03 Thread Vikas Gupta
Hi, I observe an issue with IOVA address returned by api rte_memzone_reserve_aligned (flags= RTE_MEMZONE_IOVA_CONTIG) used for queue memory allocation. With high level debugging, I notice that IOVA address returned in mz->iova is not mapped by VFIO_IOMMU_MAP_DMA so in turn SMMU exception is seen

Re: [dpdk-dev] Issue with VFIO/IOMMU

2020-09-07 Thread Vikas Gupta
RE: [dpdk-dev] Issue with VFIO/IOMMU Hi Burakov, -Original Message- From: Burakov, Anatoly [mailto:anatoly.bura...@intel.com ] Sent: Friday, September 04, 2020 7:20 PM To: Vikas Gupta ; dev@dpdk.org Cc: Ajit Kumar Khaparde ; Vikram Prakash < vikram.prak...@broadcom.com> Subje