Re: [RFC PATCH v7 01/19] Add a new structure for skb buffer from external.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael S. Tsirkin
Date: Sunday, June 20, 2010 - 5:48 am

On Sun, Jun 20, 2010 at 09:59:26PM +1000, Herbert Xu wrote:
Thanks for the clarification. So what is discussed here is
the API changes that will enable this optimization?
Of couse, it makes sense to consider this to try and avoid code churn
in the future.

As a side note, I hope to see a basic zero copy implementation with
GSO/GRO that beats copy in host convincingly before work is started on
further optimizations, though.

I don't know how much will copying the head cost.


This seems mostly harmless - and guest can always do a copy internally
to save memory, correct?
Note also that we lock a full page to allow DMA, anyway.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH v7 14/19] Add header file for mp device., xiaohui.xin, (Sat Jun 5, 3:14 am)
Re: [RFC PATCH v7 01/19] Add a new structure for skb buffe ..., Michael S. Tsirkin, (Sun Jun 20, 3:06 am)
Re: [RFC PATCH v7 01/19] Add a new structure for skb buffe ..., Michael S. Tsirkin, (Sun Jun 20, 3:39 am)
Re: [RFC PATCH v7 01/19] Add a new structure for skb buffe ..., Michael S. Tsirkin, (Sun Jun 20, 4:47 am)
Re: [RFC PATCH v7 01/19] Add a new structure for skb buffe ..., Michael S. Tsirkin, (Sun Jun 20, 5:48 am)
Re: [RFC PATCH v7 01/19] Add a new structure for skb buffe ..., Michael S. Tsirkin, (Fri Jun 25, 4:06 am)