1
0
Fork 0
alistair23-linux/drivers/net/ethernet/chelsio/cxgb4
Hariprasad Shenai 35b1de5579 rdma/cxgb4: Fixes cxgb4 probe failure in VM when PF is exposed through PCI Passthrough
Change logic which determines our Physical Function at PCI Probe time.
Now we read the PL_WHOAMI register and get the Physical Function.

Pass Physical Function to Upper Layer Drivers in lld_info structure in the
new field "pf" added to lld_info.  This is useful for the cases where the
PF, say PF4, is attached to a Virtual Machine via some form of "PCI
Pass Through" technology and the PCI Function shows up as PF0 in the VM.

Based on original work by Casey Leedom <leedom@chelsio.com>

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-01 18:56:10 -07:00
..
Makefile cxgb4 : Makefile & Kconfig changes for DCBx support 2014-06-22 21:13:33 -07:00
cxgb4.h cxgb4 : Update copyright year on all cxgb4 files 2014-06-22 21:13:33 -07:00
cxgb4_dcb.c cxgb4: Fix endian bug introduced in cxgb4 dcb patchset 2014-06-24 12:54:52 -07:00
cxgb4_dcb.h cxgb4 : Add DCBx support codebase and dcbnl_ops 2014-06-22 21:13:33 -07:00
cxgb4_main.c rdma/cxgb4: Fixes cxgb4 probe failure in VM when PF is exposed through PCI Passthrough 2014-07-01 18:56:10 -07:00
cxgb4_uld.h rdma/cxgb4: Fixes cxgb4 probe failure in VM when PF is exposed through PCI Passthrough 2014-07-01 18:56:10 -07:00
l2t.c cxgb4 : Update copyright year on all cxgb4 files 2014-06-22 21:13:33 -07:00
l2t.h cxgb4 : Update copyright year on all cxgb4 files 2014-06-22 21:13:33 -07:00
sge.c cxgb4 : Update copyright year on all cxgb4 files 2014-06-22 21:13:33 -07:00
t4_hw.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-06-25 22:40:43 -07:00
t4_hw.h cxgb4 : Update copyright year on all cxgb4 files 2014-06-22 21:13:33 -07:00
t4_msg.h cxgb4 : Update copyright year on all cxgb4 files 2014-06-22 21:13:33 -07:00
t4_regs.h cxgb4 : Update copyright year on all cxgb4 files 2014-06-22 21:13:33 -07:00
t4fw_api.h cxgb4 : Update copyright year on all cxgb4 files 2014-06-22 21:13:33 -07:00