vhost: introduce new function helper
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Wed, 13 Jun 2018 11:54:18 +0000 (04:54 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 15 Jun 2018 10:27:25 +0000 (12:27 +0200)
commit2396806765e4b797dd30bc265126c2bbc1a879cc
tree8e017c122a10153dd8b62a1504adf56bf4b6f9cf
parent973bd0c1da3c1c480bf80bebe4c343c3d1e6b68e
vhost: introduce new function helper

Introduce an new common helper to avoid redundancy.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/vhost.c
lib/librte_vhost/vhost.h
lib/librte_vhost/vhost_user.c