Re: [PATCH RFC 08/13] vhost/net: convert to new API: heads->bufs

2020-06-04 Thread Michael S. Tsirkin
On Wed, Jun 03, 2020 at 04:11:54PM +0800, Jason Wang wrote: > > On 2020/6/2 下午9:06, Michael S. Tsirkin wrote: > > Convert vhost net to use the new format-agnostic API. > > In particular, don't poke at vq internals such as the > > heads array. > > > > Signed-off-by: Michael S. Tsirkin > > --- >

Re: [PATCH RFC 08/13] vhost/net: convert to new API: heads->bufs

2020-06-03 Thread Jason Wang
On 2020/6/2 下午9:06, Michael S. Tsirkin wrote: Convert vhost net to use the new format-agnostic API. In particular, don't poke at vq internals such as the heads array. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 153 +++- 1 file

[PATCH RFC 08/13] vhost/net: convert to new API: heads->bufs

2020-06-02 Thread Michael S. Tsirkin
Convert vhost net to use the new format-agnostic API. In particular, don't poke at vq internals such as the heads array. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 153 +++- 1 file changed, 81 insertions(+), 72 deletions(-) diff --git