Bug 242159 - [em] I219-V connection lost under load
Summary: [em] I219-V connection lost under load
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-RELEASE
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-net mailing list
URL:
Keywords: IntelNetworking, iflib, regression
Depends on:
Blocks:
 
Reported: 2019-11-22 19:53 UTC by Julien Cigar
Modified: 2019-11-27 13:28 UTC (History)
0 users

See Also:


Attachments
sysctl dev.em (4.62 KB, text/plain)
2019-11-22 19:53 UTC, Julien Cigar
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Cigar 2019-11-22 19:53:48 UTC
Created attachment 209347 [details]
sysctl dev.em

Hello,

On my Lenovo X1 Carbon 6th Gen the network interface jumps constantly from DOWN to UP when there is some traffic. Sometimes it completely freeze and only a reboot solves the problem:

Nov 22 20:46:40 x1 kernel: em0: link state changed to DOWN
Nov 22 20:46:43 x1 kernel: em0: link state changed to UP
Nov 22 20:46:48 x1 dhclient[2805]: New IP Address (em0): 192.168.0.88
Nov 22 20:46:48 x1 dhclient[2806]: New Subnet Mask (em0): 255.255.255.0
Nov 22 20:46:48 x1 dhclient[2807]: New Broadcast Address (em0): 192.168.0.255
Nov 22 20:46:48 x1 dhclient[2808]: New Routers (em0): 192.168.0.254
Nov 22 20:46:49 x1 kernel: em0: link state changed to DOWN
Nov 22 20:46:52 x1 kernel: em0: link state changed to UP
Nov 22 20:47:00 x1 dhclient[2829]: New IP Address (em0): 192.168.0.88
Nov 22 20:47:00 x1 dhclient[2830]: New Subnet Mask (em0): 255.255.255.0
Nov 22 20:47:00 x1 dhclient[2831]: New Broadcast Address (em0): 192.168.0.255
Nov 22 20:47:00 x1 dhclient[2832]: New Routers (em0): 192.168.0.254
Nov 22 20:47:10 x1 kernel: em0: link state changed to DOWN
Nov 22 20:47:12 x1 kernel: em0: link state changed to UP
Nov 22 20:47:21 x1 dhclient[2856]: New IP Address (em0): 192.168.0.88
Nov 22 20:47:21 x1 dhclient[2857]: New Subnet Mask (em0): 255.255.255.0
Nov 22 20:47:21 x1 dhclient[2858]: New Broadcast Address (em0): 192.168.0.255
Nov 22 20:47:21 x1 dhclient[2859]: New Routers (em0): 192.168.0.254
(...)

This is with:

em0@pci0:0:31:6:        class=0x020000 card=0x225c17aa chip=0x15d88086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Ethernet Connection (4) I219-V'
    class      = network
    subclass   = ethernet

Nothing special in the config:

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=81249b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER>
        ether 8c:16:45:ad:ef:df
        inet 192.168.0.88 netmask 0xffffff00 broadcast 192.168.0.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

I tried with intel-em-kmod-7.7.5 and it works as expected, so I guess some IFLIB problem ..
Comment 1 Julien Cigar 2019-11-27 13:28:26 UTC
Strangely enough I would add that the problem doesn't occur on my work machine (Thinkpad P52s) with (almost) the same card:

em0@pci0:0:31:6:        class=0x020000 card=0x225a17aa chip=0x15d88086 rev=0x21 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Ethernet Connection (4) I219-V'
    class      = network
    subclass   = ethernet


(only difference is "card=0x225c17aa" vs "card=0x225a17aa")