]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50ea444eb0d623c467245452bf35fbedd43fa99c
treec444c82d215c454eed10a98f7057878885bb3671
parentc5e593f13cf751d26fd3d561fa6210191c5f23b7
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