[ofa-general] Re: [PATCH 0/10 REV5] Implement skb batching and support in IPoIB/E1000
Krishna Kumar2
krkumar2 at in.ibm.com
Sun Sep 16 21:08:36 PDT 2007
Hi Dave,
David Miller <davem at davemloft.net> wrote on 09/17/2007 04:47:48 AM:
> The only major complaint I have about this patch series is that
> the IPoIB part should just be one big changeset. Otherwise the
> tree is not bisectable, for example the initial ipoib header file
> change breaks the build.
Right, I will change it accordingly.
> On a lower priority, I question the indirection of skb_blist by making
> it a pointer. For what? Saving 12 bytes on 64-bit? That kmalloc()'d
> thing is a nearly guarenteed cache and/or TLB miss. Just inline the
> thing, we generally don't do crap like this anywhere else.
The intention was to avoid having two flags (one that driver supports
batching and second to indicate that batching is on/off). So I could test
skb_blist as an indication of whether batching is on/off. But your point
on cache miss is absolutely correct, and I will change this part to be
inline.
thanks,
- KK
More information about the general
mailing list