Searched refs:enabled_ports_num (Results 1 – 1 of 1) sorted by relevance
320 int enabled_ports_num = 0; in mlx5_infer_tx_affinity_mapping() local329 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()