OpenCloudOS-Kernel/drivers/net/ethernet/cavium/thunder
Sunil Goutham fa6d7cb5d7 net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts
Don't offload IP header checksum to NIC.

This fixes a previous patch which enabled checksum offloading
for both IPv4 and IPv6 packets.  So L3 checksum offload was
getting enabled for IPv6 pkts.  And HW is dropping these pkts
as it assumes the pkt is IPv4 when IP csum offload is set
in the SQ descriptor.

Fixes:  3a9024f52c ("net: thunderx: Enable TSO and checksum offloads for ipv6")
Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@auriga.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-25 23:54:32 +09:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nic.h net: thunderx: Add basic XDP support 2017-05-02 15:41:21 -04:00
nic_main.c net: thunderx: fix double free error 2017-11-11 19:22:34 +09:00
nic_reg.h net: thunderx: Program LMAC credits based on MTU 2016-11-16 13:28:33 -05:00
nicvf_ethtool.c net: thunderx: Add basic XDP support 2017-05-02 15:41:21 -04:00
nicvf_main.c net: bpf: rename ndo_xdp to ndo_bpf 2017-11-05 22:26:18 +09:00
nicvf_queues.c net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts 2017-11-25 23:54:32 +09:00
nicvf_queues.h net: define the TSO header size in net/tso.h 2017-08-23 20:42:09 -07:00
q_struct.h net: thunderx: Optimize RBDR descriptor handling 2017-05-02 15:41:20 -04:00
thunder_bgx.c net: thunderx: Fix BGX transmit stall due to underflow 2017-07-29 14:17:07 -07:00
thunder_bgx.h net: thunderx: Fix BGX transmit stall due to underflow 2017-07-29 14:17:07 -07:00
thunder_xcv.c net: thunderx: avoid dereferencing xcv when NULL 2017-01-31 13:07:40 -05:00