mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-19 20:13:49 -04:00
crypto: cavium/nitrox - Add support for loading asymmetric crypto firmware
This patch adds support to load Asymmetric crypto firmware on AE cores of CNN55XX device. Firmware is stored on UCD block 2 and all available AE cores are tagged to group 0. Signed-off-by: Phani Kiran Hemadri <phemadri@marvell.com> Reviewed-by: Srikanth Jampala <jsrikanth@marvell.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
committed by
Herbert Xu
parent
a7c2647034
commit
a7268c4d42
@@ -10,6 +10,8 @@
|
||||
#define VERSION_LEN 32
|
||||
/* Maximum queues in PF mode */
|
||||
#define MAX_PF_QUEUES 64
|
||||
/* Maximum UCD Blocks */
|
||||
#define CNN55XX_MAX_UCD_BLOCKS 8
|
||||
|
||||
/**
|
||||
* struct nitrox_cmdq - NITROX command queue
|
||||
@@ -74,7 +76,7 @@ struct nitrox_cmdq {
|
||||
*/
|
||||
struct nitrox_hw {
|
||||
char partname[IFNAMSIZ * 2];
|
||||
char fw_name[VERSION_LEN];
|
||||
char fw_name[CNN55XX_MAX_UCD_BLOCKS][VERSION_LEN];
|
||||
|
||||
int freq;
|
||||
u16 vendor_id;
|
||||
|
||||
Reference in New Issue
Block a user