Home
last modified time | relevance | path

Searched refs:action_tbl (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction_ste_pool.c23 struct mlx5hws_action_ste_table *action_tbl, in hws_action_ste_table_create_pool() argument
34 action_tbl->pool = mlx5hws_pool_create(ctx, &pool_attr); in hws_action_ste_table_create_pool()
35 if (!action_tbl->pool) { in hws_action_ste_table_create_pool()
45 struct mlx5hws_action_ste_table *action_tbl, in hws_action_ste_table_create_single_rtc() argument
63 mlx5hws_pool_get_base_mirror_id(action_tbl->pool); in hws_action_ste_table_create_single_rtc()
68 rtc_id = &action_tbl->rtc_1_id; in hws_action_ste_table_create_single_rtc()
71 rtc_attr.ste_base = mlx5hws_pool_get_base_id(action_tbl->pool); in hws_action_ste_table_create_single_rtc()
75 rtc_id = &action_tbl->rtc_0_id; in hws_action_ste_table_create_single_rtc()
83 struct mlx5hws_action_ste_table *action_tbl, in hws_action_ste_table_create_rtcs() argument
88 err = hws_action_ste_table_create_single_rtc(ctx, action_tbl, opt, in hws_action_ste_table_create_rtcs()
[all …]
H A Ddebug.c390 struct mlx5hws_action_ste_table *action_tbl) in hws_debug_dump_action_ste_table() argument
392 int ste_0_id = mlx5hws_pool_get_base_id(action_tbl->pool); in hws_debug_dump_action_ste_table()
393 int ste_1_id = mlx5hws_pool_get_base_mirror_id(action_tbl->pool); in hws_debug_dump_action_ste_table()
397 HWS_PTR_TO_ID(action_tbl), in hws_debug_dump_action_ste_table()
398 action_tbl->rtc_0_id, ste_0_id, in hws_debug_dump_action_ste_table()
399 action_tbl->rtc_1_id, ste_1_id); in hws_debug_dump_action_ste_table()
405 struct mlx5hws_action_ste_table *action_tbl; in hws_debug_dump_action_ste_pool() local
411 list_for_each_entry(action_tbl, &pool->elems[opt].available, in hws_debug_dump_action_ste_pool()
413 hws_debug_dump_action_ste_table(f, action_tbl); in hws_debug_dump_action_ste_pool()
H A Drule.c214 if (!action_ste->action_tbl) in mlx5hws_rule_free_action_ste()
343 rule->action_ste.action_tbl->stc.offset; in hws_rule_create_hws()
346 rule->action_ste.action_tbl->rtc_0_id : 0; in hws_rule_create_hws()
348 rule->action_ste.action_tbl->rtc_1_id : 0; in hws_rule_create_hws()