Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhtb.c34 int mlx5e_htb_enumerate_leaves(struct mlx5e_htb *htb, mlx5e_fp_htb_enumerate callback, void *data) in mlx5e_htb_enumerate_leaves() argument
39 hash_for_each(htb->qos_tc2node, bkt, node, hnode) { in mlx5e_htb_enumerate_leaves()
49 int mlx5e_htb_cur_leaf_nodes(struct mlx5e_htb *htb) in mlx5e_htb_cur_leaf_nodes() argument
53 last = find_last_bit(htb->qos_used_qids, mlx5e_qos_max_leaf_nodes(htb->mdev)); in mlx5e_htb_cur_leaf_nodes()
54 return last == mlx5e_qos_max_leaf_nodes(htb->mdev) ? 0 : last + 1; in mlx5e_htb_cur_leaf_nodes()
57 static int mlx5e_htb_find_unused_qos_qid(struct mlx5e_htb *htb) in mlx5e_htb_find_unused_qos_qid() argument
59 int size = mlx5e_qos_max_leaf_nodes(htb->mdev); in mlx5e_htb_find_unused_qos_qid()
60 struct mlx5e_priv *priv = htb->priv; in mlx5e_htb_find_unused_qos_qid()
64 res = find_first_zero_bit(htb->qos_used_qids, size); in mlx5e_htb_find_unused_qos_qid()
70 mlx5e_htb_node_create_leaf(struct mlx5e_htb *htb, u16 classid, u16 qid, in mlx5e_htb_node_create_leaf() argument
[all …]
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 …]
Dqos.c306 err = mlx5e_htb_enumerate_leaves(priv->htb, mlx5e_open_qos_sq_cb_wrapper, &callback_params); in mlx5e_qos_open_queues()
317 mlx5e_htb_enumerate_leaves(priv->htb, mlx5e_activate_qos_sq, priv); in mlx5e_qos_activate_queues()
376 struct mlx5e_htb *htb = priv->htb; in mlx5e_htb_setup_tc() local
379 if (!htb && htb_qopt->command != TC_HTB_CREATE) in mlx5e_htb_setup_tc()
389 priv->htb = mlx5e_htb_alloc(); in mlx5e_htb_setup_tc()
390 htb = priv->htb; in mlx5e_htb_setup_tc()
391 if (!htb) 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()
395 mlx5e_htb_free(htb); in mlx5e_htb_setup_tc()
396 priv->htb = NULL; in mlx5e_htb_setup_tc()
[all …]
Dqos.h41 int mlx5e_htb_setup_tc(struct mlx5e_priv *priv, struct tc_htb_qopt_offload *htb);
Dselq.c188 return mlx5e_htb_get_txq_by_classid(priv->htb, classid); in mlx5e_select_htb_queue()
/linux-6.1.9/Documentation/admin-guide/cgroup-v1/
Dnet_cls.rst35 tc qdisc add dev eth0 root handle 10: htb
36 tc class add dev eth0 parent 10: classid 10:1 htb rate 40mbit
/linux-6.1.9/tools/bpf/bpftool/Documentation/
Dbpftool-net.rst95 eth0(2) htb name prefix_matcher.o:[cls_prefix_matcher_htb] id 111727 act []
117 "kind": "htb",
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile31 en/qos.o en/htb.o en/trap.o en/fs_tt_redirect.o en/selq.o \
Den.h967 struct mlx5e_htb *htb; member
Den_main.c2544 if (priv->htb) { in mlx5e_open_channels()
2735 if (priv->htb) in mlx5e_update_tx_netdev_queues()
2736 qos_queues = mlx5e_htb_cur_leaf_nodes(priv->htb); in mlx5e_update_tx_netdev_queues()
2883 if (priv->htb) in mlx5e_activate_priv_channels()
/linux-6.1.9/tools/testing/selftests/net/
Drtnetlink.sh153 tc qdisc add dev "$dev" root handle 1: htb
155 tc class add dev "$dev" parent 1: classid 1:10 htb rate 1mbit
173 tc qdisc del dev "$dev" root handle 1: htb
/linux-6.1.9/net/sched/
DKconfig70 <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
/linux-6.1.9/net/netfilter/
DKconfig841 atm, cbq, dsmark, pfifo_fast, htb, prio