vhost: comment identified issues
authorHuawei Xie <huawei.xie@intel.com>
Wed, 8 Oct 2014 18:54:58 +0000 (02:54 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Oct 2014 17:16:54 +0000 (19:16 +0200)
commit22c668d4946f5d369cc40645a0c4ae4c73532693
treec0b74c312a222dd1d388f7775b2f91ef6ed03b76
parent60ddca76540a46ad6414f8af3d0ab522be5ad74c
vhost: comment identified issues

1) FIXME: concurrent calls to vhost set mem table from different guests
could cause mem_temp to be overrided.
2) TODO: cmpset cost quite some cpu cyles. Allow app to disable this
feature if there is no contention in real workload.
3) FIXME: fix scatter gather mbuf copy to vhost vring chained buffers.

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