Searched refs:selq (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | selq.c | 27 int mlx5e_selq_init(struct mlx5e_selq *selq, struct mutex *state_lock) in mlx5e_selq_init() argument 31 selq->state_lock = state_lock; in mlx5e_selq_init() 33 selq->standby = kvzalloc(sizeof(*selq->standby), GFP_KERNEL); in mlx5e_selq_init() 34 if (!selq->standby) in mlx5e_selq_init() 37 init_params = kvzalloc(sizeof(*selq->active), GFP_KERNEL); in mlx5e_selq_init() 39 kvfree(selq->standby); in mlx5e_selq_init() 40 selq->standby = NULL; in mlx5e_selq_init() 53 rcu_assign_pointer(selq->active, init_params); in mlx5e_selq_init() 58 void mlx5e_selq_cleanup(struct mlx5e_selq *selq) in mlx5e_selq_cleanup() argument 60 WARN_ON_ONCE(selq->is_prepared); in mlx5e_selq_cleanup() [all …]
|
D | selq.h | 22 int mlx5e_selq_init(struct mlx5e_selq *selq, struct mutex *state_lock); 23 void mlx5e_selq_cleanup(struct mlx5e_selq *selq); 24 void mlx5e_selq_prepare_params(struct mlx5e_selq *selq, struct mlx5e_params *params); 25 void mlx5e_selq_prepare_htb(struct mlx5e_selq *selq, u16 htb_maj_id, u16 htb_defcls); 26 bool mlx5e_selq_is_htb_enabled(struct mlx5e_selq *selq); 27 void mlx5e_selq_apply(struct mlx5e_selq *selq); 28 void mlx5e_selq_cancel(struct mlx5e_selq *selq);
|
D | htb.c | 26 struct mlx5e_selq *selq; member 185 mlx5e_selq_prepare_htb(htb->selq, htb_maj_id, htb_defcls); in mlx5e_htb_root_add() 206 mlx5e_selq_apply(htb->selq); in mlx5e_htb_root_add() 217 mlx5e_selq_cancel(htb->selq); in mlx5e_htb_root_add() 234 mlx5e_selq_prepare_htb(htb->selq, 0, 0); in mlx5e_htb_root_del() 235 mlx5e_selq_apply(htb->selq); in mlx5e_htb_root_del() 707 struct mlx5e_selq *selq, struct mlx5e_priv *priv) in mlx5e_htb_init() argument 711 htb->selq = selq; in mlx5e_htb_init()
|
D | htb.h | 43 struct mlx5e_selq *selq, struct mlx5e_priv *priv);
|
D | qos.c | 399 res = mlx5e_htb_init(htb, htb_qopt, priv->netdev, priv->mdev, &priv->selq, priv); in mlx5e_htb_setup_tc()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
D | Makefile | 31 en/qos.o en/htb.o en/trap.o en/fs_tt_redirect.o en/selq.o \
|
D | en_main.c | 3028 mlx5e_selq_apply(&priv->selq); in mlx5e_switch_priv_channels() 3056 mlx5e_selq_prepare_params(&priv->selq, &new_chs->params); in mlx5e_safe_switch_params() 3073 mlx5e_selq_cancel(&priv->selq); in mlx5e_safe_switch_params() 3114 mlx5e_selq_prepare_params(&priv->selq, &priv->channels.params); in mlx5e_open_locked() 3126 mlx5e_selq_apply(&priv->selq); in mlx5e_open_locked() 3139 mlx5e_selq_cancel(&priv->selq); in mlx5e_open_locked() 3617 if (WARN_ON(mlx5e_selq_is_htb_enabled(&priv->selq))) in mlx5e_setup_tc_mqprio() 3899 if (!enable && mlx5e_selq_is_htb_enabled(&priv->selq)) { in set_feature_hw_tc() 5621 err = mlx5e_selq_init(&priv->selq, &priv->state_lock); in mlx5e_priv_init() 5656 mlx5e_selq_cleanup(&priv->selq); in mlx5e_priv_init() [all …]
|
D | en.h | 867 struct mlx5e_selq selq; member
|
D | en_ethtool.c | 453 if (mlx5e_selq_is_htb_enabled(&priv->selq)) { in mlx5e_ethtool_set_channels() 2072 if (mlx5e_selq_is_htb_enabled(&priv->selq)) { in set_pflag_tx_port_ts()
|