summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
diff options
context:
space:
mode:
authorHariprasad Shenai <hariprasad@chelsio.com>2014-06-27 19:23:47 +0530
committerDavid S. Miller <davem@davemloft.net>2014-07-01 18:56:10 -0700
commit35b1de5579704be0e03454f713dddd6f86eccb7e (patch)
treea103a63946eafd23e9bfd55c40b36739bc17db01 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
parent2eb27a16b58e07053e9bac2f050eb55b47bc9699 (diff)
downloadblackbird-obmc-linux-35b1de5579704be0e03454f713dddd6f86eccb7e.tar.gz
blackbird-obmc-linux-35b1de5579704be0e03454f713dddd6f86eccb7e.zip
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>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud