numam-dpdk/drivers
Ophir Munk 42ec78eaeb net/tap: fix keep-alive queue not detached
The TAP keep-alive queue was created in order to keep the TAP device
in Linux even in case all of its Rx/Tx queues are released (in Linux
terminology: even in case all of the TAP device file descriptors are
closed), however, the keep-alive queue itself is attached to the TAP
device like all other Rx/Tx queues and therefore the kernel will
enqueue to it some Rx packets based on the kernel RSS distribution
rules. Those packets are unknown to the application and will remain
lost in the keep-alive queue.
All queues are attached by default to the TAP device after they are
created though TUNSETIFF ioctl call.
The fix is to detach the keep-alive queue after its creation through
TUNSETQUEUE ioctl call.

Fixes: 3101191c63 ("net/tap: fix device removal when no queue exist")
Cc: stable@dpdk.org

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
2018-05-25 17:07:40 +02:00
..
baseband bbdev: change names of baseband devices 2018-05-10 17:46:20 +01:00
bus use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
common
compress compress/isal: add ISA-L decomp functionality 2018-05-10 17:46:20 +01:00
crypto cryptodev: rename functions to get session size 2018-05-22 16:36:12 +02:00
event eventdev: add driver interface of crypto adapter 2018-05-10 14:07:37 +02:00
mempool mempool/bucket: add to meson build 2018-05-21 12:00:09 +02:00
net net/tap: fix keep-alive queue not detached 2018-05-25 17:07:40 +02:00
raw raw/ifpga/base: fix an error return 2018-05-21 16:13:06 +02:00
Makefile compress/isal: add skeleton ISA-L compression PMD 2018-05-10 17:46:20 +01:00
meson.build compress/isal: add skeleton ISA-L compression PMD 2018-05-10 17:46:20 +01:00