[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <48A4B665.5020802@nvidia.com>
Date: Thu, 14 Aug 2008 18:49:09 -0400
From: Ayaz Abdulla <aabdulla@...dia.com>
To: Jeff Garzik <jgarzik@...ox.com>,
Manfred Spraul <manfred@...orfullife.com>,
Andrew Morton <akpm@...l.org>, nedev <netdev@...r.kernel.org>
Subject: [PATCH] forcedeth: fix checksum flag
This patch fixes the checksum feature advertised in device flags. The
hardware support TCP/UDP over IPv4 and TCP/UDP over IPv6 (without IPv6
extension headers). However, the kernel feature flags do not distinguish
IPv6 with/without extension headers.
Therefore, the driver needs to use NETIF_F_IP_CSUM instead of
NETIF_F_HW_CSUM since the latter includes all IPv6 packets.
A future patch can created to check for extension headers and perform
software checksum calculation.
Signed-off-by: Ayaz Abdulla <aabdulla@...dia.com>
View attachment "patch-forcedeth-ipv4csum" of type "text/plain" (780 bytes)
Powered by blists - more mailing lists