HomeFreeBSD

vtnet: fix enabling/disabling tso

Description

vtnet: fix enabling/disabling tso

Transmit segment offloading depends on transmit checksum offloading.
Enforce that constraint. This also fixes a bug, since if_hwassist bits
are from the CSUM_ space, not from the IFCAP_ space.

PR: 290773
Reviewed by: Timo Völker
Tested by: lg@efficientip.com
Differential Revision: https://reviews.freebsd.org/D53629

(cherry picked from commit 4c50ac68166caf7e08c5a9984d63fa91490fa50d)

Details

Provenance
tuexenAuthored on Mon, Nov 10, 3:34 PM
Differential Revision
D53629: vtnet: fix enabling/disabling tso
Parents
rGca38822e05d7: vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID
Branches
Unknown
Tags
Unknown