numam-dpdk/drivers/net
Keith Wiles 0002ca582d net/tap: fix invalid queue file descriptor
Rx and Tx queues share the common tap file descriptor, but save this
value separately.

Setting up Rx/Tx queue sets up both queues, release_queue close the
tap file but update file descriptor only for that queue.

This makes other queue's file descriptor invalid.

As a workaround, prevent release_queue callback to be called by default.

This is done by separating Rx/Tx setup functions, so that each only
setup its own queue, this prevents rte_eth_rx/tx_queue_setup() calling
release_queue before setup_queue.

Fixes: 02f96a0a82 ("net/tap: add TUN/TAP device PMD")

Signed-off-by: Keith Wiles <keith.wiles@intel.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-01-30 22:18:27 +01:00
..
af_packet net/af_packet: support 802.1Q VLAN 2017-01-17 19:41:43 +01:00
bnx2x drivers/net: remove redundant new line from logs 2017-01-30 22:18:27 +01:00
bnxt drivers/net: make PCI device id struct const 2017-01-30 22:18:26 +01:00
bonding net/bonding: remove useless assignment 2017-01-30 22:18:26 +01:00
cxgbe drivers/net: make PCI device id struct const 2017-01-30 22:18:26 +01:00
e1000 drivers/net: remove redundant new line from logs 2017-01-30 22:18:27 +01:00
ena drivers/net: remove redundant new line from logs 2017-01-30 22:18:27 +01:00
enic net/enic: fix MAC address add and remove 2017-01-30 22:18:26 +01:00
fm10k net/fm10k: use I/O device memory read/write API 2017-01-18 17:18:26 +01:00
i40e drivers/net: remove redundant new line from logs 2017-01-30 22:18:27 +01:00
ixgbe drivers/net: remove redundant new line from logs 2017-01-30 22:18:27 +01:00
mlx4 net/mlx: fix IPv4 and IPv6 packet type 2017-01-17 19:41:43 +01:00
mlx5 net/mlx5: fix flow pattern validation 2017-01-30 22:18:27 +01:00
mpipe net: align ethdev and eal driver names 2017-01-17 19:36:47 +01:00
nfp drivers/net: remove redundant new line from logs 2017-01-30 22:18:27 +01:00
null net: align ethdev and eal driver names 2017-01-17 19:36:47 +01:00
pcap net/pcap: fix timestamps in output pcap file 2017-01-17 19:40:51 +01:00
qede drivers/net: remove redundant new line from logs 2017-01-30 22:18:27 +01:00
ring net: align ethdev and eal driver names 2017-01-17 19:36:47 +01:00
sfc drivers/net: remove redundant new line from logs 2017-01-30 22:18:27 +01:00
szedata2 net/szedata2: fix device memory access 2017-01-30 22:18:26 +01:00
tap net/tap: fix invalid queue file descriptor 2017-01-30 22:18:27 +01:00
thunderx net/thunderx: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
vhost net/vhost: fix unix socket not removed as closing 2017-01-30 14:19:48 +01:00
virtio drivers/net: remove redundant new line from logs 2017-01-30 22:18:27 +01:00
vmxnet3 net/vmxnet3: use I/O device memory read/write API 2017-01-18 17:18:27 +01:00
xenvirt net: align ethdev and eal driver names 2017-01-17 19:36:47 +01:00
Makefile net/tap: add TUN/TAP device PMD 2017-01-17 19:40:50 +01:00