Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c81 enum mlx5hws_context_shared_stc_type stc_type, in hws_action_get_shared_stc_nic() argument
89 if (ctx->common_res.shared_stc[stc_type]) { in hws_action_get_shared_stc_nic()
90 ctx->common_res.shared_stc[stc_type]->refcount++; in hws_action_get_shared_stc_nic()
100 switch (stc_type) { in hws_action_get_shared_stc_nic()
117 mlx5hws_err(ctx, "No such stc_type: %d\n", stc_type); in hws_action_get_shared_stc_nic()
118 pr_warn("HWS: Invalid stc_type: %d\n", stc_type); in hws_action_get_shared_stc_nic()
130 ctx->common_res.shared_stc[stc_type] = shared_stc; in hws_action_get_shared_stc_nic()
131 ctx->common_res.shared_stc[stc_type]->refcount = 1; in hws_action_get_shared_stc_nic()
145 enum mlx5hws_context_shared_stc_type stc_type) in hws_action_get_shared_stc() argument
150 if (stc_type >= MLX5HWS_CONTEXT_SHARED_STC_MAX) { in hws_action_get_shared_stc()
[all …]