Home
last modified time | relevance | path

Searched refs:htb (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dhtb.c53 last = find_last_bit(htb->qos_used_qids, mlx5e_qos_max_leaf_nodes(htb->mdev)); in mlx5e_htb_cur_leaf_nodes()
206 mlx5e_selq_apply(htb->selq); in mlx5e_htb_root_add()
217 mlx5e_selq_cancel(htb->selq); in mlx5e_htb_root_add()
235 mlx5e_selq_apply(htb->selq); in mlx5e_htb_root_del()
702 kvfree(htb); in mlx5e_htb_free()
709 htb->mdev = mdev; in mlx5e_htb_init()
710 htb->netdev = netdev; in mlx5e_htb_init()
711 htb->selq = selq; in mlx5e_htb_init()
712 htb->priv = priv; in mlx5e_htb_init()
713 hash_init(htb->qos_tc2node); in mlx5e_htb_init()
[all …]
A Dhtb.h15 int mlx5e_htb_enumerate_leaves(struct mlx5e_htb *htb, mlx5e_fp_htb_enumerate callback, void *data);
17 int mlx5e_htb_cur_leaf_nodes(struct mlx5e_htb *htb);
20 int mlx5e_htb_get_txq_by_classid(struct mlx5e_htb *htb, u16 classid);
25 mlx5e_htb_leaf_alloc_queue(struct mlx5e_htb *htb, u16 classid,
29 mlx5e_htb_leaf_to_inner(struct mlx5e_htb *htb, u16 classid, u16 child_classid,
31 int mlx5e_htb_leaf_del(struct mlx5e_htb *htb, u16 *classid,
34 mlx5e_htb_leaf_del_last(struct mlx5e_htb *htb, u16 classid, bool force,
37 mlx5e_htb_node_modify(struct mlx5e_htb *htb, u16 classid, u64 rate, u64 ceil,
40 void mlx5e_htb_free(struct mlx5e_htb *htb);
41 int mlx5e_htb_init(struct mlx5e_htb *htb, struct tc_htb_qopt_offload *htb_qopt,
[all …]
A Dqos.c86 WARN_ON(node_qid >= mlx5e_htb_cur_leaf_nodes(priv->htb)); in mlx5e_open_qos_sq()
389 struct mlx5e_htb *htb = priv->htb; in mlx5e_htb_setup_tc() local
392 if (!htb && htb_qopt->command != TC_HTB_CREATE) in mlx5e_htb_setup_tc()
408 priv->htb = mlx5e_htb_alloc(); in mlx5e_htb_setup_tc()
409 htb = priv->htb; in mlx5e_htb_setup_tc()
410 if (!htb) in mlx5e_htb_setup_tc()
414 mlx5e_htb_free(htb); in mlx5e_htb_setup_tc()
415 priv->htb = NULL; in mlx5e_htb_setup_tc()
419 mlx5e_htb_cleanup(htb); in mlx5e_htb_setup_tc()
420 mlx5e_htb_free(htb); in mlx5e_htb_setup_tc()
[all …]
A Dqos.h41 int mlx5e_htb_setup_tc(struct mlx5e_priv *priv, struct tc_htb_qopt_offload *htb);
A Dselq.c190 return mlx5e_htb_get_txq_by_classid(priv->htb, classid); in mlx5e_select_htb_queue()
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dqos.c1737 switch (htb->command) { in otx2_setup_tc_htb()
1740 htb->classid, htb->extack); in otx2_setup_tc_htb()
1746 htb->rate, htb->ceil, in otx2_setup_tc_htb()
1747 htb->prio, htb->quantum, in otx2_setup_tc_htb()
1748 htb->extack); in otx2_setup_tc_htb()
1751 htb->qid = res; in otx2_setup_tc_htb()
1755 htb->classid, htb->rate, in otx2_setup_tc_htb()
1756 htb->ceil, htb->prio, in otx2_setup_tc_htb()
1757 htb->quantum, htb->extack); in otx2_setup_tc_htb()
1759 return otx2_qos_leaf_del(pfvf, &htb->classid, htb->extack); in otx2_setup_tc_htb()
[all …]
A Dqos.h25 int otx2_setup_tc_htb(struct net_device *ndev, struct tc_htb_qopt_offload *htb);
/drivers/net/ethernet/mellanox/mlx5/core/
A DMakefile31 en/qos.o en/htb.o en/trap.o en/fs_tt_redirect.o en/selq.o \
A Den.h949 struct mlx5e_htb *htb; member
A Den_main.c2912 if (priv->htb) { in mlx5e_open_channels()
2942 if (priv->htb) in mlx5e_activate_channels()
3108 if (priv->htb) in mlx5e_update_tx_netdev_queues()
3109 qos_queues = mlx5e_htb_cur_leaf_nodes(priv->htb); in mlx5e_update_tx_netdev_queues()
5568 priv->htb) { in mlx5e_queue_mem_alloc()

Completed in 35 milliseconds