numam-dpdk/drivers/net/mlx4
Moti Haimovsky fc1b5ec522 net/mlx4: fix removal detection of stopped port
In failsafe device start can be called for ports/devices that
had been plugged out.
The mlx4 PMD detects device removal by listening to the device RMV
events, when the mlx4 port is being stopped, the PMD no longer
listens to these events causing the PMD to stop detecting device
removals.
This patch fixes this issue by moving installation of the interrupt
handler to device configuration, and toggle only the Rx-queue
interrupts on start/stop.

Fixes: a6e8b01c3c ("net/mlx4: compact interrupt functions")
Cc: stable@dpdk.org

Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2018-01-30 10:20:35 +01:00
..
Makefile net/mlx4: revert workaround for broken Verbs 2018-01-16 18:47:49 +01:00
mlx4_ethdev.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
mlx4_flow.c net/mlx4: fix broadcast Rx 2018-01-29 10:45:20 +01:00
mlx4_flow.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
mlx4_intr.c net/mlx4: fix removal detection of stopped port 2018-01-30 10:20:35 +01:00
mlx4_mr.c net/mlx4: share memory region resources 2017-11-03 21:30:41 +01:00
mlx4_prm.h net/mlx4: verify Tx max sges 2018-01-16 18:47:49 +01:00
mlx4_rxq.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
mlx4_rxtx.c net/mlx4: remove Tx completion elements counter 2018-01-16 18:47:49 +01:00
mlx4_rxtx.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
mlx4_txq.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
mlx4_utils.c net/mlx4: add iovec-like allocation wrappers 2017-10-13 01:18:48 +01:00
mlx4_utils.h net/mlx4: revert workaround for broken Verbs 2018-01-16 18:47:49 +01:00
mlx4.c net/mlx4: fix removal detection of stopped port 2018-01-30 10:20:35 +01:00
mlx4.h net/mlx4: fix removal detection of stopped port 2018-01-30 10:20:35 +01:00
rte_pmd_mlx4_version.map mlx4: move to drivers/net/ 2015-05-22 16:06:22 +02:00