examples/vhost: fix packet length
authorOuyang Changchun <changchun.ouyang@intel.com>
Wed, 5 Nov 2014 07:10:33 +0000 (15:10 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 5 Nov 2014 21:20:32 +0000 (22:20 +0100)
As HW vlan strip will reduce the packet length by minus length of vlan tag,
so it need restore the packet length by plus it.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>

No differences found