net/mlx5e: Use IP version matching to classify IP traffic