numam-dpdk/drivers
Matan Azrad 9ab9d46ab9 net/mlx5: fix Tx queue release
The HW objects of the Tx queue is created/destroyed in the device
start\stop stage while the ethdev configurations for the Tx queue
starts from the tx_queue_setup stage.
The PMD should save all the last configurations it got from the ethdev
and to apply them to the device in the dev_start operation.

Wrongly, last code added to mitigate the reference counters didn't take
into account the above rule and combined the configurations and HW
objects to be created\destroyed together.

This causes to memory leak and other memory issues.

Make sure the HW object is released in stop operation when there is no
any reference to it while the configurations stay saved.

Fixes: 17a57183c0 ("net/mlx5: mitigate Tx queue reference counters")

Signed-off-by: Matan Azrad <matan@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2020-11-03 22:29:24 +01:00
..
baseband baseband/acc100: remove useless checks 2020-11-02 09:24:40 +01:00
bus bus/fslmc: switch sequence number to dynamic mbuf field 2020-10-31 22:14:37 +01:00
common common/qat: add missing kmod dependency info 2020-11-02 09:24:41 +01:00
compress build: replace use of old build macros 2020-10-19 22:15:44 +02:00
crypto crypto/aesni_mb: support Chacha-Poly in synchronous mode 2020-11-02 09:24:41 +01:00
event event/dlb: add timeout ticks entry point 2020-11-02 14:46:02 +01:00
mempool bus/fslmc: switch sequence number to dynamic mbuf field 2020-10-31 22:14:37 +01:00
net net/mlx5: fix Tx queue release 2020-11-03 22:29:24 +01:00
raw raw/ioat: fix work-queue config size 2020-10-30 16:01:45 +01:00
regex regex/octeontx2: fix driver name 2020-11-03 11:47:44 +01:00
vdpa build: replace use of old build macros 2020-10-19 22:15:44 +02:00
meson.build drivers: add headers install helper 2020-10-22 14:16:22 +02:00