numam-dpdk/drivers/net
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
..
af_packet use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
ark net/ark: fix call to probing finish function for first port 2018-05-23 00:35:01 +02:00
avf net/avf: fix traffic blocked on reset 2018-05-17 19:06:29 +02:00
avp drivers/net: use higher level of probing helper for PCI 2018-05-14 22:31:53 +01:00
axgbe net/axgbe: fix EEPROM string comparison 2018-05-14 23:32:23 +02:00
bnx2x net/bnx2x: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
bnxt use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
bonding net/bonding: export mode 4 slave info routine 2018-05-23 00:35:01 +02:00
cxgbe net/cxgbevf: fix inter-VM traffic when physical link down 2018-05-23 00:35:01 +02:00
dpaa ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
dpaa2 net/dpaa2: change VLAN strip value to offload flag 2018-05-14 22:32:23 +01:00
e1000 net/e1000: fix build of igb only 2018-05-23 00:35:01 +02:00
ena ethdev: new Rx/Tx offloads API 2018-05-14 22:31:51 +01:00
enic net/enic: fix missing offload capabilities 2018-05-14 22:32:23 +01:00
failsafe use SPDX license tag in Mellanox copyrighted files 2018-05-25 10:33:33 +02:00
fm10k ethdev: new Rx/Tx offloads API 2018-05-14 22:31:51 +01:00
i40e net/i40e: convert to SPDX license tag 2018-05-25 12:32:00 +02:00
ifc net/ifcvf: add ifcvf vDPA driver 2018-04-27 15:54:55 +01:00
ixgbe net/ixgbe: remove unnecessary macro 2018-05-23 00:35:01 +02:00
kni ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
liquidio net/liquidio: fix link state fetching during start 2018-05-23 00:35:01 +02:00
mlx4 net/mlx4: refactor RSS conversion functions 2018-05-23 00:35:01 +02:00
mlx5 net/mlx5: fix generic tunnel offload compatibility check 2018-05-25 17:07:40 +02:00
mvpp2 ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
nfp net/nfp: fix lock file usage 2018-05-25 17:07:40 +02:00
null ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
octeontx ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
pcap ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
qede net/qede: fix slow path completion timeout 2018-05-25 17:07:40 +02:00
ring ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
sfc net/sfc: fix errno if flow API RSS action parse fails 2018-05-17 19:44:23 +02:00
softnic ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
szedata2 ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
tap net/tap: fix keep-alive queue not detached 2018-05-25 17:07:40 +02:00
thunderx ethdev: new Rx/Tx offloads API 2018-05-14 22:31:51 +01:00
vdev_netvsc net/vdev_netvsc: fix automatic probing 2018-05-23 00:35:01 +02:00
vhost net/vhost: convert to new Rx/Tx offload API 2018-05-23 00:35:01 +02:00
virtio net/virtio-user: fix crash in server mode 2018-05-25 17:07:40 +02:00
vmxnet3 ethdev: new Rx/Tx offloads API 2018-05-14 22:31:51 +01:00
Makefile net/ifcvf: add ifcvf vDPA driver 2018-04-27 15:54:55 +01:00
meson.build net/mvpp2: add to meson build 2018-04-19 14:10:44 +02:00