Enable the handling of the IFCAP_RXCSUM_IPV6 handling by handling IFCAP_RXCSUM and IFCAP_RXCSUM_IPV6 as a pair.
Also make clear, that software and hardware LRO require receive checksum offload.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sys/dev/virtio/network/if_vtnet.c | ||
---|---|---|
1373 | IPv6 has no checksum. How about this * VirtIO does not distinguish between IPv4 and IPv6, * it uses only the one feature flag VIRTIO_NET_F_GUEST_CSUM, * so treat them as a pair. |
sys/dev/virtio/network/if_vtnet.c | ||
---|---|---|
1373 | I think the comment is now clearer. |
Comment Actions
Removing the ifdefs and allow receive checksum offloading for IPv6 is a good thing. Also, enabling/disabling receive checksum pairwise for IPv4 and IPv6 make sense for VirtIO.