Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c76 enum mlx5hws_context_shared_stc_type stc_type, in hws_action_get_shared_stc_nic() argument
84 if (ctx->common_res.shared_stc[stc_type]) { in hws_action_get_shared_stc_nic()
85 ctx->common_res.shared_stc[stc_type]->refcount++; in hws_action_get_shared_stc_nic()
95 switch (stc_type) { in hws_action_get_shared_stc_nic()
113 pr_warn("HWS: Invalid stc_type: %d\n", stc_type); in hws_action_get_shared_stc_nic()
125 ctx->common_res.shared_stc[stc_type] = shared_stc; in hws_action_get_shared_stc_nic()
145 if (stc_type >= MLX5HWS_CONTEXT_SHARED_STC_MAX) { in hws_action_get_shared_stc()
159 stc_type); in hws_action_get_shared_stc()
173 if (stc_type >= MLX5HWS_CONTEXT_SHARED_STC_MAX) { in hws_action_put_shared_stc()
184 shared_stc = ctx->common_res.shared_stc[stc_type]; in hws_action_put_shared_stc()
[all …]