Re: HEADS-UP: IFLIB implementations of sys/dev/e1000 em, lem, igb pending

From: Olivier Cochard-Labbé <olivier_at_cochard.me>
Date: Wed, 11 Jan 2017 10:23:46 +0100
On Tue, Jan 10, 2017 at 4:31 AM, Sean Bruno <sbruno_at_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_at_ megaphone for things
> that I may have broken.
>
>
>
​I've got problem with this new drivers regarding number of queues used on
a Netgate RCC-VE 4860 (Intel i354 NIC).
​Only one queue in place of 4 (on a 4 cores proc) previously: Performance
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

​NIC information:​

​igb2_at_pci0:0:20:0:       class=0x020000 card=0x1f418086 chip=0x1f418086
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Ethernet Connection I354'
    class      = network
    subclass   = ethernet
    bar   [10] = type Memory, range 64, base 0xdfea0000, size 131072,
enabled
    bar   [18] = type I/O Port, range 32, base 0x3000, size 32, enabled
    bar   [20] = type Memory, range 64, base 0xdff24000, size 16384, enabled
    cap 01[40] = powerspec 3  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit, vector masks
    cap 11[70] = MSI-X supports 10 messages, enabled
                 Table in map 0x20[0x0], PBA in map 0x20[0x2000]
    cap 10[a0] = PCI-Express 2 root endpoint max data 128(512) FLR RO NS
    ecap 0001[100] = AER 2 0 fatal 0 non-fatal 0 corrected
    ecap 0003[140] = Serial 1 0008a2ffff0933da
    ecap 0017[1a0] = TPH Requester 1
    ecap 000d[1d0] = ACS 1
igb3_at_pci0:0:20:1:       class=0x020000 card=0x1f4
Received on Wed Jan 11 2017 - 08:24:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC