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: 8498a30e1b94 ("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
..
2022-02-23 15:24:18 -04:00
2022-02-08 12:54:47 -04:00
2022-02-28 12:07:40 -04:00
2022-02-28 12:07:40 -04:00
2022-02-28 12:07:40 -04:00
2021-06-02 19:55:19 -03:00
2021-06-02 19:55:19 -03:00
2021-06-02 19:55:18 -03:00
2022-02-23 15:24:18 -04:00
2022-02-23 15:24:18 -04:00
2022-02-23 15:24:18 -04:00