Enabled the PF->VF Mailbox support. Mailbox message are interpreted
as {type, opcode, data}. Supported message types are REQ, ACK and NACK.
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium/nitrox/Makefile | 3 +-
drivers/crypto/cavium/nitrox/nitrox_csr.h | 12 +-
driv
Enable the available interrupt vectors for PF in SR-IOV Mode.
Only single vector entry 192 is valid of PF. This is used to
notify any hardware errors and mailbox messages from VF(s).
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium/nitrox/nitrox_dev.h | 15 +++-
drivers/crypto/cavium
iaju1...@gmail.com; Srikanth, Jampala; Gadam, Sreerama;
linux-crypto@vger.kernel.org; open list
Subject: Re: [PATCH] crypto: cavium/nitrox - fix a DMA pool free failure
External Email
Hello,
Can anyone confirm this bug? Thanks!
Wenwen
On Thu, Oct 18, 2018 at 7:51 PM Wenwen Wang wrote:
&
el
Signed-off-by: Srikanth Jampala
Reviewed-by: Gadam Sreerama
---
drivers/crypto/cavium/nitrox/nitrox_debugfs.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/cavium/nitrox/nitrox_debugfs.c
b/drivers/crypto/cavium/nitrox/nitrox_debugfs.c
index 2f1e74ea8
check the flr capability using pcie_has_flr() and do the flr.
Signed-off-by: Srikanth Jampala
Reviewed-by: Gadam Sreerama
---
drivers/crypto/cavium/nitrox/nitrox_main.c | 15 +--
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/drivers/crypto/cavium/nitrox
replace pci_enable_msix_exact() with pci_alloc_irq_vectors(). get the
required vector count from pci_msix_vec_count().
use struct nitrox_q_vector as the argument to tasklets.
Signed-off-by: Srikanth Jampala
Reviewed-by: Gadam Sreerama
---
drivers/crypto/cavium/nitrox/nitrox_common.h | 5
Use node based allocations for queues. consider the dma address
alignment changes, while calculating the queue base address.
added checks in cleanup functions. Minor changes to queue variable names
Signed-off-by: Srikanth Jampala
Reviewed-by: Gadam Sreerama
---
drivers/crypto/cavium/nitrox
Hey Ard,
Thanks a lot for your feedback. I will post the fixes soon.
-Original Message-
From: Ard Biesheuvel
Sent: 28 September 2018 19:02
To: Srikanth, Jampala
Cc: Herbert Xu ; David S. Miller
; open list:HARDWARE RANDOM NUMBER GENERATOR CORE
; Linux Kernel Mailing List
; Gadam
Get the device partname based on it's capabilities like,
core frequency, number of cores and revision id.
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium/nitrox/nitrox_csr.h | 111 +
drivers/crypto/cavium/nitrox/nitrox_dev.h | 17 +++-
drivers/crypto/c
Updated debugfs to provide device partname and frequency etc.
New file "stats" shows the number of requests posted, dropped and
completed.
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium/nitrox/Makefile | 1 +
drivers/crypto/cavium/nitrox/nitrox_debug
Add per device statistics like number of requests posted,
dropped and completed etc.
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium/nitrox/nitrox_dev.h| 7 +++
drivers/crypto/cavium/nitrox/nitrox_main.c | 5 +
drivers/crypto/cavium/nitrox/nitrox_reqmgr.c | 9
use dma_pool_zalloc() instead of dma_pool_alloc with __GFP_ZERO flag.
crypto dma pool renamed to "nitrox-context".
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium/nitrox/nitrox_lib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/cav
Added support to configure SR-IOV using sysfs interface.
Supported VF modes are 16, 32, 64 and 128. Grouped the
hardware configuration functions to "nitrox_hal.h" file.
Changed driver version to "1.1".
Signed-off-by: Srikanth Jampala
Reviewed-by: Gadam Sreerama
---
drivers/
free slot to post the command.
Return -ENOSPC in queue full case.
Signed-off-by: Srikanth Jampala
Reviewed-by: Gadam Sreerama
Tested-by: Jha, Chandan
---
drivers/crypto/cavium/nitrox/nitrox_dev.h| 3 +-
drivers/crypto/cavium/nitrox/nitrox_lib.c| 1 +
drivers/crypto/cavium/nitrox
Moved the firmware to "cavium" subdirectory as suggested by
Kyle McMartin.
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium/nitrox/nitrox_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/cavium/nitrox/nitrox_main.c
b/drivers/cry
Sure kyle, I will work on this.
Thanks.
On Friday 23 June 2017 12:39 AM, Kyle McMartin wrote:
> On Fri, Jun 16, 2017 at 07:52:26PM +0530, Srikanth Jampala wrote:
>> This patchset adds the firmware for CNN55XX cryto driver,
>> supports Symmetric crypto operations.
>>
This patchset adds the firmware for CNN55XX cryto driver,
supports Symmetric crypto operations.
The version of the firmware is v07.
Signed-off-by: Srikanth Jampala
---
WHENCE| 9 +
cnn55xx_se.fw | Bin 0 -> 27698 bytes
2 files changed, 9 insertions(+)
create mode 100
CNN55XX driver is accepted and needs firmware to functional.
This patchset adds CNN55XX firmware v07 supports
symmetric crypto operations.
Srikanth Jampala (1):
cavium: Add firmware for CNN55XX crypto driver.
WHENCE| 9 +
cnn55xx_se.fw | Bin 0 -> 27698 bytes
2 files chan
.
- Clear the context information while releasing.
- Cleanup in request processing, avoids unnecessary copies.
- Use refcount_t type for reference counters.
- Dependencies updated in Kconfig.
Srikanth Jampala (3):
crypto: cavium - Add support for CNN55XX adapters.
crypto: cavium - Add debugfs support
Add debugfs support in CNN55XX Physical Function driver.
Provides hardware counters and firmware information.
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium/nitrox/nitrox_csr.h | 4 +
drivers/crypto/cavium/nitrox/nitrox_dev.h | 4 +
drivers/crypto/cavium/nitrox/nitrox_main.c
Register the Symmetric crypto algorithms supported by
CNN55XX driver with crypto subsystem.
The following Symmetric crypto algorithms are supported,
- aes with cbc, ecb, cfb, xts, ctr and cts modes
- des3_ede with cbc and ecb modes
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium
Add Physical Function driver support for CNN55XX crypto adapters.
CNN55XX adapters belongs to Cavium NITROX family series,
which accelerate both Symmetric and Asymmetric crypto workloads.
These adapters have crypto engines that need firmware
to become operational.
Signed-off-by: Srikanth Jampala
Hi Stephan,
On Thursday 11 May 2017 05:52 PM, Stephan Müller wrote:
> Am Donnerstag, 11. Mai 2017, 14:18:34 CEST schrieb srikanth jampala:
>
> Hi srikanth,
>
>> Hi Stephan,
>>
>> On Wednesday 10 May 2017 07:26 PM, Stephan Müller wrote:
>>> Am Mittwo
Hi Stephan,
On Wednesday 10 May 2017 07:26 PM, Stephan Müller wrote:
> Am Mittwoch, 10. Mai 2017, 15:06:40 CEST schrieb Srikanth Jampala:
>
> Hi Srikanth,
>
> In general: you are using the ablkcipher API. I think it is on its way out
> and
> being replaced with skcipher
Register the Symmetric crypto algorithms supported by
CNN55XX driver with crypto subsystem.
The following Symmetric crypto algorithms are supported,
- aes with cbc, ecb, cfb, xts, ctr and cts modes
- des3_ede with cbc and ecb modes
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium
Add Physical Function driver support for CNN55XX crypto adapters.
CNN55XX adapters belongs to Cavium NITROX family series,
which accelerate both Symmetric and Asymmetric crypto workloads.
These adapters have crypto engines that need firmware
to become operational.
Signed-off-by: Srikanth Jampala
Add debugfs support in CNN55XX Physical Function driver.
Provides hardware counters and firmware information.
Signed-off-by: Srikanth Jampala
---
drivers/crypto/cavium/nitrox/nitrox_csr.h | 5 ++
drivers/crypto/cavium/nitrox/nitrox_dev.h | 3 +
drivers/crypto/cavium/nitrox/nitrox_main.c
ernel
cryptographic offload operations.
Please provide the feeback.
Srikanth Jampala (3):
crypto: cavium - Add support for CNN55XX adapters.
crypto: cavium - Add debugfs support in CNN55XX driver
crypto: cavium - Register the CNN55XX supported crypto algorithms.
dr
28 matches
Mail list logo