Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Daction.c85 struct mlx5hws_action_shared_stc *shared_stc; in hws_action_get_shared_stc_nic() local
89 if (ctx->common_res.shared_stc[stc_type]) { in hws_action_get_shared_stc_nic()
95 shared_stc = kzalloc(sizeof(*shared_stc), GFP_KERNEL); in hws_action_get_shared_stc_nic()
96 if (!shared_stc) { in hws_action_get_shared_stc_nic()
124 &shared_stc->stc_chunk); in hws_action_get_shared_stc_nic()
130 ctx->common_res.shared_stc[stc_type] = shared_stc; in hws_action_get_shared_stc_nic()
138 kfree(shared_stc); in hws_action_get_shared_stc_nic()
175 struct mlx5hws_action_shared_stc *shared_stc; in hws_action_put_shared_stc() local
189 shared_stc = ctx->common_res.shared_stc[stc_type]; in hws_action_put_shared_stc()
192 kfree(shared_stc); in hws_action_put_shared_stc()
[all …]
A Dcontext.h22 struct mlx5hws_action_shared_stc *shared_stc[MLX5HWS_CONTEXT_SHARED_STC_MAX]; member

Completed in 9 milliseconds