net/sfc: support Xilinx Riverhead VF

Add the device and vendor numbers to the PCI ID map so
that a VF can be probed.

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
This commit is contained in:
Igor Romanov 2021-10-29 18:33:30 +03:00 committed by Ferruh Yigit
parent db79f2d5c9
commit b75d85b766
2 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,7 @@ New Features
* Added port representors support on SN1000 SmartNICs
* Added flow API transfer proxy support
* Added SN1000 virtual functions (VF) support
* **Added power monitor API in vhost library.**

View File

@ -2892,6 +2892,7 @@ static const struct rte_pci_id pci_id_sfc_efx_map[] = {
{ RTE_PCI_DEVICE(EFX_PCI_VENID_SFC, EFX_PCI_DEVID_MEDFORD2) },
{ RTE_PCI_DEVICE(EFX_PCI_VENID_SFC, EFX_PCI_DEVID_MEDFORD2_VF) },
{ RTE_PCI_DEVICE(EFX_PCI_VENID_XILINX, EFX_PCI_DEVID_RIVERHEAD) },
{ RTE_PCI_DEVICE(EFX_PCI_VENID_XILINX, EFX_PCI_DEVID_RIVERHEAD_VF) },
{ .vendor_id = 0 /* sentinel */ }
};