Re: [Qemu-devel] [PATCH 1/3] net: spread hub on AioContexts

2013-03-04 Thread liu ping fan
On Mon, Mar 4, 2013 at 10:35 PM, Stefan Hajnoczi wrote: > On Sun, Mar 03, 2013 at 09:21:20PM +0800, Liu Ping Fan wrote: >> @@ -44,6 +47,7 @@ typedef ssize_t (NetReceiveIOV)(NetClientState *, const >> struct iovec *, int); >> typedef void (NetCleanup) (NetClientState *); >> typedef void (LinkSta

Re: [Qemu-devel] [PATCH 1/3] net: spread hub on AioContexts

2013-03-04 Thread Stefan Hajnoczi
On Sun, Mar 03, 2013 at 09:21:20PM +0800, Liu Ping Fan wrote: > @@ -44,6 +47,7 @@ typedef ssize_t (NetReceiveIOV)(NetClientState *, const > struct iovec *, int); > typedef void (NetCleanup) (NetClientState *); > typedef void (LinkStatusChanged)(NetClientState *); > typedef void (NetClientDestru

[Qemu-devel] [PATCH 1/3] net: spread hub on AioContexts

2013-03-03 Thread Liu Ping Fan
From: Liu Ping Fan Forward packet to other hub ports by their AioContext. Signed-off-by: Liu Ping Fan --- hw/qdev-properties-system.c |1 + include/block/aio.h |1 + include/net/net.h |5 + include/net/queue.h | 14 ++ main-loop.c