Home
last modified time | relevance | path

Searched refs:default_miss (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_table.c43 struct mlx5hws_cmd_forward_tbl *default_miss; in hws_table_up_default_fdb_miss_tbl() local
51 if (ctx->common_res[tbl_type].default_miss) { in hws_table_up_default_fdb_miss_tbl()
52 ctx->common_res[tbl_type].default_miss->refcount++; in hws_table_up_default_fdb_miss_tbl()
67 default_miss = mlx5hws_cmd_forward_tbl_create(ctx->mdev, &ft_attr, &fte_attr); in hws_table_up_default_fdb_miss_tbl()
68 if (!default_miss) { in hws_table_up_default_fdb_miss_tbl()
74 ctx->common_res[tbl_type].default_miss = default_miss; in hws_table_up_default_fdb_miss_tbl()
75 ctx->common_res[tbl_type].default_miss->refcount++; in hws_table_up_default_fdb_miss_tbl()
83 struct mlx5hws_cmd_forward_tbl *default_miss; in hws_table_down_default_fdb_miss_tbl() local
90 default_miss = ctx->common_res[tbl_type].default_miss; in hws_table_down_default_fdb_miss_tbl()
91 if (--default_miss->refcount) in hws_table_down_default_fdb_miss_tbl()
[all …]
H A Dmlx5hws_table.h23 struct mlx5hws_default_miss default_miss; member
H A Dmlx5hws_context.h22 struct mlx5hws_cmd_forward_tbl *default_miss; member
H A Dmlx5hws_debug.c231 HWS_PTR_TO_ID(tbl->default_miss.miss_tbl)); in hws_debug_dump_table()
H A Dmlx5hws_matcher.c102 ret = mlx5hws_table_connect_to_miss_table(tbl, tbl->default_miss.miss_tbl); in hws_matcher_connect()
172 ret = mlx5hws_table_connect_to_miss_table(tbl, tbl->default_miss.miss_tbl); in hws_matcher_disconnect()
H A Dmlx5hws_cmd.c362 default_miss_tbl = ctx->common_res[type].default_miss->ft_id; in mlx5hws_cmd_set_attr_connect_miss_tbl()