Re: [PATCH v11 2/4] virtio-net: clarify DATA_VALID semantic for encap protos.

Jason Wang
2024-11-28T03:01:21Z

On Wed, Nov 27, 2024 at 5:37 PM Paolo Abeni <pabeni@redhat.com> wrote:
>
> DATA_VALID allows offloading a single checksum level, leaving
> unspecified which header checksum is offloaded when one or more
> encapsulated protocols are present.
>
> In such a case, the only option usable from the guest OS is
> offloading the outermost checksum. That also matches the existing
> implementation.
>
> Explicitly state such the constraint, to remove any ambiguity and
> make later changes more straightforward.
>
> Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Reviewed-by: Jason Wang <jasowang@redhat.com>

Thanks