commit | cfbdab951369f15de890597530076bf0119361be | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Mon Jan 17 16:10:59 2011 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Sun Mar 13 16:57:30 2011 +0200 |
tree | f6abfd1324d7d57784545f9dda4e4fbf60570053 | |
parent | fcc042a2806064ffcaed7a0c5cb710eca0e99108 [diff] |
vhost-net: check the support of mergeable buffer outside the receive loop 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>