Searched refs:selq (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | selq.c | 33 selq->standby = kvzalloc(sizeof(*selq->standby), GFP_KERNEL); in mlx5e_selq_init() 34 if (!selq->standby) in mlx5e_selq_init() 39 kvfree(selq->standby); in mlx5e_selq_init() 40 selq->standby = NULL; in mlx5e_selq_init() 62 kvfree(selq->standby); in mlx5e_selq_cleanup() 63 selq->standby = NULL; in mlx5e_selq_cleanup() 68 kvfree(selq->standby); in mlx5e_selq_cleanup() 69 selq->standby = NULL; in mlx5e_selq_cleanup() 87 selq->standby->num_channels * selq->standby->num_tcs; in mlx5e_selq_prepare_params() 124 old_params = rcu_replace_pointer(selq->active, selq->standby, in mlx5e_selq_apply() [all …]
|
A 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);
|
A 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()
|
A D | htb.h | 43 struct mlx5e_selq *selq, struct mlx5e_priv *priv);
|
A D | qos.c | 393 res = mlx5e_htb_init(htb, htb_qopt, priv->netdev, priv->mdev, &priv->selq, priv); in mlx5e_htb_setup_tc()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | Makefile | 31 en/qos.o en/htb.o en/trap.o en/fs_tt_redirect.o en/selq.o \
|
A D | en_main.c | 2985 mlx5e_selq_apply(&priv->selq); in mlx5e_switch_priv_channels() 3013 mlx5e_selq_prepare_params(&priv->selq, &new_chs->params); in mlx5e_safe_switch_params() 3030 mlx5e_selq_cancel(&priv->selq); in mlx5e_safe_switch_params() 3071 mlx5e_selq_prepare_params(&priv->selq, &priv->channels.params); in mlx5e_open_locked() 3083 mlx5e_selq_apply(&priv->selq); in mlx5e_open_locked() 3096 mlx5e_selq_cancel(&priv->selq); in mlx5e_open_locked() 3574 if (WARN_ON(mlx5e_selq_is_htb_enabled(&priv->selq))) in mlx5e_setup_tc_mqprio() 3856 if (!enable && mlx5e_selq_is_htb_enabled(&priv->selq)) { in set_feature_hw_tc() 5553 err = mlx5e_selq_init(&priv->selq, &priv->state_lock); in mlx5e_priv_init() 5588 mlx5e_selq_cleanup(&priv->selq); in mlx5e_priv_init() [all …]
|
A D | en.h | 901 struct mlx5e_selq selq; member
|
A D | en_ethtool.c | 453 if (mlx5e_selq_is_htb_enabled(&priv->selq)) { in mlx5e_ethtool_set_channels() 2073 if (mlx5e_selq_is_htb_enabled(&priv->selq)) { in set_pflag_tx_port_ts()
|
Completed in 33 milliseconds