net/vhost: do not clear offload flags in Rx
authorTiwei Bie <tiwei.bie@intel.com>
Thu, 10 May 2018 07:04:14 +0000 (15:04 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 17 May 2018 10:29:05 +0000 (12:29 +0200)
commit0b94bc568f1931a93883d6c79441e5a15f02ffec
treeb257e926bdfa56f38bbd222b346ef099cf7cd4a7
parent3c79609fda7cba51835c5f76e1bf4a454c653ff2
net/vhost: do not clear offload flags in Rx

The ol_flags of mbufs returned by rte_vhost_dequeue_burst()
contain necessary offload information. It can't be zeroed.

Fixes: f63d356ee993 ("net/vhost: insert/strip VLAN header in software")
Cc: stable@dpdk.org
Reported-by: Lei Yao <lei.a.yao@intel.com>
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/vhost/rte_eth_vhost.c