Go to file
Tiwei Bie bad78b4b8b net/virtio-user: fix multiqueue with vhost kernel
The multiqueue support in virtio-user with vhost kernel backend
is broken when tap name isn't specified by users explicitly,
because the tap name returned by ioctl(TUNSETIFF) isn't saved
properly, and multiple tap interfaces will be created in this
case. Fix this by saving the dynamically allocated tap name
first before reusing the ifr structure. Besides, also make it
possible to support the format string in tap name (e.g. foo%d)
specified by users explicitly.

Fixes: 791b43e088 ("net/virtio-user: specify MAC of the tap")
Cc: stable@dpdk.org

Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
2019-03-20 18:15:42 +01:00
app app/testpmd: fix a typo in log message 2019-03-20 18:15:42 +01:00
buildtools config: add static linkage of mlx dependency 2019-01-14 17:44:29 +01:00
config mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
devtools devtools: fix meson build test to exit on failure 2019-03-13 11:09:55 +01:00
doc app/testpmd: optimize MAC swap for Arm 2019-03-20 18:15:42 +01:00
drivers net/virtio-user: fix multiqueue with vhost kernel 2019-03-20 18:15:42 +01:00
examples examples/ethtool: remove query of default config 2019-03-20 18:15:42 +01:00
kernel build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
lib vhost: prevent disabled rings to be processed with zero-copy 2019-03-20 18:15:42 +01:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
usertools mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore git: ignore build directories 2019-03-13 11:57:05 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS eal/linux: rename linuxapp to linux 2019-03-12 17:31:13 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: use integers for numerical options 2019-02-27 12:28:03 +01:00
meson.build build: bump minimum Meson version to 0.47.1 2019-02-27 12:12:27 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +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-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 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