[PATCH 20.11] net/virtio: fix Tx checksum for tunnel packets

Xueming(Steven) Li xuemingl at nvidia.com
Sat Nov 27 15:41:02 CET 2021


On Tue, 2021-11-16 at 19:34 +0300, Ivan Malov wrote:
> [ upstream commit 6474b59448700d6ed8c7a0b673ebd1dbb6063ca8 ]
> 
> Tx prepare method calls rte_net_intel_cksum_prepare(), which
> handles tunnel packets correctly, but Tx burst path does not
> take tunnel presence into account when computing the offsets.
> 
> Fixes: 58169a9c8153 ("net/virtio: support Tx checksum offload")
> 
> Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
> Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>
> Reviewed-by: Olivier Matz <olivier.matz at 6wind.com>
> ---

Applied to 20.11.4 list, thanks!


More information about the stable mailing list