Searched refs:selq (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H 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() 63 kvfree(selq->standby); in mlx5e_selq_cleanup() 64 selq->standby = NULL; in mlx5e_selq_cleanup() 69 kvfree(selq->standby); in mlx5e_selq_cleanup() 70 selq->standby = NULL; in mlx5e_selq_cleanup() 89 selq->standby->num_channels * selq->standby->num_tcs; in mlx5e_selq_prepare_params() 126 old_params = rcu_replace_pointer(selq->active, selq->standby, in mlx5e_selq_apply() [all …]
|
H 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);
|
H 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()
|
H A D | htb.h | 43 struct mlx5e_selq *selq, struct mlx5e_priv *priv);
|
H A D | qos.c | 412 res = mlx5e_htb_init(htb, htb_qopt, priv->netdev, priv->mdev, &priv->selq, priv); in mlx5e_htb_setup_tc()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | Makefile | 31 en/qos.o en/htb.o en/trap.o en/fs_tt_redirect.o en/selq.o \
|
H A D | en_main.c | 3274 mlx5e_selq_apply(&priv->selq); in mlx5e_switch_priv_channels() 3302 mlx5e_selq_prepare_params(&priv->selq, &new_chs->params); in mlx5e_safe_switch_params() 3319 mlx5e_selq_cancel(&priv->selq); in mlx5e_safe_switch_params() 3360 mlx5e_selq_prepare_params(&priv->selq, &priv->channels.params); in mlx5e_open_locked() 3372 mlx5e_selq_apply(&priv->selq); in mlx5e_open_locked() 3385 mlx5e_selq_cancel(&priv->selq); in mlx5e_open_locked() 3789 if (WARN_ON(mlx5e_selq_is_htb_enabled(&priv->selq))) in mlx5e_setup_tc_mqprio() 4071 if (!enable && mlx5e_selq_is_htb_enabled(&priv->selq)) { in set_feature_hw_tc() 5973 err = mlx5e_selq_init(&priv->selq, &priv->state_lock); in mlx5e_priv_init() 6014 mlx5e_selq_cleanup(&priv->selq); in mlx5e_priv_init() [all …]
|
H A D | en.h | 868 struct mlx5e_selq selq; member
|
H A D | en_ethtool.c | 492 if (mlx5e_selq_is_htb_enabled(&priv->selq)) { in mlx5e_ethtool_set_channels() 2275 if (mlx5e_selq_is_htb_enabled(&priv->selq)) { in set_pflag_tx_port_ts()
|