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 Dmlx5hws_action.c78 enum mlx5hws_context_shared_stc_type stc_type, in hws_action_get_shared_stc_nic() argument
86 if (ctx->common_res[tbl_type].shared_stc[stc_type]) { in hws_action_get_shared_stc_nic()
87 ctx->common_res[tbl_type].shared_stc[stc_type]->refcount++; in hws_action_get_shared_stc_nic()
97 switch (stc_type) { in hws_action_get_shared_stc_nic()
114 mlx5hws_err(ctx, "No such stc_type: %d\n", stc_type); in hws_action_get_shared_stc_nic()
115 pr_warn("HWS: Invalid stc_type: %d\n", stc_type); in hws_action_get_shared_stc_nic()
127 ctx->common_res[tbl_type].shared_stc[stc_type] = shared_stc; in hws_action_get_shared_stc_nic()
128 ctx->common_res[tbl_type].shared_stc[stc_type]->refcount = 1; in hws_action_get_shared_stc_nic()
142 enum mlx5hws_context_shared_stc_type stc_type) in hws_action_get_shared_stc() argument
147 if (stc_type >= MLX5HWS_CONTEXT_SHARED_STC_MAX) { in hws_action_get_shared_stc()
[all …]