linux/drivers/infiniband
Mustafa Ismail b200189626 RDMA/irdma: Fix Passthrough mode in VM
Using PCI_FUNC macro in a VM, when the device is in passthrough mode does
not provide the real function instance. This means that currently, devices
will not probe unless the instance in the VM matches the instance in the
host.

Fix this by getting the pf_id from the LAN during the probe.

Fixes: 8498a30e1b ("RDMA/irdma: Register auxiliary driver and implement private channel OPs")
Link: https://lore.kernel.org/r/20220225163211.127-3-shiraz.saleem@intel.com
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-02-28 12:07:40 -04:00
..
core IB/cma: Allow XRC INI QPs to set their local ACK timeout 2022-02-17 11:51:12 -04:00
hw RDMA/irdma: Fix Passthrough mode in VM 2022-02-28 12:07:40 -04:00
sw RDMA/rxe: Cleanup rxe_mcast.c 2022-02-23 20:29:15 -04:00
ulp RDMA/ib_srp: Add more documentation 2022-02-23 15:13:23 -04:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile