numam-dpdk/drivers/net/vhost
Yunjian Wang f04513bc89 net/vhost: check creation failure
The function eth_dev_vhost_create() could return errors,
the return value need to be checked.

Fixes: ee584e9710 ("vhost: add driver on top of the library")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
2020-01-17 19:46:02 +01:00
..
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build build: remove individual library versions 2019-11-20 23:05:39 +01:00
rte_eth_vhost.c net/vhost: check creation failure 2020-01-17 19:46:02 +01:00
rte_eth_vhost.h net/vhost: update license to SPDX format 2018-04-27 15:54:56 +01:00
rte_pmd_vhost_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00