commit | 84d2dbb0aaaf1098aa2c2ca07003bf3f973732ac | [log] [tgz] |
---|---|---|
author | Erez Alfasi <ereza@mellanox.com> | Mon Sep 16 13:59:58 2019 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Nov 01 14:55:17 2019 -0700 |
tree | d9a288758cb4bd32d0d2ac7afc9b445ec917bc5f | |
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>