Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Sep 2021 18:54:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 258258] igb - batch creating vlans causes ifconfig %100 cpu usage - dmesg: igbX: Hardware Initialization Failed
Message-ID:  <bug-258258-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258258

            Bug ID: 258258
           Summary: igb - batch creating vlans causes ifconfig %100 cpu
                    usage - dmesg: igbX: Hardware Initialization Failed
           Product: Base System
           Version: 12.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ozkan.kirik@gmail.com

When creating vlan interfaces using script, igb interface becomes unusable.
I'm using FreeBSD stable/12 - 0f97f2a1857a git commit (Jul 26).
There is no problem on ixl card on same hardware.

# seq 2 4000 | xargs -t -L 1 -I % ifconfig igb5.% create
ifconfig igb5.2 create
ifconfig igb5.3 create
ifconfig igb5.4 create
ifconfig igb5.5 create
ifconfig igb5.6 create
(infinite loop)

# ifconfig igb5
igb5: flags=3D8d03<UP,BROADCAST,PROMISC,OACTIVE,SIMPLEX,MULTICAST> metric 0=
 mtu
1500
=20=20=20=20=20=20=20
options=3De527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether ac:1f:6b:c2:6f:7f
^C^C^C^C^C^[[1;5C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C


# ps ax | grep ifconfig
55382  1  R        7:55.44 ifconfig igb5.6 create
55954  2  R+       6:10.31 ifconfig igb5

# top -azSHti
  PID USERNAME    PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
    0 root        -76    -     0B  2096K CPU12   12 103:44  99.88%
[kernel{if_config_tqg_0}]
55382 root         20    0    11M  2748K CPU2     2   5:03  99.88% ifconfig
igb5.6 create
55954 root         20    0    11M  2820K CPU14   14   3:18  99.88% ifconfig
igb5

# dmesg | tail
igb5: Hardware Initialization Failed
igb5: Hardware Initialization Failed
igb5: Hardware Initialization Failed
...

#pciconf output:
igb5@pci0:8:0:0:        class=3D0x020000 card=3D0x152115d9 chip=3D0x1521808=
6 rev=3D0x01
hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'I350 Gigabit Network Connection'
    class      =3D network
    subclass   =3D ethernet

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258258-227>