vhost: return packets to upper layer
authorHuawei Xie <huawei.xie@intel.com>
Wed, 8 Oct 2014 18:54:41 +0000 (02:54 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Oct 2014 17:16:53 +0000 (19:16 +0200)
commit20f16ce646c1a44a33e8988e7096e3a338ea8089
tree64c4edd1f758736f01f2719bbfe9daf05d75e3b8
parent7f456f6d619af682655b519f7cc9b0c2873c2c03
vhost: return packets to upper layer

This patch makes virtio_dev_merge_tx return the received packets to app layer.
Previously virtio_tx_route was called to route these packets and then free them.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
lib/librte_vhost/vhost_rxtx.c