Searched refs:shared_stc (Results 1 – 2 of 2) sorted by relevance
82 struct mlx5hws_action_shared_stc *shared_stc; in hws_action_get_shared_stc_nic() local86 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()92 shared_stc = kzalloc(sizeof(*shared_stc), GFP_KERNEL); in hws_action_get_shared_stc_nic()93 if (!shared_stc) { in hws_action_get_shared_stc_nic()121 &shared_stc->stc_chunk); 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()135 kfree(shared_stc); in hws_action_get_shared_stc_nic()172 struct mlx5hws_action_shared_stc *shared_stc; in hws_action_put_shared_stc() local[all …]
21 struct mlx5hws_action_shared_stc *shared_stc[MLX5HWS_CONTEXT_SHARED_STC_MAX]; member