vhost-net: check the support of mergeable buffer outside the receive loop
authorJason Wang <jasowang@redhat.com>
Mon, 17 Jan 2011 08:10:59 +0000 (16:10 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 13 Mar 2011 14:57:30 +0000 (16:57 +0200)
No need to check the support of mergeable buffer inside the recevie
loop as the whole handle_rx()_xx is in the read critical region.  So
this patch move it ahead of the receiving loop.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

No differences found