Re: [PATCH V5 2/6 net-next] netdevice.h: Add zero-copy flag innetdevice

From: Shirley Ma
Date: Tue May 17 2011 - 18:28:52 EST


On Tue, 2011-05-17 at 23:48 +0200, MichaÅ MirosÅaw wrote:
> 2011/5/17 Shirley Ma <mashirle@xxxxxxxxxx>:
> > Hello Michael,
> >
> > Looks like to use a new flag requires more time/work. I am thinking
> > whether we can just use HIGHDMA flag to enable zero-copy in macvtap
> to
> > avoid the new flag for now since mavctap uses real NICs as lower
> device?
>
> Is there any other restriction besides requiring driver to not recycle
> the skb? Are there any drivers that recycle TX skbs?

Not more other restrictions, skb clone is OK. pskb_expand_head() looks
OK to me from code review.

Currently there is no drivers recycle TX skbs.

Thanks
Shirley

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/