Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2019 12:52:47 +0100
From:      =?utf-8?Q?Michal_Van=C4=8Do?= <michal@microwave.sk>
To:        freebsd-net@freebsd.org, freebsd-stable@freebsd.org
Subject:   device_attach: ixv0 attach returned 5
Message-ID:  <2D60E558-2F48-40EA-BF0D-C350BD005215@microwave.sk>

next in thread | raw e-mail | index | archive | help
Hi,

I=E2=80=99m trying to get SR-IOV working with my two port Intel 10G NIC:

ix0@pci0:3:0:0:	class=3D0x020000 card=3D0x15ad15d9 chip=3D0x15ad8086 =
rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'Ethernet Connection X552/X557-AT 10GBASE-T'
    class      =3D network
    subclass   =3D ethernet
ix1@pci0:3:0:1:	class=3D0x020000 card=3D0x15ad15d9 chip=3D0x15ad8086 =
rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'Ethernet Connection X552/X557-AT 10GBASE-T'
    class      =3D network
    subclass   =3D ethernet

with this iovctl config:

# cat /etc/iovctl_ix1.conf=20
PF {
    device: "ix1";
    num_vfs: 4;
}

I get 4 PCI devices created:

none57@pci0:3:0:129:	class=3D0x020000 card=3D0x15ad15d9 =
chip=3D0x15a88086 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'Ethernet Connection X552 Virtual Function'
    class      =3D network
    subclass   =3D ethernet
none58@pci0:3:0:131:	class=3D0x020000 card=3D0x15ad15d9 =
chip=3D0x15a88086 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'Ethernet Connection X552 Virtual Function'
    class      =3D network
    subclass   =3D ethernet
none59@pci0:3:0:133:	class=3D0x020000 card=3D0x15ad15d9 =
chip=3D0x15a88086 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'Ethernet Connection X552 Virtual Function'
    class      =3D network
    subclass   =3D ethernet
none60@pci0:3:0:135:	class=3D0x020000 card=3D0x15ad15d9 =
chip=3D0x15a88086 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'Ethernet Connection X552 Virtual Function'
    class      =3D network
    subclass   =3D 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=E2=80=99m running 12-STABLE. Is this a hardware related or possibly a =
driver bug?

regards
Michal




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2D60E558-2F48-40EA-BF0D-C350BD005215>