mlx5_sd_primary_get_peer
return mlx5_sd_primary_get_peer(primary, mdev_idx);
struct mlx5_core_dev *mlx5_sd_primary_get_peer(struct mlx5_core_dev *primary, int idx);
(pos = mlx5_sd_primary_get_peer(primary, i)) && pos != (to); i++)