numam-dpdk/drivers
Matan Azrad 2324206337 net/mlx5: fix DevX event registration timing
The DevX counter management triggers an asynchronous event to get back
the new counters values from the HW.

The counter management doesn't trigger 2 parallel events for the same
pool, hence, the pool cannot be updated again in the event waiting time.

When the port is stopped, the DevX event mechanism wrongly was
destroyed what remained all the waiting pools in waiting state forever.

As a result, the counters of the stuck pools were never updated again.

Separate the DevX interrupt installation from the dev installation and
remove the DevX interrupt unregistration\registration from the
stop\start operations.

Now, the DevX interrupt should be installed in probe and uninstalled in
close.

Cc: stable@dpdk.org
Fixes: f15db67df0 ("net/mlx5: accelerate DV flow counter query")

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2019-10-23 16:43:10 +02:00
..
baseband baseband/fpga_lte_fec: fix polling of MMIO register 2019-10-23 16:57:06 +02:00
bus common/dpaax: move OF library from DPAA bus 2019-10-23 16:43:08 +02:00
common common/octeontx2: upgrade mbox definition to version 2 2019-10-23 16:43:10 +02:00
compress compress/qat: catch overflow for stateless compression 2019-10-23 16:57:06 +02:00
crypto common/dpaax: move OF library from DPAA bus 2019-10-23 16:43:08 +02:00
event common/dpaax: move OF library from DPAA bus 2019-10-23 16:43:08 +02:00
mempool common/dpaax: move OF library from DPAA bus 2019-10-23 16:43:08 +02:00
net net/mlx5: fix DevX event registration timing 2019-10-23 16:43:10 +02:00
raw common/dpaax: move OF library from DPAA bus 2019-10-23 16:43:08 +02:00
Makefile
meson.build build: fix compatibility with meson 0.47 2019-10-25 09:45:51 +02:00