Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2018 12:19:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 231474] "ifconfig igbX txcsum" doesn't include "txcsum6".
Message-ID:  <bug-231474-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 231474
           Summary: "ifconfig igbX txcsum" doesn't include "txcsum6".
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: lev@FreeBSD.org

man ifconfig says that "rxcsum" and "txcsum" includes both IPv4 and IPv6
options. But in case of igb driver "rxcsum" includes both, but "txcsum"
inccludes only IPv4 option and IPv6 option should be tuened on/off separate=
ly.

Here is how it looks:

# ifconfig igb0 | grep options
=20=20=20=20=20=20=20
options=3De505bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
# ifconfig igb0 -rxcsum -txcsum
# ifconfig igb0 | grep options
=20=20=20=20=20=20=20
options=3Dc505b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLA=
N_HWFILTER,VLAN_HWTSO,TXCSUM_IPV6>
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
#

As you can see, RXCSUM_IPV6 is OFF, but TXCSUM_IPV6 is still ON. It could be
turned off separately:

# ifconfig igb0 -txcsum6
# ifconfig igb0 | grep options
=20=20=20=20=20=20=20
options=3D8505b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLA=
N_HWFILTER,VLAN_HWTSO>
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
#

And turning it ON again:


# ifconfig igb0 rxcsum txcsum
# ifconfig igb0 | grep options
=20=20=20=20=20=20=20
options=3Da505bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6>
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
# ifconfig igb0 txcsum6
# ifconfig igb0 | grep options
=20=20=20=20=20=20=20
options=3De505bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
#

--=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-231474-227>