Alexander Kozyrev e891b54a9e net/mlx5: fix descriptors number adjustment
The number of descriptors to configure in a Rx/Tx queue is passed to
the mlx5_tx/rx_queue_pre_setup() function by value. That means any
adjustments of this variable are local and cannot affect the actual
value that is used to allocate mbufs in the mlx5_txq/rxq_new()
functions. Pass the number as a reference to actually update it.

Fixes: 6218063b39a6 ("net/mlx5: refactor Rx data path")
Fixes: 1d88ba171942 ("net/mlx5: refactor Tx data path")
Cc: stable@dpdk.org

Signed-off-by: Alexander Kozyrev <akozyrev@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2020-06-16 19:21:07 +02:00
..
2020-02-14 12:42:12 +01:00
2020-04-16 18:16:46 +02:00
2020-04-16 18:16:46 +02:00
2020-05-28 17:57:07 +02:00
2020-04-16 18:30:58 +02:00
2020-04-25 19:53:47 +02:00
2020-05-19 15:49:53 +02:00
2020-05-19 15:49:53 +02:00
2020-04-16 18:30:58 +02:00
2020-04-16 18:30:58 +02:00
2020-06-05 13:10:19 +02:00
2020-05-28 17:57:07 +02:00
2020-06-02 12:46:44 +02:00
2020-05-18 20:35:57 +02:00
2020-04-21 13:57:08 +02:00
2020-05-21 15:41:48 +02:00
2020-04-21 13:57:07 +02:00
2020-04-25 19:53:47 +02:00
2020-05-11 22:27:39 +02:00
2020-04-21 13:57:07 +02:00
2020-04-21 13:57:07 +02:00