[PATCH v2] net/virtio: deduce IP length for Virtio TSO checksum

Maxime Coquelin maxime.coquelin at redhat.com
Mon Mar 6 15:20:37 CET 2023



On 3/3/23 12:19, Boleslav Stankevich wrote:
> The length of TSO payload could not fit into 16 bits provided by the
> IPv4 total length and IPv6 payload length fields. Thus, deduce it
> from the length of the packet.
> 
> Fixes: 696573046e9 ("net/virtio: support TSO")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Boleslav Stankevich <boleslav.stankevich at oktetlabs.ru>
> Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> ---
>   drivers/net/virtio/virtio_rxtx.c | 25 ++++++++++++++++---------
>   1 file changed, 16 insertions(+), 9 deletions(-)
> 

Applied to dpdk-next-virtio/main.

Thanks,
Maxime



More information about the stable mailing list