examples/vhost: fix vlan offload
authorOuyang Changchun <changchun.ouyang@intel.com>
Fri, 12 Dec 2014 04:15:26 +0000 (12:15 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 17 Dec 2014 23:26:09 +0000 (00:26 +0100)
commitf0adccd4dc39ef7c22d8657a62a9eb11eeb41521
treed4fcee6ff6a0779246abb5f5aa6b1048c2cb8d37
parentb68bc0b83a98e968c2a2cd8ae68b7bc0b6beec6d
examples/vhost: fix vlan offload

The following commit break vm2vm hard mode test cases:
commit db4014f2b65cb31bf ("use factorized default Rx/Tx configuration")

Investigation show that it needs enabling vlan offload since it is turn off
by default in some drivers, and Tx need it, especially when vm2vm is in hard mode.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Tested-by: Jingguo Fu <jingguox.fu@intel.com>
examples/vhost/main.c