Re: [PATCH 2/10 REV5] [core] Add skb_blist & support for batching

2007-09-16 Thread Krishna Kumar2
Hi Evgeniy, Evgeniy Polyakov <[EMAIL PROTECTED]> wrote on 09/14/2007 06:16:38 PM: > > + if (dev->features & NETIF_F_BATCH_SKBS) { > > + /* Driver supports batching skb */ > > + dev->skb_blist = kmalloc(sizeof *dev->skb_blist, GFP_KERNEL); > > + if (dev->skb_blist) > > + s

Re: [PATCH 2/10 REV5] [core] Add skb_blist & support for batching

2007-09-14 Thread Evgeniy Polyakov
On Fri, Sep 14, 2007 at 02:31:37PM +0530, Krishna Kumar ([EMAIL PROTECTED]) wrote: > @@ -3566,6 +3579,13 @@ int register_netdevice(struct net_device > } > } > > + if (dev->features & NETIF_F_BATCH_SKBS) { > + /* Driver supports batching skb */ > +

[PATCH 2/10 REV5] [core] Add skb_blist & support for batching

2007-09-14 Thread Krishna Kumar
Introduce skb_blist, NETIF_F_BATCH_SKBS, use single API for batching/no-batching, etc. Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]> --- include/linux/netdevice.h |8 ++-- net/core/dev.c| 29 ++--- 2 files changed, 32 insertions(+), 5 deletions(-)