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
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 */
> +
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(-)