Page MenuHomeFreeBSD

vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID
ClosedPublic

Authored by tuexen on Sun, Nov 9, 8:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 14, 3:53 PM
Unknown Object (File)
Fri, Nov 14, 1:28 PM
Unknown Object (File)
Fri, Nov 14, 1:28 PM
Unknown Object (File)
Fri, Nov 14, 10:44 AM
Unknown Object (File)
Wed, Nov 12, 9:51 AM
Unknown Object (File)
Tue, Nov 11, 12:08 AM
Unknown Object (File)
Mon, Nov 10, 4:51 PM
Unknown Object (File)
Mon, Nov 10, 9:23 AM
Subscribers

Details

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tuexen requested review of this revision.Sun, Nov 9, 8:26 PM

It's strange that the spec does not allow the driver to set the VIRTIO_NET_HDR_F_DATA_VALID flag. If the host receives a packet over a physical interface that validates the checksum, forwards that packet to a VM, and the VM sends it out again (e. g., because of routing), we now lose the information that the checksum has already been validated. However, the spec appears to be clear on that, and I guess FreeBSD should follow it.

This revision is now accepted and ready to land.Mon, Nov 10, 10:01 AM