Go to file
Jianfeng Tan ca8326a943 net/virtio_user: fix error management during init
Currently, when virtio_user device fails to be started (e.g., vhost
unix socket does not exit), the init function does not return struct
rte_eth_dev (and some other structs) back to ether layer. And what's
more, it does not report the error to upper layer.

The fix is to free those structs and report error when failing to
start virtio_user devices.

Fixes: ce2eabdd43 ("net/virtio-user: add virtual device")

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-09-28 02:18:39 +02:00
app pci: create device list and fallback on its members 2016-10-03 16:34:03 +02:00
buildtools pmdinfogen: fix clang build 2016-10-04 11:50:56 +02:00
config vhost: remove vhost-cuse 2016-09-13 05:25:08 +02:00
doc vhost: support indirect Tx descriptors 2016-09-28 02:18:33 +02:00
drivers net/virtio_user: fix error management during init 2016-09-28 02:18:39 +02:00
examples examples/vhost: remove VLAN strip option 2016-09-13 05:25:08 +02:00
lib vhost: support indirect Tx descriptors 2016-09-28 02:18:33 +02:00
mk vhost: remove vhost-cuse 2016-09-13 05:25:08 +02:00
pkg version: 16.07.0 2016-07-28 20:48:41 +02:00
scripts scripts: disable optimization for ABI validation 2016-09-15 14:51:48 +02:00
tools tools: fix virtio interface name when binding 2016-09-27 08:08:31 +02:00
.gitignore doc: generate NIC overview table from ini files 2016-08-03 18:42:17 +02:00
GNUmakefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS maintainers: claim responsability for crypto subtree 2016-09-16 10:16:02 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org