net/mlx5: modify get ifindex routine for multiport IB