Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2016 11:47:19 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: possible em regression (was Re: svn commit: r294958 - in stable/10: share/man/man4 sys/dev/e1000 sys/dev/ixgb sys/dev/netmap)
Message-ID:  <56ACE917.80502@sentex.net>
In-Reply-To: <20160130012358.GY15359@alchemy.franken.de>
References:  <201601272231.u0RMV8LW019394@repo.freebsd.org> <56ABAA92.5050901@sentex.net> <56ABB291.5040305@omnilan.de> <56ABCE95.3030807@sentex.net> <20160130012358.GY15359@alchemy.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/29/2016 8:23 PM, Marius Strobl wrote:
> On Fri, Jan 29, 2016 at 03:41:57PM -0500, Mike Tancsa wrote:
>>
>> No multi queue. Stock GENERIC kernel with a couple of things removed.
>> hw.em are just the defaults. I will try without TSO
>>
>> % ifconfig em0
>> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>
>> options=4209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO>
>>
> 
> Hrm, that's strange, TSO4 should be enabled by default so apparently
> you are already disabling it; what is the behavior if you turn it on?
> Do you use a < Gigabit link?

Hi Marius,
	Thanks for looking. The ifconfig output was after I turned off tso as
Harry suggested to try.  Its been 24hrs and I have not seen any resets.
 I will wait another 36hrs or so and then turn it back on to see if the
problem comes back.

this link is 100Mb.
The other em nic onboard is a different chip. Its at gigabit and seems
to work fine with tso enabled

# pciconf -lvcb em1
em1@pci0:14:0:0:        class=0x020000 card=0x109a15d9 chip=0x109a8086
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82573L Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
    bar   [10] = type Memory, range 32, base 0xe8b00000, size 131072,
enabled
    bar   [18] = type I/O Port, range 32, base 0x6000, size 32, enabled
    cap 01[c8] = powerspec 2  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[e0] = PCI-Express 1 endpoint max data 128(256) RO NS link x1(x1)
                 speed 2.5(2.5)
    ecap 0001[100] = AER 1 0 fatal 1 non-fatal 0 corrected
    ecap 0003[140] = Serial 1 003048ffff9c59f1



# ifconfig em1
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
        ether 00:30:48:9c:59:f1
        inet6 fe80::230:48ff:fe9c:59f1%em1 prefixlen 64 scopeid 0x2
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active


The original problem nic is em0

 pciconf -lvcb em0
em0@pci0:13:0:0:        class=0x020000 card=0x108c15d9 chip=0x108c8086
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82573E Gigabit Ethernet Controller (Copper)'
    class      = network
    subclass   = ethernet
    bar   [10] = type Memory, range 32, base 0xe8a00000, size 131072,
enabled
    bar   [18] = type I/O Port, range 32, base 0x5000, size 32, enabled
    cap 01[c8] = powerspec 2  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[e0] = PCI-Express 1 endpoint max data 128(256) RO NS link x1(x1)
                 speed 2.5(2.5)
    ecap 0001[100] = AER 1 0 fatal 1 non-fatal 0 corrected
    ecap 0003[140] = Serial 1 003048ffff9c59f0



-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56ACE917.80502>