[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1325624413.2832.9.camel@bwh-desktop>
Date: Tue, 3 Jan 2012 21:00:12 +0000
From: Ben Hutchings <bhutchings@...arflare.com>
To: David Miller <davem@...emloft.net>
CC: <jeffrey.t.kirsher@...el.com>, <bruce.w.allan@...el.com>,
<netdev@...r.kernel.org>, <gospo@...hat.com>, <sassmann@...hat.com>
Subject: Re: [net-next 07/11] e1000e: cleanup Rx checksum offload code
On Tue, 2012-01-03 at 15:08 -0500, David Miller wrote:
> From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> Date: Tue, 3 Jan 2012 11:19:12 -0800
>
> > - __sum16 sum = (__force __sum16)htons(csum);
> > + __sum16 sum = (__force __sum16)htons(le16_to_cpu(csum));
>
> Looks like a NOP. It's essentially "cpu_to_le16(le16_to_cpu(csum)" as
> far as I can tell.
Looks like a swab() to me...
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
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