Re: [PATCH V3 3/8] Add userspace buffers support in skb

2011-05-03 Thread Shirley Ma
On Mon, 2011-05-02 at 13:53 +0300, Michael S. Tsirkin wrote: On Wed, Apr 20, 2011 at 12:47:57PM -0700, Shirley Ma wrote: This patch adds userspace buffers support in skb. A new struct skb_ubuf_info is needed to maintain the userspace buffers argument and index, a callback is used to notify

Re: [PATCH V3 3/8] Add userspace buffers support in skb

2011-05-02 Thread Michael S. Tsirkin
On Wed, Apr 20, 2011 at 12:47:57PM -0700, Shirley Ma wrote: This patch adds userspace buffers support in skb. A new struct skb_ubuf_info is needed to maintain the userspace buffers argument and index, a callback is used to notify userspace to release the buffers once lower device has done DMA

[PATCH V3 3/8] Add userspace buffers support in skb

2011-04-20 Thread Shirley Ma
This patch adds userspace buffers support in skb. A new struct skb_ubuf_info is needed to maintain the userspace buffers argument and index, a callback is used to notify userspace to release the buffers once lower device has done DMA (Last reference to that skb has gone). Signed-off-by: Shirley