mlx5: check port is configured as ethernet device