net/ice: fix build when Rx descriptor size is 16
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index d74ac19..68acc01 100644 (file)
@@ -251,7 +251,7 @@ struct mlx5_dev_config {
        unsigned int hw_padding:1; /* End alignment padding is supported. */
        unsigned int vf:1; /* This is a VF. */
        unsigned int sf:1; /* This is a SF. */
-       unsigned int tunnel_en:1;
+       unsigned int tunnel_en:3;
        /* Whether tunnel stateless offloads are supported. */
        unsigned int mpls_en:1; /* MPLS over GRE/UDP is enabled. */
        unsigned int cqe_comp:1; /* CQE compression is enabled. */
@@ -1829,5 +1829,9 @@ int mlx5_aso_ct_query_by_wqe(struct mlx5_dev_ctx_shared *sh,
                             struct rte_flow_action_conntrack *profile);
 int mlx5_aso_ct_available(struct mlx5_dev_ctx_shared *sh,
                          struct mlx5_aso_ct_action *ct);
+uint32_t
+mlx5_get_supported_sw_parsing_offloads(const struct mlx5_hca_attr *attr);
+uint32_t
+mlx5_get_supported_tunneling_offloads(const struct mlx5_hca_attr *attr);
 
 #endif /* RTE_PMD_MLX5_H_ */