On Wed, Jan 17, 2024 at 09:21:22AM -0500, Mike Pattrick wrote:
> When OVS needs to fallback on the software TSO implementation to segment
> a packet, it currently doesn't guarantee that IP and TCP checksum
> offload flags are set. However, it is possible that these is required.
> This is true in the case of dp_netdev_upcall(), which clears these
> flags.
> 
> This patch explicitly sets the appropriate flags when the segmentation
> flag is removed, to guarantee that packets always end up with correct
> checksums.
> 
> Signed-off-by: Mike Pattrick <[email protected]>
> Fixes: 8b5fe2dc6080 ("userspace: Add Generic Segmentation Offloading.")
> ---
> v3: Moved logic from ofproto-dpif-upcall to dp-packet
> v5: Corrected indectionation, and removed a redundant flag from the mask

Acked-by: Simon Horman <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to