[dpdk-dev] [PATCH 1/6] net/sfc: add VFs to the table of PCI IDs for supported NICs
Andrew Rybchenko
arybchenko at solarflare.com
Mon Mar 6 15:00:30 CET 2017
On 03/06/2017 01:10 PM, Ferruh Yigit wrote:
> On 3/2/2017 3:46 PM, Andrew Rybchenko wrote:
>> From: Ivan Malov <ivan.malov at oktetlabs.ru>
>>
>> Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
>> Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
>> Reviewed-by: Andrew Lee <alee at solarflare.com>
>> ---
>> drivers/net/sfc/sfc_ethdev.c | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c
>> index 71587fb..be19453 100644
>> --- a/drivers/net/sfc/sfc_ethdev.c
>> +++ b/drivers/net/sfc/sfc_ethdev.c
>> @@ -1335,8 +1335,11 @@ sfc_eth_dev_uninit(struct rte_eth_dev *dev)
>>
>> static const struct rte_pci_id pci_id_sfc_efx_map[] = {
>> { RTE_PCI_DEVICE(EFX_PCI_VENID_SFC, EFX_PCI_DEVID_FARMINGDALE) },
>> + { RTE_PCI_DEVICE(EFX_PCI_VENID_SFC, EFX_PCI_DEVID_FARMINGDALE_VF) },
> Since driver now support VF devices, it is possible to set "SR-IOV"
> feature enabled in sfc_efx.ini.
Thanks a lot. We will add the feature.
>> { RTE_PCI_DEVICE(EFX_PCI_VENID_SFC, EFX_PCI_DEVID_GREENPORT) },
>> + { RTE_PCI_DEVICE(EFX_PCI_VENID_SFC, EFX_PCI_DEVID_GREENPORT_VF) },
>> { RTE_PCI_DEVICE(EFX_PCI_VENID_SFC, EFX_PCI_DEVID_MEDFORD) },
>> + { RTE_PCI_DEVICE(EFX_PCI_VENID_SFC, EFX_PCI_DEVID_MEDFORD_VF) },
>> { .vendor_id = 0 /* sentinel */ }
>> };
More information about the dev
mailing list