Home
last modified time | relevance | path

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

/linux-6.1.9/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 switch (htb_qopt->command) { in mlx5e_htb_setup_tc()
385 NL_SET_ERR_MSG_MOD(htb_qopt->extack, in mlx5e_htb_setup_tc()
393 res = mlx5e_htb_init(htb, htb_qopt, priv->netdev, priv->mdev, &priv->selq, priv); in mlx5e_htb_setup_tc()
405 res = mlx5e_htb_leaf_alloc_queue(htb, htb_qopt->classid, htb_qopt->parent_classid, in mlx5e_htb_setup_tc()
406 htb_qopt->rate, htb_qopt->ceil, htb_qopt->extack); in mlx5e_htb_setup_tc()
409 htb_qopt->qid = res; in mlx5e_htb_setup_tc()
412 return mlx5e_htb_leaf_to_inner(htb, htb_qopt->parent_classid, htb_qopt->classid, in mlx5e_htb_setup_tc()
413 htb_qopt->rate, htb_qopt->ceil, htb_qopt->extack); 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()