Home
last modified time | relevance | path

Searched refs:matcher (Results 1 – 15 of 15) sorted by relevance

/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_flow_os.h75 mlx5_flow_os_create_flow(void *matcher, void *match_value, in mlx5_flow_os_create_flow() argument
78 *flow = mlx5_glue->dv_create_flow(matcher, match_value, in mlx5_flow_os_create_flow()
150 void **matcher) in mlx5_flow_os_create_flow_matcher() argument
152 *matcher = mlx5_glue->dv_create_flow_matcher(ctx, attr, table); in mlx5_flow_os_create_flow_matcher()
153 return (*matcher) ? 0 : -1; in mlx5_flow_os_create_flow_matcher()
166 mlx5_flow_os_destroy_flow_matcher(void *matcher) in mlx5_flow_os_destroy_flow_matcher() argument
168 return mlx5_glue->dv_destroy_flow_matcher(matcher); in mlx5_flow_os_destroy_flow_matcher()
H A Dmlx5_os.c405 void *matcher; in __mlx5_discovery_misc5_cap() local
448 matcher = mlx5_glue->dv_create_flow_matcher(priv->sh->cdev->ctx, in __mlx5_discovery_misc5_cap()
450 if (matcher) { in __mlx5_discovery_misc5_cap()
452 mlx5_glue->dv_destroy_flow_matcher(matcher); in __mlx5_discovery_misc5_cap()
/dpdk/drivers/net/mlx5/windows/
H A Dmlx5_flow_os.c79 void **matcher) in mlx5_flow_os_create_flow_matcher() argument
84 *matcher = NULL; in mlx5_flow_os_create_flow_matcher()
104 *matcher = mlx5_matcher; in mlx5_flow_os_create_flow_matcher()
118 mlx5_flow_os_destroy_flow_matcher(void *matcher) in mlx5_flow_os_destroy_flow_matcher() argument
120 mlx5_free(matcher); in mlx5_flow_os_destroy_flow_matcher()
188 mlx5_flow_os_create_flow(void *matcher, void *match_value, in mlx5_flow_os_create_flow() argument
194 struct mlx5_matcher *mlx5_matcher = matcher; in mlx5_flow_os_create_flow()
H A Dmlx5_flow_os.h420 void **matcher);
421 int mlx5_flow_os_destroy_flow_matcher(void *matcher);
425 int mlx5_flow_os_create_flow(void *matcher, void *match_value,
/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa_steer.c36 if (priv->steer.rss[i].matcher) { in mlx5_vdpa_rss_flows_destroy()
38 (priv->steer.rss[i].matcher)); in mlx5_vdpa_rss_flows_destroy()
39 priv->steer.rss[i].matcher = NULL; in mlx5_vdpa_rss_flows_destroy()
199 priv->steer.rss[i].matcher = mlx5_glue->dv_create_flow_matcher in mlx5_vdpa_rss_flows_create()
201 if (!priv->steer.rss[i].matcher) { in mlx5_vdpa_rss_flows_create()
220 (priv->steer.rss[i].matcher, in mlx5_vdpa_rss_flows_create()
H A Dmlx5_vdpa.h104 struct mlx5dv_flow_matcher *matcher; member
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_dv.c13988 matcher.crc = rte_raw_cksum((const void *)matcher.mask.buf, in flow_dv_translate()
14347 struct mlx5_flow_dv_matcher *matcher = handle->dvh.matcher; in flow_dv_matcher_release() local
16451 .data = &matcher, in __flow_dv_create_policy_matcher()
16470 matcher.crc = rte_raw_cksum((const void *)matcher.mask.buf, in __flow_dv_create_policy_matcher()
16969 .data = &matcher, in flow_dv_create_mtr_tbls()
17574 void *matcher = NULL; in mlx5_flow_discover_dr_action_support() local
17597 if (matcher && in mlx5_flow_discover_dr_action_support()
17606 if (matcher) in mlx5_flow_discover_dr_action_support()
17685 if (!matcher || (matcher && errno != EINVAL)) in mlx5_flow_dv_discover_counter_offset_support()
17692 if (matcher) in mlx5_flow_dv_discover_counter_offset_support()
[all …]
H A Dmlx5_dr.h137 struct mlx5dr_matcher *matcher; member
235 int mlx5dr_matcher_destroy(struct mlx5dr_matcher *matcher);
261 int mlx5dr_rule_create(struct mlx5dr_matcher *matcher,
H A Dmlx5_dr.c137 mlx5dr_matcher_destroy(struct mlx5dr_matcher *matcher __rte_unused) in mlx5dr_matcher_destroy()
161 mlx5dr_rule_create(struct mlx5dr_matcher *matcher __rte_unused, in mlx5dr_rule_create()
H A Dmlx5_flow_hw.c1108 ret = mlx5dr_rule_create(table->matcher, in flow_hw_async_flow_create()
1500 tbl->matcher = mlx5dr_matcher_create in flow_hw_table_create()
1502 if (!tbl->matcher) in flow_hw_table_create()
1542 mlx5dr_matcher_destroy(tbl->matcher); in flow_hw_table_create()
1598 mlx5dr_matcher_destroy(table->matcher); in flow_hw_table_destroy()
H A Dmlx5_flow_flex.c221 void *matcher, void *key, in mlx5_flex_flow_translate_item() argument
226 void *misc4_m = MLX5_ADDR_OF(fte_match_param, matcher, in mlx5_flex_flow_translate_item()
H A Dmlx5_flow.h680 struct mlx5_flow_dv_matcher *matcher; /**< Cache to matcher. */ member
1139 struct mlx5dr_matcher *matcher; /* Template matcher. */ member
H A Dmlx5.h699 struct mlx5_flow_dv_matcher *matcher; member
1958 void mlx5_flex_flow_translate_item(struct rte_eth_dev *dev, void *matcher,
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_glue.c648 mlx5_glue_dv_create_flow(void *matcher, in mlx5_glue_dv_create_flow() argument
655 return mlx5dv_dr_rule_create(matcher, match_value, num_actions, in mlx5_glue_dv_create_flow()
666 return mlx5dv_create_flow(matcher, match_value, in mlx5_glue_dv_create_flow()
670 (void)matcher; in mlx5_glue_dv_create_flow()
912 mlx5_glue_dv_destroy_flow_matcher(void *matcher) in mlx5_glue_dv_destroy_flow_matcher() argument
916 return mlx5dv_dr_matcher_destroy(matcher); in mlx5_glue_dv_destroy_flow_matcher()
918 return mlx5dv_destroy_flow_matcher(matcher); in mlx5_glue_dv_destroy_flow_matcher()
921 (void)matcher; in mlx5_glue_dv_destroy_flow_matcher()
H A Dmlx5_glue.h271 void *(*dv_create_flow)(void *matcher, void *match_value,
293 int (*dv_destroy_flow_matcher)(void *matcher);