numam-dpdk/drivers/net/virtio
Tiwei Bie 47ac9661b6 net/virtio-user: do not close tap when disabling queue pairs
Do not close the tap fds when disabling queue pairs, instead,
we just need to unbind the backend. Otherwise, tap port can be
destroyed unexpectedly.

Fixes: e3b434818b ("net/virtio-user: support kernel vhost")
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>
2020-01-17 19:46:26 +01:00
..
virtio_user net/virtio-user: do not close tap when disabling queue pairs 2020-01-17 19:46:26 +01:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build net/virtio: add Altivec Rx 2019-10-07 15:00:53 +02:00
rte_pmd_virtio_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
virtio_ethdev.c net/virtio: do not limit packed ring size 2019-11-08 23:15:05 +01:00
virtio_ethdev.h net/virtio: remove remaining simple Tx related stuff 2019-09-06 17:32:42 +02:00
virtio_logs.h net/virtio: implement dynamic logging 2018-01-16 18:47:49 +01:00
virtio_pci.c net/virtio: unmap device on initialization error 2019-06-20 23:42:04 +02:00
virtio_pci.h net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
virtio_ring.h net/virtio: define avail and used flags as constants 2019-03-29 17:25:32 +01:00
virtio_rxtx_simple_altivec.c net/virtio: fix Rx AltiVec path by getting all packets 2019-10-23 16:43:09 +02:00
virtio_rxtx_simple_neon.c net/virtio: get all pending Rx packets in vectorized paths 2019-10-07 15:00:57 +02:00
virtio_rxtx_simple_sse.c net/virtio: get all pending Rx packets in vectorized paths 2019-10-07 15:00:57 +02:00
virtio_rxtx_simple.c eal: add macro for attribute weak 2018-10-25 02:11:23 +02:00
virtio_rxtx_simple.h net/virtio: refactor virtqueue structure 2019-03-20 18:15:42 +01:00
virtio_rxtx.c net/virtio: fix Tx checksum offloads 2019-10-25 19:23:23 +02:00
virtio_rxtx.h net/virtio: fix Rx stats with vectorized functions 2019-10-07 15:00:57 +02:00
virtio_user_ethdev.c net/virtio_user: remove redundant declaration 2019-07-23 14:31:35 +02:00
virtqueue.c net/virtio: drop redundant suffix in packed ring structure 2019-03-20 18:15:42 +01:00
virtqueue.h net/virtio: improve perf via one-way barriers on used flag 2019-10-23 16:43:09 +02:00