Skip to content
Commit 1cdc14e9 authored by Erez Alfasi's avatar Erez Alfasi Committed by Saeed Mahameed
Browse files

net/mlx5: LAG, Use affinity type enumerators



Instead of using explicit indexes, simply use affinity
type enumerators to make the code more readable.

Fixes: 544fe7c2 ("net/mlx5e: Activate HW multipath and handle port affinity based on FIB events")
Signed-off-by: default avatarErez Alfasi <ereza@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 84d2dbb0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment