[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1340148651.1988.33.camel@jtkirshe-mobl>
Date: Tue, 19 Jun 2012 16:30:51 -0700
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: Alexander Duyck <alexander.h.duyck@...el.com>,
Bruce Allan <bruce.w.allan@...el.com>,
Carolyn Wyborny <carolyn.wyborny@...el.com>,
Don Skidmore <donald.c.skidmore@...el.com>,
Greg Rose <gregory.v.rose@...el.com>,
Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@...el.com>,
"David S. Miller" <davem@...emloft.net>,
e1000-devel@...ts.sourceforge.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ixgbe: simplify padding and length checks (v2)
On Mon, 2012-06-18 at 16:31 -0700, Stephen Hemminger wrote:
> The check for length <= 0 is bogus because length is unsigned, and
> network
> stack never sends zero length packets (unless it is totally broken).
>
> The check for really small packets can be optimized (using unlikely)
> and calling skb_pad directly.
>
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
I just realized I had not responded to this updated patch.
Thanks Stephen, I have dropped your previous 2 patch series and added
this patch to my queue.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists