[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091123082708.737854f1@nehalam>
Date: Mon, 23 Nov 2009 08:27:08 -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 Mon, 23 Nov 2009 14:39:22 +0100
Simon Kagstrom <simon.kagstrom@...insight.net> wrote:
> while the VIA driver does
>
> ip_summed = CHECKSUM_NONE;
> if (hardware sees that this is an IP packet):
> if (hw IP checksum is OK):
> if (hw sees that this is a TCP/UDP packet):
> if (hw TCP/UDP checksum is NOT OK):
> return # Returning CHECKSUM_NONE
> ip_summed = CHECKSUM_UNNECESSARY
>
> i.e., it will return CHECKSUM_NONE also for non-TCP/UDP IP packets.
That is correct assuming hardware can only checksum TCP/UDP.
--
--
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