]> git.droids-corp.org - dpdk.git/commitdiff
net/sfc: support Xilinx Riverhead VF
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Fri, 29 Oct 2021 15:33:30 +0000 (18:33 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Nov 2021 11:41:34 +0000 (12:41 +0100)
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>
doc/guides/rel_notes/release_21_11.rst
drivers/net/sfc/sfc_ethdev.c

index 3da555b73c937ac9b88f17b0e5b37670daf0e359..f6d07a58e73a84d60807e97dc89d955537727e4e 100644 (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.**
 
index 6b0a7e6b0cdf7f7a43845772daa947126e51824d..a8b971a6c43064c5272abcdbfbfc4d1f016858e0 100644 (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 */ }
 };