device_attach: ixv0 attach returned 5
Michal Vančo
michal at microwave.sk
Thu Nov 21 11:52:58 UTC 2019
Hi,
I’m trying to get SR-IOV working with my two port Intel 10G NIC:
ix0 at pci0:3:0:0: class=0x020000 card=0x15ad15d9 chip=0x15ad8086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = 'Ethernet Connection X552/X557-AT 10GBASE-T'
class = network
subclass = ethernet
ix1 at pci0:3:0:1: class=0x020000 card=0x15ad15d9 chip=0x15ad8086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = 'Ethernet Connection X552/X557-AT 10GBASE-T'
class = network
subclass = ethernet
with this iovctl config:
# cat /etc/iovctl_ix1.conf
PF {
device: "ix1";
num_vfs: 4;
}
I get 4 PCI devices created:
none57 at pci0:3:0:129: class=0x020000 card=0x15ad15d9 chip=0x15a88086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = 'Ethernet Connection X552 Virtual Function'
class = network
subclass = ethernet
none58 at pci0:3:0:131: class=0x020000 card=0x15ad15d9 chip=0x15a88086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = 'Ethernet Connection X552 Virtual Function'
class = network
subclass = ethernet
none59 at pci0:3:0:133: class=0x020000 card=0x15ad15d9 chip=0x15a88086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = 'Ethernet Connection X552 Virtual Function'
class = network
subclass = ethernet
none60 at pci0:3:0:135: class=0x020000 card=0x15ad15d9 chip=0x15a88086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = 'Ethernet Connection X552 Virtual Function'
class = network
subclass = ethernet
But the driver fails to attach with following errors:
ixv0: <Intel(R) PRO/10GbE Virtual Function Network Driver> at device 0.129 on pci4
ixv0: ...reset_hw() failure: Reset Failed!
ixv0: IFDI_ATTACH_PRE failed 5
device_attach: ixv0 attach returned 5
ixv0: <Intel(R) PRO/10GbE Virtual Function Network Driver> at device 0.131 on pci4
ixv0: ...reset_hw() failure: Reset Failed!
ixv0: IFDI_ATTACH_PRE failed 5
device_attach: ixv0 attach returned 5
ixv0: <Intel(R) PRO/10GbE Virtual Function Network Driver> at device 0.133 on pci4
ixv0: ...reset_hw() failure: Reset Failed!
ixv0: IFDI_ATTACH_PRE failed 5
device_attach: ixv0 attach returned 5
ixv0: <Intel(R) PRO/10GbE Virtual Function Network Driver> at device 0.135 on pci4
ixv0: ...reset_hw() failure: Reset Failed!
ixv0: IFDI_ATTACH_PRE failed 5
device_attach: ixv0 attach returned 5
I’m running 12-STABLE. Is this a hardware related or possibly a driver bug?
regards
Michal
More information about the freebsd-net
mailing list