numam-dpdk/drivers/net/failsafe
Matan Azrad 56b48dc5e3 net/failsafe: fix Rx interrupt reinstallation
Fail-safe dev_start() operation can be called by both the application
and the hot-plug alarm mechanism.

The installation of Rx interrupt are triggered from dev_start() in any
time it is called while actually the Rx interrupt should be installed
only by the application calls.

So, each plug-in event causes reinstallation which causes memory leak
and spoils the fail-safe Rx interrupt mechanism.

Trigger the Rx interrupt installation only when it does not exist.

Fixes: 9e0360aebf ("net/failsafe: register as Rx interrupt mode")

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
2018-02-14 16:32:00 +01:00
..
failsafe_args.c net/failsafe: use SPDX tags in 6WIND copyrighted files 2018-02-01 02:33:04 +01:00
failsafe_eal.c net/failsafe: fix error string after ownership call 2018-02-05 16:29:35 +01:00
failsafe_ether.c net/failsafe: fix hotplug races 2018-02-13 18:17:30 +01:00
failsafe_flow.c net/failsafe: fix hotplug races 2018-02-13 18:17:30 +01:00
failsafe_intr.c net/failsafe: fix Rx interrupt reinstallation 2018-02-14 16:32:00 +01:00
failsafe_ops.c net/failsafe: fix reconfiguration 2018-02-13 18:17:30 +01:00
failsafe_private.h net/failsafe: fix FreeBSD build 2018-02-13 23:21:33 +01:00
failsafe_rxtx.c net/failsafe: use SPDX tags in 6WIND copyrighted files 2018-02-01 02:33:04 +01:00
failsafe.c net/failsafe: fix hotplug races 2018-02-13 18:17:30 +01:00
Makefile net/failsafe: fix hotplug races 2018-02-13 18:17:30 +01:00
rte_pmd_failsafe_version.map net/failsafe: add fail-safe PMD 2017-07-19 16:25:42 +03:00