Home
last modified time | relevance | path

Searched refs:shared_stc (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c80 struct mlx5hws_action_shared_stc *shared_stc; in hws_action_get_shared_stc_nic() local
84 if (ctx->common_res.shared_stc[stc_type]) { in hws_action_get_shared_stc_nic()
90 shared_stc = kzalloc(sizeof(*shared_stc), GFP_KERNEL); in hws_action_get_shared_stc_nic()
91 if (!shared_stc) { in hws_action_get_shared_stc_nic()
119 &shared_stc->stc_chunk); in hws_action_get_shared_stc_nic()
125 ctx->common_res.shared_stc[stc_type] = shared_stc; in hws_action_get_shared_stc_nic()
133 kfree(shared_stc); in hws_action_get_shared_stc_nic()
170 struct mlx5hws_action_shared_stc *shared_stc; in hws_action_put_shared_stc() local
184 shared_stc = ctx->common_res.shared_stc[stc_type]; in hws_action_put_shared_stc()
187 kfree(shared_stc); in hws_action_put_shared_stc()
[all …]
H A Dcontext.h22 struct mlx5hws_action_shared_stc *shared_stc[MLX5HWS_CONTEXT_SHARED_STC_MAX]; member