Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2017 04:54:09 -0800
From:      Matthew Macy <mmacy@nextbsd.org>
To:        =?UTF-8?Q?=22Olivier_Cochard-Labb=C3=A9=22?= <olivier@cochard.me>
Cc:        "Sean Bruno" <sbruno@freebsd.org>,  "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>,  "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: HEADS-UP: IFLIB implementations of sys/dev/e1000 em, lem, igb pending
Message-ID:  <1598d97bf2a.c6bcb76838987.6501340920645175463@nextbsd.org>
In-Reply-To: <CA%2Bq%2BTcramTrYgYT-s%2B=aBZzRJV8FmKQqGt=1twPhLBR7AoXkcQ@mail.gmail.com>
References:  <30f21c75-d3a2-edcd-1999-d5ed9f970c06@freebsd.org> <b000a957-8d17-a04d-6275-0d3920aa8a17@freebsd.org> <CA%2Bq%2BTcramTrYgYT-s%2B=aBZzRJV8FmKQqGt=1twPhLBR7AoXkcQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help



 ---- On Wed, 11 Jan 2017 01:23:46 -0800 Olivier Cochard-Labb=C3=A9 <olivie=
r@cochard.me> wrote ----=20
 > On Tue, Jan 10, 2017 at 4:31 AM, Sean Bruno <sbruno@freebsd.org> wrote:
 >=20
 > >
 > > I've updated sys/dev/e1000 at svn R311849 to match Matt Macy's work on
 > > IFLIB in the kernel.
 > >
 > > At this point, the driver deviates from Intel's code dramatically and
 > > you now get to yell directly into the freebsd-net@ megaphone for thing=
s
 > > that I may have broken.
 > >
 > >
 > >
 > =E2=80=8BI've got problem with this new drivers regarding number of queu=
es used on
 > a Netgate RCC-VE 4860 (Intel i354 NIC).
 > =E2=80=8BOnly one queue in place of 4 (on a 4 cores proc) previously: Pe=
rformance
 > drops dramatically.
 >=20
 > BEFORE (r311848) :
 >=20
 > igb2: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port
 > 0x3000-0x301f mem 0xdfea0000-0xdfebffff,0xdff24000-0xdff27fff irq 18 at
 > device 20.0 on pci0
 > igb2: Using MSIX interrupts with 5 vectors
 > igb2: Ethernet address: 00:08:a2:09:33:da
 > igb2: Bound queue 0 to cpu 0
 > igb2: Bound queue 1 to cpu 1
 > igb2: Bound queue 2 to cpu 2
 > igb2: Bound queue 3 to cpu 3
 > igb2: netmap queues/slots: TX 4/2048, RX 4/2048
 >=20
 > AFTER (r3118489):
 >=20
 > igb2: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0x3000-0x301f =
mem
 > 0xdfea0000-0xdfebffff,0xdff24000-0xdff27fff irq 18 at device 20.0 on pci=
0
 > igb2: attach_pre capping queues at 8
 > igb2: using 1024 tx descriptors and 1024 rx descriptors
 > igb2: msix_init qsets capped at 8
 > igb2: Unable to map MSIX table

It has the wrong msix bar for your device. I'll look in to it.


-M

 > igb2: Using an MSI interrupt
 > igb2: allocated for 1 tx_queues
 > igb2: allocated for 1 rx_queues
 > igb2: Ethernet address: 00:08:a2:09:33:da
 > igb2: netmap queues/slots: TX 1/1024, RX 1/1024
 >=20
 > =E2=80=8BNIC information:=E2=80=8B
 >=20
 > =E2=80=8Bigb2@pci0:0:20:0:       class=3D0x020000 card=3D0x1f418086 chip=
=3D0x1f418086
 > rev=3D0x03 hdr=3D0x00
 >     vendor     =3D 'Intel Corporation'
 >     device     =3D 'Ethernet Connection I354'
 >     class      =3D network
 >     subclass   =3D ethernet
 >     bar   [10] =3D type Memory, range 64, base 0xdfea0000, size 131072,
 > enabled
 >     bar   [18] =3D type I/O Port, range 32, base 0x3000, size 32, enable=
d
 >     bar   [20] =3D type Memory, range 64, base 0xdff24000, size 16384, e=
nabled
 >     cap 01[40] =3D powerspec 3  supports D0 D3  current D0
 >     cap 05[50] =3D MSI supports 1 message, 64 bit, vector masks
 >     cap 11[70] =3D MSI-X supports 10 messages, enabled
 >                  Table in map 0x20[0x0], PBA in map 0x20[0x2000]
 >     cap 10[a0] =3D PCI-Express 2 root endpoint max data 128(512) FLR RO =
NS
 >     ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 0 corrected
 >     ecap 0003[140] =3D Serial 1 0008a2ffff0933da
 >     ecap 0017[1a0] =3D TPH Requester 1
 >     ecap 000d[1d0] =3D ACS 1
 > igb3@pci0:0:20:1:       class=3D0x020000 card=3D0x1f4
 > _______________________________________________
 > freebsd-current@freebsd.org mailing list
 > https://lists.freebsd.org/mailman/listinfo/freebsd-current
 > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or=
g"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1598d97bf2a.c6bcb76838987.6501340920645175463>