/openbmc/linux/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 | 85 WARN_ON(node_qid >= mlx5e_htb_cur_leaf_nodes(priv->htb)); in mlx5e_open_qos_sq() 377 struct mlx5e_htb *htb = priv->htb; in mlx5e_htb_setup_tc() local 380 if (!htb && htb_qopt->command != TC_HTB_CREATE) in mlx5e_htb_setup_tc() 396 priv->htb = mlx5e_htb_alloc(); in mlx5e_htb_setup_tc() 397 htb = priv->htb; in mlx5e_htb_setup_tc() 398 if (!htb) in mlx5e_htb_setup_tc() 402 mlx5e_htb_free(htb); in mlx5e_htb_setup_tc() 403 priv->htb = NULL; in mlx5e_htb_setup_tc() 407 mlx5e_htb_cleanup(htb); in mlx5e_htb_setup_tc() 408 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()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | qos.c | 1656 switch (htb->command) { in otx2_setup_tc_htb() 1659 htb->classid, htb->extack); in otx2_setup_tc_htb() 1665 htb->rate, htb->ceil, in otx2_setup_tc_htb() 1666 htb->prio, htb->quantum, in otx2_setup_tc_htb() 1667 htb->extack); in otx2_setup_tc_htb() 1670 htb->qid = res; in otx2_setup_tc_htb() 1674 htb->classid, htb->rate, in otx2_setup_tc_htb() 1675 htb->ceil, htb->prio, in otx2_setup_tc_htb() 1676 htb->quantum, htb->extack); in otx2_setup_tc_htb() 1678 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);
|
/openbmc/linux/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
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | conntrack_sctp_collision.sh | 51 tc -n $SERVER_NS qdisc add dev link0 root handle 1: htb 52 tc -n $SERVER_NS class add dev link0 parent 1: classid 1:1 htb rate 100mbit
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/marvell/ |
H A D | octeontx2.rst | 325 2. Crate htb root:: 328 # tc qdisc replace dev <interface> root handle 1: htb offload 332 # tc class add dev <interface> parent 1: classid 1:1 htb rate 10Gbit prio 1 334 # tc class add dev <interface> parent 1: classid 1:2 htb rate 10Gbit prio 7 338 # tc class add dev <interface> parent 1: classid 1:1 htb rate 10Gbit prio 2 quantum 409600 340 # tc class add dev <interface> parent 1: classid 1:2 htb rate 10Gbit prio 2 quantum 188416 342 # tc class add dev <interface> parent 1: classid 1:3 htb rate 10Gbit prio 2 quantum 32768
|
/openbmc/linux/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",
|
/openbmc/linux/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 | 937 struct mlx5e_htb *htb; member
|
H A D | en_main.c | 2592 if (priv->htb) { in mlx5e_open_channels() 2624 if (priv->htb) in mlx5e_activate_channels() 2790 if (priv->htb) in mlx5e_update_tx_netdev_queues() 2791 qos_queues = mlx5e_htb_cur_leaf_nodes(priv->htb); in mlx5e_update_tx_netdev_queues()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | rtnetlink.sh | 179 tc qdisc add dev "$dev" root handle 1: htb 181 tc class add dev "$dev" parent 1: classid 1:10 htb rate 1mbit 199 tc qdisc del dev "$dev" root handle 1: htb
|
/openbmc/linux/net/sched/ |
H A D | Kconfig | 53 <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
|
/openbmc/linux/net/netfilter/ |
H A D | Kconfig | 843 atm, cbq, dsmark, pfifo_fast, htb, prio
|