numam-dpdk/drivers/net
Matan Azrad 64f1a631d0 net/failsafe: fix hotplug alarm cancel
The hot-plug alarm mechanism of fail-safe PMD is responsible for
handling removed devices during a plug-out event and to restore them
back to activity following a plug-in event.

Fail-safe sets a flag called "pending_alarm" to validate that only one
alarm callback is pending at any time. While this flag is required to
avoid simultaneous initiations of the alarm thread - it should not be
considered during alarm thread cancellation.

So, when failsafe_hotplug_alarm_cancel() was called while the alarm
callback was being executed the alarm mechanism was not stopped.

Skip checking the "pending_alarm" flag to allow alarm thread
cancellation all the times.

Fixes: ebea83f899 ("net/failsafe: add plug-in support")
Cc: stable@dpdk.org

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
2018-02-13 18:17:30 +01:00
..
af_packet net/af_packet: use SPDX tags in 6WIND copyrighted files 2018-02-01 02:33:04 +01:00
ark ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
avf net/avf: fix uninitialized variables 2018-01-31 20:57:29 +01:00
avp net/avp: align dynamic log names with standard 2018-01-31 09:28:06 +01:00
bnx2x ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
bnxt net/bnxt: fix packet type 2018-02-08 18:42:14 +01:00
bonding net/bonding: check error of MAC address setting 2018-02-05 16:51:51 +01:00
cxgbe ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
dpaa net/dpaa: further push mode optimizations 2018-01-31 13:44:56 +01:00
dpaa2 net/dpaa2: remove unused global variable 2018-02-13 16:42:11 +01:00
e1000 net/e1000: align dynamic log names with standard 2018-01-31 09:28:06 +01:00
ena net/ena: fix jumbo support in Rx offloads flags 2018-02-05 16:46:01 +01:00
enic net/enic: align dynamic log names with standard 2018-01-31 09:28:06 +01:00
failsafe net/failsafe: fix hotplug alarm cancel 2018-02-13 18:17:30 +01:00
fm10k net/fm10k: align dynamic log names with standard 2018-01-31 09:28:06 +01:00
i40e net/i40e: check multi-driver option parsing 2018-02-08 18:42:14 +01:00
ixgbe net/ixgbe: fix CRC stripping capability 2018-02-08 13:14:30 +01:00
kni ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
liquidio net/liquidio: align dynamic log names with standard 2018-01-31 09:28:06 +01:00
mlx4 net/mlx4: add CRC stripping capability 2018-02-08 18:42:14 +01:00
mlx5 net/mlx5: add log on flow creation error 2018-02-13 18:17:30 +01:00
mrvl net/mrvl: fix mbuf to bpool lookup 2018-01-29 10:04:28 +01:00
nfp net/nfp: align dynamic log names with standard 2018-01-31 09:28:06 +01:00
null net/null: add MAC address setting fake operation 2018-02-05 15:46:26 +01:00
octeontx net/octeontx: register fpa as platform HW mempool 2018-02-05 19:56:04 +01:00
pcap net/pcap: fix cross compilation with meson 2018-01-30 21:58:59 +01:00
qede net/qede: fix tunnel parameters init 2018-02-08 18:42:14 +01:00
ring build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
sfc net/sfc: support meson build 2018-02-05 14:51:38 +01:00
softnic ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
szedata2 ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
tap net/tap: add CRC stripping capability 2018-02-13 18:17:30 +01:00
thunderx net/thunderx: align dynamic log names with standard 2018-01-31 09:28:06 +01:00
vdev_netvsc net/vdev_netvsc: fix device detection error check 2018-02-05 19:56:04 +01:00
vhost ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio net/virtio-user: check error on clearing non block flag 2018-02-06 22:09:17 +01:00
vmxnet3 net/vmxnet3: align dynamic log names with standard 2018-01-31 09:28:06 +01:00
Makefile net/vdev_netvsc: introduce Hyper-V platform driver 2018-01-21 15:51:52 +01:00
meson.build net/sfc: support meson build 2018-02-05 14:51:38 +01:00