net/mlx5e: Report all channels with min RX WQEs timeout
authorEran Ben Elisha <eranbe@mellanox.com>
Wed, 28 Mar 2018 10:26:50 +0000 (13:26 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 14 May 2018 22:10:21 +0000 (15:10 -0700)
commit1e7477ae8bbeadfa90064d6bedc421b12bc2d43d
treec444c82d215c454eed10a98f7057878885bb3671
parent38aa51c134b56b7ea61bea79b428c5fbcd95f285
net/mlx5e: Report all channels with min RX WQEs timeout

Report all channels which got timeout on posting the minimal number of
RX WQEs and not only the first one. Avoid busy wait on every channel,
when one of the RQs check got timeout, poll once for the remaining RQs.

In addition, add channel index to log when failed to get min RX WQEs
This info is needed in order to debug in case of dysfunctional channel.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c