Searched refs:enabled_ports_num (Results 1 – 1 of 1) sorted by relevance
322 int enabled_ports_num = 0; in mlx5_infer_tx_affinity_mapping() local331 enabled[enabled_ports_num++] = i; in mlx5_infer_tx_affinity_mapping()346 if (enabled_ports_num == num_ports || in mlx5_infer_tx_affinity_mapping()354 ports[disabled[i] * buckets + j] = enabled[rand % enabled_ports_num] + 1; in mlx5_infer_tx_affinity_mapping()