Hi mlx5 driver expert,

DPDK: 17.11
Any reason mlx5 driver change the rate table size dynamically based on the rx- 
queues# ?
There is a hidden assumption that the user wants to distribute the packets 
evenly which is not always correct.

/* If the requested number of RX queues is not a power of two, use the
          * maximum indirection table size for better balancing.
          * The result is always rounded to the next power of two. */
          reta_idx_n = (1 << log2above((rxqs_n & (rxqs_n - 1)) ?
                                           priv->ind_table_max_size :
                                           rxqs_n));

thanks,
Hanoh

Reply via email to