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
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
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
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
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
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.
>
>
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
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
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/
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
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
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
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
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
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
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
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
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
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.
> > >
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
70 matches
Mail list logo