linux_dsm_epyc7002/drivers/net/ethernet/intel
Shannon Nelson 5fb11d7610 i40e: get pf_id from HW rather than PCI function
Getting the pf_id from the function number was a good place to start,
but when the PF was setup in passthru mode, the PCI bus/device/function
was virtualized and the number in the VM is different from the number in
the bare metal.  This caused HW configuration issues when the wrong pf_id
was used to set up the HMC and other structures.  The PF_FUNC_RID register
has the real bus/device/function information as configured by the BIOS,
so use that for a better number.  This works in NPAR mode as well.

Change-ID: I65e3dd6c97594890c2bad566b83cc670b1dae534
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Acked-by: Kevin Scott <kevin.c.scott@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-12-06 04:46:45 -08:00
..
e1000 e1000: unset IFF_UNICAST_FLT on WMware 82545EM 2014-10-30 04:47:39 -07:00
e1000e e100e: use netdev_rss_key_fill() helper 2014-11-16 15:59:12 -05:00
fm10k fm10k: use netdev_rss_key_fill() helper 2014-11-16 15:59:12 -05:00
i40e i40e: get pf_id from HW rather than PCI function 2014-12-06 04:46:45 -08:00
i40evf i40evf: make early init sequence even more robust 2014-12-06 04:13:40 -08:00
igb Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-11-29 20:47:48 -08:00
igbvf PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
ixgb PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
ixgbe ixgbe: fix crash on rmmod after probe fail 2014-12-05 09:13:08 -08:00
ixgbevf ixgbevf: fix possible crashes in probe and remove 2014-12-05 09:13:09 -08:00
e100.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
Kconfig fm10k: Add CONFIG_FM10K_VXLAN configuration option 2014-10-16 02:03:39 -07:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00