| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | htb.c | 53 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 …]
|
| H A D | htb.h | 15 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 …]
|
| H A D | qos.c | 86 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 …]
|
| H A D | qos.h | 41 int mlx5e_htb_setup_tc(struct mlx5e_priv *priv, struct tc_htb_qopt_offload *htb);
|
| H A D | selq.c | 190 return mlx5e_htb_get_txq_by_classid(priv->htb, classid); in mlx5e_select_htb_queue()
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | qos.c | 1739 switch (htb->command) { in otx2_setup_tc_htb() 1742 htb->classid, htb->extack); in otx2_setup_tc_htb() 1748 htb->rate, htb->ceil, in otx2_setup_tc_htb() 1749 htb->prio, htb->quantum, in otx2_setup_tc_htb() 1750 htb->extack); in otx2_setup_tc_htb() 1753 htb->qid = res; in otx2_setup_tc_htb() 1757 htb->classid, htb->rate, in otx2_setup_tc_htb() 1758 htb->ceil, htb->prio, in otx2_setup_tc_htb() 1759 htb->quantum, htb->extack); in otx2_setup_tc_htb() 1761 return otx2_qos_leaf_del(pfvf, &htb->classid, htb->extack); in otx2_setup_tc_htb() [all …]
|
| H A D | qos.h | 25 int otx2_setup_tc_htb(struct net_device *ndev, struct tc_htb_qopt_offload *htb);
|
| /linux-6.15/Documentation/admin-guide/cgroup-v1/ |
| H A D | net_cls.rst | 35 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.15/tools/testing/selftests/net/netfilter/ |
| H A D | conntrack_sctp_collision.sh | 48 tc -n "$SERVER_NS" qdisc add dev link0 root handle 1: htb r2q 64 49 tc -n "$SERVER_NS" class add dev link0 parent 1: classid 1:1 htb rate 100mbit
|
| /linux-6.15/Documentation/networking/device_drivers/ethernet/marvell/ |
| H A D | octeontx2.rst | 326 2. Crate htb root:: 329 # tc qdisc replace dev <interface> root handle 1: htb offload 333 # tc class add dev <interface> parent 1: classid 1:1 htb rate 10Gbit prio 1 335 # tc class add dev <interface> parent 1: classid 1:2 htb rate 10Gbit prio 7 339 # tc class add dev <interface> parent 1: classid 1:1 htb rate 10Gbit prio 2 quantum 409600 341 # tc class add dev <interface> parent 1: classid 1:2 htb rate 10Gbit prio 2 quantum 188416 343 # tc class add dev <interface> parent 1: classid 1:3 htb rate 10Gbit prio 2 quantum 32768
|
| /linux-6.15/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-net.rst | 99 eth0(2) htb name prefix_matcher.o:[cls_prefix_matcher_htb] id 111727 act [] 121 "kind": "htb",
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | Makefile | 31 en/qos.o en/htb.o en/trap.o en/fs_tt_redirect.o en/selq.o \
|
| H A D | en.h | 941 struct mlx5e_htb *htb; member
|
| H A D | en_main.c | 2819 if (priv->htb) { in mlx5e_open_channels() 2849 if (priv->htb) in mlx5e_activate_channels() 3015 if (priv->htb) in mlx5e_update_tx_netdev_queues() 3016 qos_queues = mlx5e_htb_cur_leaf_nodes(priv->htb); in mlx5e_update_tx_netdev_queues()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | rtnetlink.sh | 224 run_cmd tc qdisc add dev "$dev" root handle 1: htb 225 run_cmd tc class add dev "$dev" parent 1: classid 1:10 htb rate 1mbit 234 run_cmd tc qdisc del dev "$dev" root handle 1: htb
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | tc.yaml | 134 name: tc-htb-opt 161 name: tc-htb-glob 2998 name: tc-htb-attrs 3003 struct: tc-htb-opt 3007 struct: tc-htb-glob 3718 value: htb 3719 attribute-set: tc-htb-attrs
|
| /linux-6.15/net/sched/ |
| H A D | Kconfig | 53 <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
|
| /linux-6.15/net/netfilter/ |
| H A D | Kconfig | 843 atm, cbq, dsmark, pfifo_fast, htb, prio
|