[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121023.022713.1744593948897349616.davem@davemloft.net>
Date: Tue, 23 Oct 2012 02:27:13 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: edumazet@...gle.com, netdev@...r.kernel.org
Subject: Re: ipv4 gro receive IHL
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 23 Oct 2012 08:01:34 +0200
> GRO on IPv4 only supports ihl = 5, this is tested in :
>
> if (*(u8 *)iph != 0x45)
> goto out_unlock;
>
> I also was planning to add some code to ip_fast_csum(addr, X) to have a
> fast path (no conditional jump) for the case where X is the constant 5
Oh indeed, thanks for clearing that up.
--
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