net/mlx5: support pop flow action on VLAN header
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index f559f83..a18f588 100644 (file)
@@ -515,7 +515,6 @@ struct mlx5_flow_tbl_resource {
 
 #define MLX5_MAX_TABLES 0xffff
 #define MLX5_MAX_TABLES_FDB 0xffff
-#define MLX5_GROUP_FACTOR 1
 
 #define MLX5_DBR_PAGE_SIZE 4096 /* Must be >= 512. */
 #define MLX5_DBR_SIZE 8
@@ -569,7 +568,9 @@ struct mlx5_ibv_shared {
        /* RX Direct Rules tables. */
        void *tx_domain; /* TX Direct Rules name space handle. */
        struct mlx5_flow_tbl_resource tx_tbl[MLX5_MAX_TABLES];
+       /* TX Direct Rules tables. */
        void *esw_drop_action; /* Pointer to DR E-Switch drop action. */
+       void *pop_vlan_action; /* Pointer to DR pop VLAN action. */
        /* TX Direct Rules tables/ */
        LIST_HEAD(matchers, mlx5_flow_dv_matcher) matchers;
        LIST_HEAD(encap_decap, mlx5_flow_dv_encap_decap_resource) encaps_decaps;
@@ -674,6 +675,8 @@ int64_t mlx5_get_dbr(struct rte_eth_dev *dev,
                     struct mlx5_devx_dbr_page **dbr_page);
 int32_t mlx5_release_dbr(struct rte_eth_dev *dev, uint32_t umem_id,
                         uint64_t offset);
+int mlx5_udp_tunnel_port_add(struct rte_eth_dev *dev,
+                             struct rte_eth_udp_tunnel *udp_tunnel);
 
 /* mlx5_ethdev.c */