]> git.itanic.dy.fi Git - linux-stable/commit
octeontx2-pf: Fix TSOv6 offload
authorSunil Goutham <sgoutham@marvell.com>
Thu, 18 May 2023 06:40:42 +0000 (12:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 13:03:20 +0000 (14:03 +0100)
commita1d7c357f4dc47db7942f701f893bd9d466ad208
tree0093d84ab0b572128024b6a15413b3a1bdc177f4
parent4883d9e2a2212d0d0f10893061d55cbb34dabee0
octeontx2-pf: Fix TSOv6 offload

commit de678ca38861f2eb58814048076dcf95ed1b5bf9 upstream.

HW adds segment size to the payload length
in the IPv6 header. Fix payload length to
just TCP header length instead of 'TCP header
size + IPv6 header size'.

Fixes: 86d7476078b8 ("octeontx2-pf: TCP segmentation offload support")
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c