Subject: Re: [PATCH 0/7] via-velocity performance fixes

From: Stephen Hemminger <[email-masked]>
Date: Mon, 23 Nov 2009 08:27:08 -0800

On Mon, 23 Nov 2009 14:39:22 +0100
Simon Kagstrom <[email-masked]> 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.

--