There exists a bug with Chelsio NICs T4 that causes the following error:
kvm: -device vfio-pci,host=0000:83:00.7,id=hostpci1.7,bus=pci.0,addr=0x11.7: vfio 0000:83:00.7: hardware reports invalid configuration, MSIX PBA outside of specified BAR
I was working with a downstream Proxmox developer to try to fix this issue, and they provided me with the following change to make from line 1484 of hw/vfio/pci.c:
static void vfio_msix_early_setup(VFIOPCIDevice *vdev, Error **errp)
* is 0x1000, so we hard code that here.
*/
if (vdev->vendor_id == PCI_VENDOR_ID_CHELSIO &&
- (vdev->device_id & 0xff00) == 0x5800) {
+ ((vdev->device_id & 0xff00) == 0x5800 ||
+ (vdev->device_id & 0xff00) == 0x1425)) { msix->pba_offset = 0x1000;
} else if (vdev->msix_relo == OFF_AUTOPCIBAR_OFF) { error_setg(errp, "hardware reports invalid configuration, "
However, I found that this did not fix the issue, so the bug appears to work differently than the one that was present on the T5 NICs which has already been patched. I have attached the output of my lspci -nnkvv
There exists a bug with Chelsio NICs T4 that causes the following error:
kvm: -device vfio-pci, host=0000: 83:00.7, id=hostpci1. 7,bus=pci. 0,addr= 0x11.7: vfio 0000:83:00.7: hardware reports invalid configuration, MSIX PBA outside of specified BAR
I was working with a downstream Proxmox developer to try to fix this issue, and they provided me with the following change to make from line 1484 of hw/vfio/pci.c:
static void vfio_msix_ early_setup( VFIOPCIDevice *vdev, Error **errp) ID_CHELSIO &&
msix- >pba_offset = 0x1000;
error_ setg(errp, "hardware reports invalid configuration, "
* is 0x1000, so we hard code that here.
*/
if (vdev->vendor_id == PCI_VENDOR_
- (vdev->device_id & 0xff00) == 0x5800) {
+ ((vdev->device_id & 0xff00) == 0x5800 ||
+ (vdev->device_id & 0xff00) == 0x1425)) {
} else if (vdev->msix_relo == OFF_AUTOPCIBAR_OFF) {
However, I found that this did not fix the issue, so the bug appears to work differently than the one that was present on the T5 NICs which has already been patched. I have attached the output of my lspci -nnkvv