diff options
| author | Mustafa Ismail <[email protected]> | 2022-02-25 10:32:10 -0600 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2022-02-28 12:07:40 -0400 |
| commit | b200189626b5cefbaf8be9cadd7a28215e065bb9 (patch) | |
| tree | 4cc7fcfff58fd5e21462a2aeb6541ca2964346c4 /scripts/gdb/linux/lists.py | |
| parent | 6702bc14744847842a87fed21a795b6e8bab6965 (diff) | |
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/[email protected]
Signed-off-by: Mustafa Ismail <[email protected]>
Signed-off-by: Shiraz Saleem <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions