Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dqos.c17 int last = find_last_bit(priv->htb.qos_used_qids, mlx5e_qos_max_leaf_nodes(priv->mdev)); in mlx5e_qos_cur_leaf_nodes()
30 res = find_first_zero_bit(priv->htb.qos_used_qids, size); in mlx5e_find_unused_qos_qid()
63 __set_bit(qid, priv->htb.qos_used_qids); in mlx5e_sw_node_create_leaf()
66 hash_add_rcu(priv->htb.qos_tc2node, &node->hnode, classid); in mlx5e_sw_node_create_leaf()
83 hash_add_rcu(priv->htb.qos_tc2node, &node->hnode, node->classid); in mlx5e_sw_node_create_root()
92 hash_for_each_possible(priv->htb.qos_tc2node, node, hnode, classid) { in mlx5e_sw_node_find()
104 hash_for_each_possible_rcu(priv->htb.qos_tc2node, node, hnode, classid) { in mlx5e_sw_node_find_rcu()
116 __clear_bit(node->qid, priv->htb.qos_used_qids); in mlx5e_sw_node_delete()
196 WARN_ON(node->qid > priv->htb.max_qos_sqs); in mlx5e_open_qos_sq()
197 if (node->qid == priv->htb.max_qos_sqs) { in mlx5e_open_qos_sq()
[all …]
/Linux-v5.15/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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c1312 sq->stats = c->priv->htb.qos_sq_stats[qos_qid]; in mlx5e_open_txqsq()
3020 if (WARN_ON(priv->htb.maj_id)) in mlx5e_setup_tc_mqprio()
3033 static int mlx5e_setup_tc_htb(struct mlx5e_priv *priv, struct tc_htb_qopt_offload *htb) in mlx5e_setup_tc_htb() argument
3037 switch (htb->command) { in mlx5e_setup_tc_htb()
3039 return mlx5e_htb_root_add(priv, htb->parent_classid, htb->classid, in mlx5e_setup_tc_htb()
3040 htb->extack); in mlx5e_setup_tc_htb()
3044 res = mlx5e_htb_leaf_alloc_queue(priv, htb->classid, htb->parent_classid, in mlx5e_setup_tc_htb()
3045 htb->rate, htb->ceil, htb->extack); in mlx5e_setup_tc_htb()
3048 htb->qid = res; in mlx5e_setup_tc_htb()
3051 return mlx5e_htb_leaf_to_inner(priv, htb->parent_classid, htb->classid, in mlx5e_setup_tc_htb()
[all …]
Den_stats.c436 max_qos_sqs = smp_load_acquire(&priv->htb.max_qos_sqs); in mlx5e_stats_grp_sw_update_stats_qos()
437 stats = READ_ONCE(priv->htb.qos_sq_stats); in mlx5e_stats_grp_sw_update_stats_qos()
2001 return NUM_QOS_SQ_STATS * smp_load_acquire(&priv->htb.max_qos_sqs); in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
2007 u16 max_qos_sqs = smp_load_acquire(&priv->htb.max_qos_sqs); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
2025 max_qos_sqs = smp_load_acquire(&priv->htb.max_qos_sqs); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
2026 stats = READ_ONCE(priv->htb.qos_sq_stats); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
Den_tx.c97 classid = READ_ONCE(priv->htb.defcls); in mlx5e_select_htb_queue()
120 u16 htb_maj_id = smp_load_acquire(&priv->htb.maj_id); in mlx5e_select_queue()
Den.h881 struct mlx5e_htb htb; member
Den_ethtool.c452 if (priv->htb.maj_id) { in mlx5e_ethtool_set_channels()
2032 if (priv->htb.maj_id) { in set_pflag_tx_port_ts()
/Linux-v5.15/tools/bpf/bpftool/Documentation/
Dbpftool-net.rst91 eth0(2) htb name prefix_matcher.o:[cls_prefix_matcher_htb] id 111727 act []
113 "kind": "htb",
/Linux-v5.15/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-v5.15/net/sched/
DKconfig70 <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
/Linux-v5.15/net/netfilter/
DKconfig829 atm, cbq, dsmark, pfifo_fast, htb, prio