[Bug 231151] ifconfig: unable to disable rxcsum, rxcsum6 and vlanhwcsum on em driver

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 12 14:41:33 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231151

--- Comment #6 from Stephen Hurd <shurd at FreeBSD.org> ---
(In reply to Kaho Toshikazu from comment #3)

> I think iflib should not do a special thing, and it is better that
> an individual driver has some workarounds if need.

The driver isn't involved in this ioctl, so it needs to support the lowest
common denominator of iflib devices.  This ioctl works by stopping the driver,
setting the capabilities, then restarting the driver... which then applies the
capabilities.

If a driver can't support a particular combination of flags, there's no way for
it to tell iflib at this time.  For rxcsum, the ifconfig specifically mentions
that rxcsum and rxcsum6 may not be interdependent.

It looks like there's some brokenness in the WoL stuff too.  I'm digging into
that once I verify your vlan_hwcsum changes.

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


More information about the freebsd-net mailing list