[Bug 231474] "ifconfig igbX txcsum" doesn't include "txcsum6".
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 19 12:19:49 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231474
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 at FreeBSD.org
Reporter: lev at 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 separately.
Here is how it looks:
# ifconfig igb0 | grep options
options=e505bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
# ifconfig igb0 -rxcsum -txcsum
# ifconfig igb0 | grep options
options=c505b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,TXCSUM_IPV6>
nd6 options=23<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
options=8505b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO>
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
#
And turning it ON again:
# ifconfig igb0 rxcsum txcsum
# ifconfig igb0 | grep options
options=a505bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6>
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
# ifconfig igb0 txcsum6
# ifconfig igb0 | grep options
options=e505bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
#
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list