diff options
author | Erez Alfasi <ereza@mellanox.com> | 2019-09-16 13:59:58 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-11-01 14:55:17 -0700 |
commit | 84d2dbb0aaaf1098aa2c2ca07003bf3f973732ac (patch) | |
tree | d9a288758cb4bd32d0d2ac7afc9b445ec917bc5f /drivers/dma/sa11x0-dma.c | |
parent | 5a212e0cac548e5e4fb3f2ba1b5b2f6c8949687d (diff) |
net/mlx5: LAG, Use port enumerators
Instead of using explicit array indexes, simply use
ports enumerators to make the code more readable.
Fixes: 7907f23adc18 ("net/mlx5: Implement RoCE LAG feature")
Signed-off-by: Erez Alfasi <ereza@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/dma/sa11x0-dma.c')
0 files changed, 0 insertions, 0 deletions