net/mlx5: improve logging of MPRQ selection
authorAlexander Kozyrev <akozyrev@mellanox.com>
Fri, 17 Apr 2020 17:20:39 +0000 (17:20 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 20:28:06 +0000 (22:28 +0200)
commita24431dffb206948de15687e6b49198b5d50fb12
tree30f7862faf431e40fbca2d2506887d00fa412cce
parent6c55b622a95693c6269ef8add75328813ee08e95
net/mlx5: improve logging of MPRQ selection

MPRQ is silently turned off in case there is not enough
Rx queues configured. Improve the logging to show a
warning in this case to notify a user about the Rx burst
function selected.

Fixes: 7d6bf6b866b8 ("net/mlx5: add Multi-Packet Rx support")
Cc: stable@dpdk.org
Signed-off-by: Alexander Kozyrev <akozyrev@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_rxq.c