]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use #define for the WQE wait timeout constant
authorMaxim Mikityanskiy <maximmi@mellanox.com>
Tue, 5 Mar 2019 12:46:16 +0000 (14:46 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 23 Apr 2019 19:09:22 +0000 (12:09 -0700)
commit682ace392a95325a7ec3ed19f9ba788f4eb2a09e
tree8502f18f1f26da8e6a6cbffde5598b0fc34bc753
parentbdff648be35e8531dff4d4c6b97000acf0862c20
net/mlx5e: Use #define for the WQE wait timeout constant

Create a #define for the timeout of mlx5e_wait_for_min_rx_wqes to
clarify the meaning of a magic number.

Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c