You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ChecksumCapabilities struct currently contains the members udpv4 and tcpv4 that will be used for IPv6 packets as well as IPv4 packets. These members should be changed to udp and tcp if they should be used for both IPv6 and IPv4. If it is possible that we can only offload udp or tcp checksums for one IP version and not the other, the udpv6 and tcpv6 members should be added and the UdpRepr::parse and TcpRepr::parse functions should be updated accordingly.
The text was updated successfully, but these errors were encountered:
Let's just rename those to udp and tcp. If some hardware supports checksums for IPv4 but not IPv6, the driver can just disable offload to both. I feel like simplicity is more important than supporting such crap in an optimal way.
The ChecksumCapabilities struct currently contains the members
udpv4
andtcpv4
that will be used for IPv6 packets as well as IPv4 packets. These members should be changed toudp
andtcp
if they should be used for both IPv6 and IPv4.If it is possible that we can only offload udp or tcp checksums for one IP version and not the other, theudpv6
andtcpv6
members should be added and the UdpRepr::parse and TcpRepr::parse functions should be updated accordingly.The text was updated successfully, but these errors were encountered: