commit | 1cdc14e9d134a48d86673fd75a6abcbe0e58a29c | [log] [tgz] |
---|---|---|
author | Erez Alfasi <ereza@mellanox.com> | Mon Sep 16 14:34:55 2019 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Nov 01 14:55:17 2019 -0700 |
tree | 7e771f9af2714f043dcf9182f1a1254557a46c82 | |
parent | 84d2dbb0aaaf1098aa2c2ca07003bf3f973732ac [diff] |
net/mlx5: LAG, Use affinity type enumerators Instead of using explicit indexes, simply use affinity type enumerators to make the code more readable. Fixes: 544fe7c2e654 ("net/mlx5e: Activate HW multipath and handle port affinity based on FIB events") Signed-off-by: Erez Alfasi <ereza@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>