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

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 10, 2017 at 4:31 AM, Sean Bruno <sbruno@freebsd.org> wrote:

>
> 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 things
> that I may have broken.
>
>
>
=E2=80=8BI've got problem with this new drivers regarding number of queues =
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: Perfo=
rmance
drops dramatically.

BEFORE (r311848) :

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

AFTER (r3118489):

igb2: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0x3000-0x301f mem
0xdfea0000-0xdfebffff,0xdff24000-0xdff27fff irq 18 at device 20.0 on pci0
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
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

=E2=80=8BNIC information:=E2=80=8B

=E2=80=8Bigb2@pci0:0:20:0:       class=3D0x020000 card=3D0x1f418086 chip=3D=
0x1f418086
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, enabled
    bar   [20] =3D type Memory, range 64, base 0xdff24000, size 16384, enab=
led
    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcramTrYgYT-s%2B=aBZzRJV8FmKQqGt=1twPhLBR7AoXkcQ>