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)
commitf8ebecf2e32a62137dc5a98b2c94b1db37a0f9f8
tree8502f18f1f26da8e6a6cbffde5598b0fc34bc753
parent03ceda6fe1f7ef92e7a652ea623495e73fe6967a
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