common/cnxk: add new PCI IDs to supported devices
CNF10KA does not differ it terms of RVU resources from CN10KA platform hence add it to list of devices respective drivers support. Otherwise devices on CNF10KA are not probed even though compatible drivers exist. Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
This commit is contained in:
parent
55645ee65b
commit
77140af0b8
@ -48,6 +48,7 @@
|
||||
|
||||
#define PCI_SUBSYSTEM_DEVID_CN10KA 0xB900
|
||||
#define PCI_SUBSYSTEM_DEVID_CN10KAS 0xB900
|
||||
#define PCI_SUBSYSTEM_DEVID_CNF10KA 0xBA00
|
||||
|
||||
#define PCI_SUBSYSTEM_DEVID_CN9KA 0x0000
|
||||
#define PCI_SUBSYSTEM_DEVID_CN9KB 0xb400
|
||||
|
@ -880,8 +880,10 @@ cn10k_sso_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)
|
||||
static const struct rte_pci_id cn10k_pci_sso_map[] = {
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KA, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KAS, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF10KA, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KA, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KAS, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF10KA, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
|
||||
{
|
||||
.vendor_id = 0,
|
||||
},
|
||||
|
@ -169,6 +169,13 @@ static const struct rte_pci_id npa_pci_map[] = {
|
||||
.subsystem_vendor_id = PCI_VENDOR_ID_CAVIUM,
|
||||
.subsystem_device_id = PCI_SUBSYSTEM_DEVID_CN10KAS,
|
||||
},
|
||||
{
|
||||
.class_id = RTE_CLASS_ANY_ID,
|
||||
.vendor_id = PCI_VENDOR_ID_CAVIUM,
|
||||
.device_id = PCI_DEVID_CNXK_RVU_NPA_PF,
|
||||
.subsystem_vendor_id = PCI_VENDOR_ID_CAVIUM,
|
||||
.subsystem_device_id = PCI_SUBSYSTEM_DEVID_CNF10KA,
|
||||
},
|
||||
{
|
||||
.class_id = RTE_CLASS_ANY_ID,
|
||||
.vendor_id = PCI_VENDOR_ID_CAVIUM,
|
||||
@ -183,6 +190,13 @@ static const struct rte_pci_id npa_pci_map[] = {
|
||||
.subsystem_vendor_id = PCI_VENDOR_ID_CAVIUM,
|
||||
.subsystem_device_id = PCI_SUBSYSTEM_DEVID_CN10KAS,
|
||||
},
|
||||
{
|
||||
.class_id = RTE_CLASS_ANY_ID,
|
||||
.vendor_id = PCI_VENDOR_ID_CAVIUM,
|
||||
.device_id = PCI_DEVID_CNXK_RVU_NPA_VF,
|
||||
.subsystem_vendor_id = PCI_VENDOR_ID_CAVIUM,
|
||||
.subsystem_device_id = PCI_SUBSYSTEM_DEVID_CNF10KA,
|
||||
},
|
||||
{
|
||||
.vendor_id = 0,
|
||||
},
|
||||
|
@ -567,10 +567,13 @@ cn10k_nix_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)
|
||||
static const struct rte_pci_id cn10k_pci_nix_map[] = {
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KA, PCI_DEVID_CNXK_RVU_PF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KAS, PCI_DEVID_CNXK_RVU_PF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF10KA, PCI_DEVID_CNXK_RVU_PF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KA, PCI_DEVID_CNXK_RVU_VF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KAS, PCI_DEVID_CNXK_RVU_VF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF10KA, PCI_DEVID_CNXK_RVU_VF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KA, PCI_DEVID_CNXK_RVU_AF_VF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KAS, PCI_DEVID_CNXK_RVU_AF_VF),
|
||||
CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF10KA, PCI_DEVID_CNXK_RVU_AF_VF),
|
||||
{
|
||||
.vendor_id = 0,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user