vhost: remove unnecessary descriptor length updates
authorOuyang Changchun <changchun.ouyang@intel.com>
Tue, 9 Jun 2015 01:03:04 +0000 (09:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 17 Jun 2015 14:56:24 +0000 (16:56 +0200)
commit5dc985ec1d5e5a63c23c703ef28bdbf1efac96a2
treebf4ed6a2e2b5b191986e42787e593328b79151ba
parent2927c37ca4e04067de4b1de9a5c535092036ed68
vhost: remove unnecessary descriptor length updates

Remove these unnecessary vring descriptor length updating, vhost should
not change them.
virtio in front end should assign value to desc.len for both rx and tx.

Test report: http://dpdk.org/ml/archives/dev/2015-June/018610.html

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