From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net v3] net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts Date: Sat, 25 Nov 2017 23:54:54 +0900 (KST) Message-ID: <20171125.235454.1853975778488578912.davem@davemloft.net> References: <20171123193014.6632-1-aleksey.makarov@auriga.com> <20171123193432.6925-1-aleksey.makarov@auriga.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Sunil.Goutham@cavium.com, rric@kernel.org, fw@strlen.de, eric.dumazet@gmail.com, aleksey.makarov@cavium.com, sgoutham@cavium.com, linux-arm-kernel@lists.infradead.org To: aleksey.makarov@auriga.com Return-path: In-Reply-To: <20171123193432.6925-1-aleksey.makarov@auriga.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Aleksey Makarov Date: Thu, 23 Nov 2017 22:34:31 +0300 > From: Sunil Goutham > > 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: 3a9024f52c2e ("net: thunderx: Enable TSO and checksum offloads for ipv6") > Signed-off-by: Sunil Goutham > Signed-off-by: Aleksey Makarov > Reviewed-by: Eric Dumazet Applied.