examples/vhost: adapt Tx routing to lib
authorHuawei Xie <huawei.xie@intel.com>
Mon, 20 Oct 2014 04:38:19 +0000 (12:38 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 23 Oct 2014 11:07:03 +0000 (13:07 +0200)
The packet passed to virtio_tx_route has been allocated
mbuf, so there is no need to allocate mbuf for it.
Use vlan offload to transmit vlan tagged packet.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
[Thomas: remove useless mbuf pool]


No differences found