[Bug 280074] em(4) temporarily hangs and re-enables TX CSUM if a bridge it's a member of is modified

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280074

--- Comment #24 from Zhenlei Huang <[email protected]> ---
(In reply to Joshua Kinard from comment #12)
> (In reply to Michael Tuexen from comment #11)
> I gave this patch a test on the affected machine, and it did not resolve the
> problem I am describing.

Enabling txcsum on bridge(4) does not help in this case. These capabilities
want to be disabled on bridge(4) members.


> if_bridge filters two categories:
> * List of capabilities to possibly mask on the member interface.
> #define	BRIDGE_IFCAPS_MASK		(IFCAP_TOE|IFCAP_TSO|IFCAP_TXCSUM|\
                                         IFCAP_TXCSUM_IPV6|IFCAP_MEXTPG)
> which means these have to match on bridged interfaces or get masked
> and
> * List of capabilities to strip
> #define	BRIDGE_IFCAPS_STRIP		IFCAP_LRO
> which are always masked.

(In reply to Joshua Kinard from comment #17)
> These are my lines in /etc/rc.conf that I use to configure the interfaces,
> including comments:

>> # Setup em0 interface for wired networking
>> EM0_IPV4="x.x.x.x/24"
>> EM0_IPV6="fdxx:xxxx:xxxx:xxxx::xxxx:xxxx/120"
>> EM0_MTU=9000
>> EM_OPTS="-wol -lro -tso -rxcsum -rxcsum6 -txcsum -txcsum6 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwcsum -vlanhwtso"
>> ifconfig_em0="inet ${EM0_IPV4} ${EM_OPTS} mtu ${EM0_MTU}"
>> ifconfig_em0_ipv6="inet6 ${EM0_IPV6}"

Please try this EM_OPTS on 15.0-RELEASE,
EM_OPTS="-lro -tso -tso6 -mextpg"

Or this if you have disabled txcsum and txcsum6 on epair(4) bridge members,
EM_OPTS="-lro -tso -tso6 -txcsum -txcsum6 -mextpg"

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.