[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091120090348.1e51e29e@nehalam>
Date: Fri, 20 Nov 2009 09:03:48 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Simon Kagstrom <simon.kagstrom@...insight.net>
Cc: netdev@...r.kernel.org, davem@...emloft.net, davej@...hat.com,
romieu@...zoreil.com
Subject: Re: [PATCH 0/7] via-velocity performance fixes
On Fri, 20 Nov 2009 16:06:33 +0100
Simon Kagstrom <simon.kagstrom@...insight.net> wrote:
> 1. Correct setting of skipped checksums (unsure about this). The
> mainline driver sets CHECKSUM_UNNECESSARY if this is an IP packet
> except if the TCP checksum is NOT ok.
>
> The VIA driver sets CHECKSUM_UNNECESSARY if this is an UDP/TCP
> packet except if the TCP checksum is not OK. The patch selects the
> VIA behavior.
This doesn't seem correct.
The mainline driver is already doing the correct thing.
The VIA driver would send packet
with known bad checksum up the stack with CHECKSUM_UNNECESSARY.
What is supposed to happen is:
Checksum good: set CHECKSUM_UNNECESSARY
bad: leave CHECKSUM_NONE
This is all documented in skbuff.h
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists