Home
last modified time | relevance | path

Searched refs:htb_qopt (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dqos.c374 int mlx5e_htb_setup_tc(struct mlx5e_priv *priv, struct tc_htb_qopt_offload *htb_qopt) in mlx5e_htb_setup_tc() argument
379 if (!htb && htb_qopt->command != TC_HTB_CREATE) in mlx5e_htb_setup_tc()
382 if (htb_qopt->prio || htb_qopt->quantum) { in mlx5e_htb_setup_tc()
383 NL_SET_ERR_MSG_MOD(htb_qopt->extack, in mlx5e_htb_setup_tc()
388 switch (htb_qopt->command) { in mlx5e_htb_setup_tc()
391 NL_SET_ERR_MSG_MOD(htb_qopt->extack, in mlx5e_htb_setup_tc()
399 res = mlx5e_htb_init(htb, htb_qopt, priv->netdev, priv->mdev, &priv->selq, priv); in mlx5e_htb_setup_tc()
411 res = mlx5e_htb_leaf_alloc_queue(htb, htb_qopt->classid, htb_qopt->parent_classid, in mlx5e_htb_setup_tc()
412 htb_qopt->rate, htb_qopt->ceil, htb_qopt->extack); in mlx5e_htb_setup_tc()
415 htb_qopt->qid = res; in mlx5e_htb_setup_tc()
[all …]
Dhtb.h41 int mlx5e_htb_init(struct mlx5e_htb *htb, struct tc_htb_qopt_offload *htb_qopt,
Dhtb.c705 int mlx5e_htb_init(struct mlx5e_htb *htb, struct tc_htb_qopt_offload *htb_qopt, in mlx5e_htb_init() argument
714 return mlx5e_htb_root_add(htb, htb_qopt->parent_classid, htb_qopt->classid, in mlx5e_htb_init()
715 htb_qopt->extack); in mlx5e_htb_init()