net/mlx5: add getting IB ports number for multiport IB