common/iavf: add IPv6 prefix protocol header fields
[dpdk.git] / drivers / common / mlx5 / linux / mlx5_glue.h
index 069d854..734ace2 100644 (file)
@@ -185,11 +185,11 @@ struct mlx5_glue {
        void *(*dr_create_flow_action_dest_flow_tbl)(void *tbl);
        void *(*dr_create_flow_action_dest_port)(void *domain,
                                                 uint32_t port);
-       void *(*dr_create_flow_action_drop)();
+       void *(*dr_create_flow_action_drop)(void);
        void *(*dr_create_flow_action_push_vlan)
                                        (struct mlx5dv_dr_domain *domain,
                                         rte_be32_t vlan_tag);
-       void *(*dr_create_flow_action_pop_vlan)();
+       void *(*dr_create_flow_action_pop_vlan)(void);
        void *(*dr_create_flow_tbl)(void *domain, uint32_t level);
        int (*dr_destroy_flow_tbl)(void *tbl);
        void *(*dr_create_domain)(struct ibv_context *ctx,
@@ -304,6 +304,11 @@ struct mlx5_glue {
                         struct mlx5dv_devx_async_event_hdr *event_data,
                         size_t event_resp_len);
        void (*dr_reclaim_domain_memory)(void *domain, uint32_t enable);
+       struct mlx5dv_pp *(*dv_alloc_pp)(struct ibv_context *context,
+                                        size_t pp_context_sz,
+                                        const void *pp_context,
+                                        uint32_t flags);
+       void (*dv_free_pp)(struct mlx5dv_pp *pp);
 };
 
 extern const struct mlx5_glue *mlx5_glue;