Home
last modified time | relevance | path

Searched refs:enabled_ports_num (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c320 int enabled_ports_num = 0; in mlx5_infer_tx_affinity_mapping() local
329 enabled[enabled_ports_num++] = i; in mlx5_infer_tx_affinity_mapping()
344 if (enabled_ports_num == num_ports || in mlx5_infer_tx_affinity_mapping()
352 ports[disabled[i] * buckets + j] = enabled[rand % enabled_ports_num] + 1; in mlx5_infer_tx_affinity_mapping()