|
|
@@ -1454,6 +1454,7 @@ static int efx_probe_interrupts(struct efx_nic *efx)
|
|
|
}
|
|
|
#endif
|
|
|
efx->rss_spread = efx->n_rx_channels;
|
|
|
+
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
@@ -2676,6 +2677,8 @@ static const struct pci_device_id efx_pci_table[] = {
|
|
|
.driver_data = (unsigned long) &siena_a0_nic_type},
|
|
|
{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x0903), /* SFC9120 PF */
|
|
|
.driver_data = (unsigned long) &efx_hunt_a0_nic_type},
|
|
|
+ {PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x1903), /* SFC9120 VF */
|
|
|
+ .driver_data = (unsigned long) &efx_hunt_a0_vf_nic_type},
|
|
|
{PCI_DEVICE(PCI_VENDOR_ID_SOLARFLARE, 0x0923), /* SFC9140 PF */
|
|
|
.driver_data = (unsigned long) &efx_hunt_a0_nic_type},
|
|
|
{0} /* end of list */
|
|
|
@@ -3031,7 +3034,8 @@ static int efx_pci_probe(struct pci_dev *pci_dev,
|
|
|
netif_info(efx, probe, efx->net_dev,
|
|
|
"Solarflare NIC detected\n");
|
|
|
|
|
|
- efx_probe_vpd_strings(efx);
|
|
|
+ if (!efx->type->is_vf)
|
|
|
+ efx_probe_vpd_strings(efx);
|
|
|
|
|
|
/* Set up basic I/O (BAR mappings etc) */
|
|
|
rc = efx_init_io(efx);
|