Re: [dpdk-dev] [PATCH] net/mlx5: fix Rx/Tx descriptors number adjustment

2020-06-15 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alexander Kozyrev > Sent: Thursday, June 11, 2020 8:43 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Raslan Darawsheh ; Matan > Azrad > Subject: [PATCH] net/mlx5: fix Rx/Tx descriptors number adjustment > > The number of descriptors to configure in a Rx/T

[dpdk-dev] [PATCH] net/mlx5: fix Rx/Tx descriptors number adjustment

2020-06-11 Thread Alexander Kozyrev
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