HomeFreeBSD

lagg: update capabilites on SIOCSIFMTU

Description

lagg: update capabilites on SIOCSIFMTU

Some NICs might have limited capabilities when Jumbo frames are used.
For exampe some neta interfaces only support TX csum offload when the
packet size is lower than a value specified in DT.
Fix it by re-reading capabilities of children interfaces after MTU
has been successfully changed.

Found by: Jerome Tomczyk <jerome.tomczyk@stormshield.eu>
Reviewed by: jhb
Obtained from: Semihalf
Sponsored by: Stormshield
Differential revision: https://reviews.freebsd.org/D32724

Details

Provenance
wmaAuthored on Nov 6 2021, 9:41 AM
Reviewer
jhb
Differential Revision
D32724: lagg: update capabilites on SIOCSIFMTU
Parents
rG6f397bc0fbe3: linux: Implement linux_to_bsd_regset() on arm64
Branches
Unknown
Tags
Unknown