Home
last modified time | relevance | path

Searched refs:default_stc (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c1642 default_stc = ctx->common_res.default_stc; in hws_action_create_dest_match_range_table()
2025 default_stc = kzalloc(sizeof(*default_stc), GFP_KERNEL); in mlx5hws_action_get_default_stc()
2026 if (!default_stc) in mlx5hws_action_get_default_stc()
2033 &default_stc->nop_ctr); in mlx5hws_action_get_default_stc()
2041 &default_stc->nop_dw5); in mlx5hws_action_get_default_stc()
2049 &default_stc->nop_dw6); in mlx5hws_action_get_default_stc()
2073 ctx->common_res.default_stc = default_stc; in mlx5hws_action_get_default_stc()
2087 kfree(default_stc); in mlx5hws_action_get_default_stc()
2096 default_stc = ctx->common_res.default_stc; in mlx5hws_action_put_default_stc()
2097 if (--default_stc->refcount) in mlx5hws_action_put_default_stc()
[all …]
H A Daction.h234 htonl(apply->common_res->default_stc->nop_dw5.offset); in mlx5hws_action_setter_default_single()
244 htonl(apply->common_res->default_stc->nop_dw6.offset); in mlx5hws_action_setter_default_double()
246 htonl(apply->common_res->default_stc->nop_dw7.offset); in mlx5hws_action_setter_default_double()
255 htonl(apply->common_res->default_stc->nop_ctr.offset); in mlx5hws_action_setter_default_ctr()
H A Dcontext.h21 struct mlx5hws_action_default_stc *default_stc; member
H A Dmatcher.c226 struct mlx5hws_action_default_stc *default_stc; in hws_matcher_create_rtc() local
319 default_stc = ctx->common_res.default_stc; in hws_matcher_create_rtc()
320 obj_id = mlx5hws_pool_chunk_get_base_id(stc_pool, &default_stc->default_hit); in hws_matcher_create_rtc()
335 obj_id = mlx5hws_pool_chunk_get_base_mirror_id(stc_pool, &default_stc->default_hit); in hws_matcher_create_rtc()