vhost: remove vDPA available ring relay helper
authorXiao Wang <xiao.w.wang@intel.com>
Wed, 23 Jan 2019 13:02:59 +0000 (21:02 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Feb 2019 18:27:07 +0000 (19:27 +0100)
commitb1721295834b4da3e683e87ec5823b355624ebe2
tree222fc014cf3f80aeb220a97c8c7e3b9268bb626f
parent8b90e4358112b9e41f8eaa1ba14c783570307fea
vhost: remove vDPA available ring relay helper

We don't need to relay available ring and check the desc, vdpa device
can access the available ring in the guest directly. With this patch,
we can achieve better throughput and lower CPU usage.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/ifc/ifcvf_vdpa.c
lib/librte_vhost/rte_vdpa.h
lib/librte_vhost/rte_vhost_version.map
lib/librte_vhost/vdpa.c