Page MenuHomeFreeBSD

if_vtnet: Add support for CTRL_GUEST_OFFLOADS feature
ClosedPublic

Authored by bryanv on Jan 2 2021, 9:07 PM.

Details

Summary

This allows the Rx checksum and LRO to be modified without a full
reinit of the device.

Remove IFCAP_RXCSUM_IPV6 from the interface capabilities since in
VirtIO Rx checksums are just enabled or disabled for all protocols.

Properly update IFCAP_LRO if LRO is becomes disabled when Rx
checksums are disabled.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bryanv published this revision for review.Jan 2 2021, 10:02 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 19 2021, 5:12 AM
This revision was automatically updated to reflect the committed changes.