crypto/cnxk: add PCI ID for cn9k
PATCH 1/1 crypto/cnxk: add PCI ID for cn9k
Add PCI ID for crypo_cn9k PMD.
To avoid conflicting PCI ID in crypto_octeontx2 and crypto_cn9k PMDs, disable crypto_cn9k PMD when built with octeontx2 config.
The lack of PCI ID is causing debug build to fail for crypto_cn9k PMD.
--- config/arm/arm64_octeontx2_linux_gcc | 1 + drivers/crypto/cnxk/cn9k_cryptodev.c | 2 ++ 2 files changed, 3 insertions(+)
config/arm/arm64_octeontx2_linux_gcc +1 -0
@@ -14,3 +14,4 @@ endian = 'little' [properties] platform = 'octeontx2' +disable_drivers = 'common/cnxk'
drivers/crypto/cnxk/cn9k_cryptodev.c +2 -0
@@ -21,6 +21,8 @@ uint8_t cn9k_cryptodev_driver_id;static struct rte_pci_id pci_id_cpt_table[] = { { +RTE_PCI_DEVICE (PCI_VENDOR_ID_CAVIUM , +PCI_DEVID_CN9K_RVU_CPT_VF ) },/* sentinel */ {
Signature · 1 line
2.7.4
Quoted 6 lines
Add PCI ID for
crypo_cn9kPMD.To avoid conflicting PCI ID in
crypto_octeontx2andcrypto_cn9kPMDs, disablecrypto_cn9kPMD when built with octeontx2 config.
Quoted 7 lines
The lack of PCI ID is causing debug build to fail for
crypto_cn9kPMD.Reported-by Ali Alnubani <[email protected]>Suggested-by David Marchand <[email protected]>Signed-off-by Anoob Joseph <[email protected]>---
Thomas,
Can you pick this directly on main?
Regards,
Akhil
David Marchand
AppliedQuoted 7 lines · Anoob Joseph
Add PCI ID for
crypo_cn9kPMD.To avoid conflicting PCI ID in
crypto_octeontx2andcrypto_cn9kPMDs, disablecrypto_cn9kPMD when built with octeontx2 config.
Quoted 6 lines
The lack of PCI ID is causing debug build to fail for
crypto_cn9kPMD.Reported-by Ali Alnubani <[email protected]>Suggested-by David Marchand <[email protected]>Signed-off-by Anoob Joseph <[email protected]>
Applied, thanks.
Signature · 1 line
David Marchand