]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-pf: Fix TCP/UDP checksum offload for IPv6 frames
authorGeetha sowjanya <gakula@marvell.com>
Wed, 30 Sep 2020 16:08:52 +0000 (21:38 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2020 22:07:19 +0000 (15:07 -0700)
commit6b4e37b9f73989b84fe24e18e1a938bd3fdf1ddb
tree1bd1610d25b62a8d7d8315627d3b168bdd5d0a17
parent8a07b4fd5afc5f9b44c9e1ef8159f2650e517137
octeontx2-pf: Fix TCP/UDP checksum offload for IPv6 frames

For TCP/UDP checksum offload feature in Octeontx2
expects L3TYPE to be set irrespective of IP header
checksum is being offloaded or not. Currently for
IPv6 frames L3TYPE is not being set resulting in
packet drop with checksum error. This patch fixes
this issue.

Fixes: 471374d48 ("octeontx2-pf: Add packet transmission support")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c