On Sun, Jun 13, 2010 at 04:58:36PM +0800, Xin, Xiaohui wrote: > > Herbert, > In this way, I think we should create 3 functions at least in drivers to allocate rx buffer, to receive the rx buffers, and to clean the rx buffers. > > We can also have another way here. We can provide a function to only substitute > alloc_page(), and a function to release the pages when cleaning the rx buffers. Yes that's exactly what I had in mind. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html