octeontx2-pf: Fix TSOv6 offload
authorSunil Goutham <sgoutham@marvell.com>
Thu, 18 May 2023 06:40:42 +0000 (12:10 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 May 2023 07:57:47 +0000 (08:57 +0100)
commitde678ca38861f2eb58814048076dcf95ed1b5bf9
treeabee333835f25ddb2052ff31840d0635582ad37f
parentcfcb942863f6fce9266e1957a021e6c7295dee42
octeontx2-pf: Fix TSOv6 offload

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>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c