Wei Huang 2479a1e9a8 raw/ifpga: fix monitor thread
Monitor thread handles graceful shutdown according to the value of
specific sensors in device, two issues are found below.
1. Thread is not created when card is probed.
2. Thread is canceled without checking presence of other cards.
To fix them, thread is created in pci device probe function, a reference
count is checked before canceling the thread.

Fixes: 9c006c45 ("raw/ifpga: scan PCIe BDF device tree")
Cc: stable@dpdk.org

Signed-off-by: Wei Huang <wei.huang@intel.com>
Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
2022-03-07 23:34:25 +01:00
..
2022-03-07 22:42:36 +01:00
2022-03-04 12:35:51 +01:00
2022-03-07 23:34:25 +01:00
2022-02-27 21:26:06 +01:00