1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
8 Netlink raw family for tc qdisc, chain, class and filter configuration
51 doc: Number of enqueued bytes
55 doc: Number of enqueued packets
59 doc: Packets dropped because of lack of resources
64 Number of throttle events when this flow goes out of allocated bandwidth
68 doc: Current flow byte rate
72 doc: Current flow packet rate
122 doc: Queue length; bytes for bfifo, packets for pfifo
160 doc: bps->quantum divisor
164 doc: Default class number
172 doc: Count of non shaped packets
180 doc: HARD maximal queue length in bytes
184 doc: Min average length threshold in bytes
188 doc: Max average length threshold in bytes
218 doc: log(P_max / (qth-max - qth-min))
222 doc: cell size for idle damping
226 doc: Priority of this VQ
293 doc: Maximum number of queues
301 doc: Added delay in microseconds
305 doc: Fifo limit in packets
309 doc: Random packet loss (0=none, ~0=100%)
313 doc: Re-ordering gap (0 for none)
317 doc: Random packet duplication (0=none, ~0=100%)
321 doc: Random jitter latency in microseconds
323 name: tc-netem-gimodel
324 doc: State transition probabilities for 4 state model
343 name: tc-netem-gemodel
344 doc: Gilbert-Elliot models
366 doc: Delay correlation
370 doc: Packet loss correlation
374 doc: Duplicate correlation
376 name: tc-netem-reorder
386 name: tc-netem-corrupt
403 name: packet-overhead
455 doc: Map of logical priority -> PRIO band
463 doc: Hard queue length in packets
467 doc: Min average threshold in packets
471 doc: Max average threshold in packets
479 doc: log(P_max / (qth-max - qth-min))
483 doc: Cell size for idle damping
492 name: rehash-interval
525 doc: Bytes per round allocated to flow
529 doc: Period of hash perturbation
533 doc: Maximal packets in queue
541 doc: Maximal number of flows
543 name: tc-sfqred-stats
549 doc: Early drops, below max threshold
553 doc: Early drops, after max threshold
557 doc: Marked packets, below max threshold
561 doc: Marked packets, after max threshold
565 doc: Marked packets, below max threshold
567 name: forced-mark-head
569 doc: Marked packets, after max threshold
581 doc: Maximum number of packets per flow
588 doc: HARD maximal flow queue length in bytes
592 doc: Min average length threshold in bytes
596 doc: Max average length threshold in bytes
604 doc: log(P_max / (qth-max - qth-min))
608 doc: Cell size for idle damping
615 doc: probabilty, high resolution
619 struct: tc-sfqred-stats
702 doc: The log() of measurement window weight
704 name: tc-choke-xstats
714 doc: Drops due to queue limits
718 doc: Drops due to drop() calls
726 doc: Drops due to flow match
728 name: tc-codel-xstats
734 doc: Largest packet we've seen so far
738 doc: How many drops we've done since the last time we entered dropping state
742 doc: Count at entry to dropping state
746 doc: in-queue delay seen by most recently dequeued packet
750 doc: Time to drop next packet
754 doc: Number of times max qdisc packet limit was hit
758 doc: Number of packets we've ECN marked instead of dropped
762 doc: Are we in a dropping state?
766 doc: Number of CE marked packets because of ce-threshold
768 name: tc-fq-codel-xstats
777 doc: Largest packet we've seen so far
781 doc: Number of times max qdisc packet limit was hit
785 doc: Number of packets we ECN marked instead of being dropped
789 doc: Number of times packets created a new flow
793 doc: Count of flows in new list
797 doc: Count of flows in old list
801 doc: Packets above ce-threshold
805 doc: Memory usage in bytes
807 name: drop-overmemory
810 name: tc-fq-pie-xstats
816 doc: Total number of packets enqueued
820 doc: Packets dropped due to fq_pie_action
824 doc: Dropped due to lack of space in queue
828 doc: Dropped due to lack of memory in queue
832 doc: Packets marked with ecn
836 doc: Count of new flows created by packets
840 doc: Count of flows in new list
844 doc: Count of flows in old list
848 doc: Total memory across all queues
857 name: highprio-packets
874 name: allocation-errors
877 name: time-next-delayed-flow
886 name: throttled-flows
889 name: unthrottle-latency-ns
894 doc: Packets above ce-threshold
902 name: fastpath-packets
923 doc: Number of times max qdisc packet limit was hit
927 doc: Number of times max heavy-hitters was hit
931 doc: Number of captured heavy-hitters so far
935 doc: Number of current heavy-hitters
943 doc: Current probability
947 doc: Current delay in ms
951 doc: Current average dq rate in bits/pie-time
953 name: dq-rate-estimating
955 doc: Is avg-dq-rate being calculated?
959 doc: Total number of packets enqueued
963 doc: Packets dropped due to pie action
967 doc: Dropped due to lack of space in queue
971 doc: Maximum queue size
975 doc: Packets marked with ecn
987 doc: Drops due to queue limits
991 doc: Drops due to drop() calls
1015 doc: drops in child qdisc
1036 name: gnet-stats-basic
1046 name: gnet-stats-rate-est
1056 name: gnet-stats-rate-est64
1066 name: gnet-stats-queue
1091 byte-order: big-endian
1095 byte-order: big-endian
1118 byte-order: big-endian
1131 byte-order: big-endian
1135 struct: tc-u32-key # TODO: array
1148 type: u64 # TODO: array
1198 name: tcf-ematch-tree-hdr
1218 name: tc-matchall-pcnt
1310 struct: tc-pedit-key # TODO: array
1365 sub-message: tc-options-msg
1374 sub-message: tca-stats-app-msg
1379 struct: gnet-estimator
1386 nested-attributes: tca-stats-attrs
1390 nested-attributes: tca-stab-attrs
1395 name: dump-invisible
1424 sub-message: tc-act-options-msg
1432 nested-attributes: tc-act-stats-attrs
1452 name: tc-act-stats-attrs
1457 struct: gnet-stats-basic
1461 struct: gnet-stats-rate-est
1465 struct: gnet-stats-queue
1472 struct: gnet-stats-rate-est64
1479 struct: gnet-stats-basic
1484 name: tc-act-bpf-attrs
1515 name: tc-act-connmark-attrs
1528 name: tc-act-csum-attrs
1541 name: tc-act-ct-attrs
1571 byte-order: big-endian
1575 byte-order: big-endian
1585 byte-order: big-endian
1589 byte-order: big-endian
1603 name: tc-act-ctinfo-attrs
1619 name: parms-dscp-mask
1622 name: parms-dscp-statemask
1625 name: parms-cpmark-mask
1628 name: stats-dscp-set
1631 name: stats-dscp-error
1634 name: stats-cpmark-set
1637 name: tc-act-gate-attrs
1662 name: cycle-time-ext
1671 name: tc-act-ife-attrs
1696 name: tc-act-mirred-attrs
1712 name: tc-act-mpls-attrs
1728 byte-order: big-endian
1742 name: tc-act-nat-attrs
1755 name: tc-act-pedit-attrs
1764 struct: tc-pedit-sel
1778 name: tc-act-simple-attrs
1794 name: tc-act-skbedit-attrs
1825 name: queue-mapping-max
1828 name: tc-act-skbmod-attrs
1850 name: tc-act-tunnel-key-attrs
1862 byte-order: big-endian
1866 byte-order: big-endian
1876 byte-order: big-endian
1883 byte-order: big-endian
1900 name: tc-act-vlan-attrs
1914 name: push-vlan-protocol
1920 name: push-vlan-priority
1929 name: tc-basic-attrs
1937 nested-attributes: tc-ematch-attrs
1941 nested-attributes: tc-act-attrs
1945 nested-attributes: tc-police-attrs
1949 struct: tc-basic-pcnt
1959 nested-attributes: tc-act-attrs
1963 nested-attributes: tc-police-attrs
2049 name: tc-cake-stats-attrs
2055 name: capacity-estimate64
2081 nested-attributes: tc-cake-tin-stats-attrs
2101 name: tc-cake-tin-stats-attrs
2113 name: dropped-packets
2116 name: dropped-bytes64
2119 name: acks-dropped-packets
2122 name: acks-dropped-bytes64
2125 name: ecn-marked-packets
2128 name: ecn-marked-bytes64
2131 name: backlog-packets
2137 name: threshold-rate64
2146 name: way-indirect-hits
2152 name: way-collisions
2170 name: unresponsive-flows
2186 name: tc-cgroup-attrs
2191 nested-attributes: tc-act-attrs
2195 nested-attributes: tc-police-attrs
2200 name: tc-choke-attrs
2216 name: tc-codel-attrs
2240 name: tc-ematch-attrs
2245 struct: tcf-ematch-tree-hdr
2282 nested-attributes: tc-police-attrs
2290 name: tc-flower-attrs
2301 nested-attributes: tc-act-attrs
2307 name: key-eth-dst-mask
2315 name: key-eth-src-mask
2321 byte-order: big-endian
2328 byte-order: big-endian
2331 name: key-ipv4-src-mask
2333 byte-order: big-endian
2338 byte-order: big-endian
2341 name: key-ipv4-dst-mask
2343 byte-order: big-endian
2350 name: key-ipv6-src-mask
2358 name: key-ipv6-dst-mask
2364 byte-order: big-endian
2368 byte-order: big-endian
2372 byte-order: big-endian
2376 byte-order: big-endian
2385 byte-order: big-endian
2390 name: key-vlan-eth-type
2392 byte-order: big-endian
2394 name: key-enc-key-id
2396 byte-order: big-endian
2398 name: key-enc-ipv4-src
2400 byte-order: big-endian
2403 name: key-enc-ipv4-src-mask
2405 byte-order: big-endian
2408 name: key-enc-ipv4-dst
2410 byte-order: big-endian
2413 name: key-enc-ipv4-dst-mask
2415 byte-order: big-endian
2418 name: key-enc-ipv6-src
2422 name: key-enc-ipv6-src-mask
2426 name: key-enc-ipv6-dst
2430 name: key-enc-ipv6-dst-mask
2434 name: key-tcp-src-mask
2436 byte-order: big-endian
2438 name: key-tcp-dst-mask
2440 byte-order: big-endian
2442 name: key-udp-src-mask
2444 byte-order: big-endian
2446 name: key-udp-dst-mask
2448 byte-order: big-endian
2450 name: key-sctp-src-mask
2452 byte-order: big-endian
2454 name: key-sctp-dst-mask
2456 byte-order: big-endian
2460 byte-order: big-endian
2464 byte-order: big-endian
2466 name: key-enc-udp-src-port
2468 byte-order: big-endian
2470 name: key-enc-udp-src-port-mask
2472 byte-order: big-endian
2474 name: key-enc-udp-dst-port
2476 byte-order: big-endian
2478 name: key-enc-udp-dst-port-mask
2480 byte-order: big-endian
2484 byte-order: big-endian
2486 name: key-flags-mask
2488 byte-order: big-endian
2490 name: key-icmpv4-code
2493 name: key-icmpv4-code-mask
2496 name: key-icmpv4-type
2499 name: key-icmpv4-type-mask
2502 name: key-icmpv6-code
2505 name: key-icmpv6-code-mask
2508 name: key-icmpv6-type
2511 name: key-icmpv6-type-mask
2516 byte-order: big-endian
2518 name: key-arp-sip-mask
2520 byte-order: big-endian
2524 byte-order: big-endian
2526 name: key-arp-tip-mask
2528 byte-order: big-endian
2533 name: key-arp-op-mask
2540 name: key-arp-sha-mask
2548 name: key-arp-tha-mask
2561 name: key-mpls-label
2563 byte-order: big-endian
2567 byte-order: big-endian
2569 name: key-tcp-flags-mask
2571 byte-order: big-endian
2576 name: key-ip-tos-mask
2582 name: key-ip-ttl-mask
2587 byte-order: big-endian
2589 name: key-cvlan-prio
2592 name: key-cvlan-eth-type
2594 byte-order: big-endian
2596 name: key-enc-ip-tos
2599 name: key-enc-ip-tos-mask
2602 name: key-enc-ip-ttl
2605 name: key-enc-ip-ttl-mask
2610 nested-attributes: tc-flower-key-enc-opts-attrs
2612 name: key-enc-opts-mask
2614 nested-attributes: tc-flower-key-enc-opts-attrs
2619 name: key-port-src-min
2621 byte-order: big-endian
2623 name: key-port-src-max
2625 byte-order: big-endian
2627 name: key-port-dst-min
2629 byte-order: big-endian
2631 name: key-port-dst-max
2633 byte-order: big-endian
2638 name: key-ct-state-mask
2644 name: key-ct-zone-mask
2650 name: key-ct-mark-mask
2656 name: key-ct-labels-mask
2661 nested-attributes: tc-flower-key-mpls-opt-attrs
2669 name: key-num-of-vlans
2674 byte-order: big-endian
2678 byte-order: big-endian
2680 name: key-l2-tpv3-sid
2682 byte-order: big-endian
2689 nested-attributes: tc-flower-key-cfm-attrs
2693 byte-order: big-endian
2697 byte-order: big-endian
2699 name: tc-flower-key-enc-opts-attrs
2704 nested-attributes: tc-flower-key-enc-opt-geneve-attrs
2708 nested-attributes: tc-flower-key-enc-opt-vxlan-attrs
2712 nested-attributes: tc-flower-key-enc-opt-erspan-attrs
2716 nested-attributes: tc-flower-key-enc-opt-gtp-attrs
2718 name: tc-flower-key-enc-opt-geneve-attrs
2730 name: tc-flower-key-enc-opt-vxlan-attrs
2736 name: tc-flower-key-enc-opt-erspan-attrs
2751 name: tc-flower-key-enc-opt-gtp-attrs
2760 name: tc-flower-key-mpls-opt-attrs
2778 name: tc-flower-key-cfm-attrs
2795 nested-attributes: tc-police-attrs
2802 nested-attributes: tc-act-attrs
2811 type: binary # array of struct: tc-gred-qopt
2819 struct: tc-gred-sopt
2830 nested-attributes: tca-gred-vq-list-attrs
2832 name: tca-gred-vq-list-attrs
2837 nested-attributes: tca-gred-vq-entry-attrs
2840 name: tca-gred-vq-entry-attrs
2858 name: stat-prob-drop
2861 name: stat-prob-mark
2864 name: stat-forced-drop
2867 name: stat-forced-mark
2900 name: hh-flows-limit
2947 name: tc-matchall-attrs
2955 nested-attributes: tc-act-attrs
2962 struct: tc-matchall-pcnt
2985 nested-attributes: tc-ets-attrs
2993 nested-attributes: tc-ets-attrs
3004 doc: Limit of total number of packets in queue
3008 doc: Limit of packets per flow
3014 name: initial-quantum
3016 doc: RR quantum for new flow
3020 doc: Enable / disable rate limiting
3022 name: flow-default-rate
3024 doc: Obsolete, do not use
3028 doc: Per flow max rate
3032 doc: log2(number of buckets)
3034 name: flow-refill-delay
3036 doc: Flow credit refill delay in usec
3040 doc: Mask applied to orphaned skb hashes
3042 name: low-rate-threshold
3044 doc: Per packet delay under this rate
3048 doc: DCTCP-like CE marking threshold
3055 doc: Time horizon in usec
3059 doc: Drop packets beyond horizon, or cap their EDT
3063 struct: tc-prio-qopt
3068 doc: Weights for each band
3070 name: tc-fq-codel-attrs
3094 name: drop-batch-size
3100 name: ce-threshold-selector
3103 name: ce-threshold-mask
3106 name: tc-fq-pie-attrs
3142 name: dq-rate-estimator
3145 name: tc-netem-attrs
3150 struct: tc-netem-corr
3158 struct: tc-netem-reorder
3162 struct: tc-netem-corrupt
3166 nested-attributes: tc-netem-loss-attrs
3170 struct: tc-netem-rate
3189 struct: tc-netem-slot
3198 name: tc-netem-loss-attrs
3203 doc: General Intuitive - 4 state model
3204 struct: tc-netem-gimodel
3208 doc: Gilbert Elliot models
3209 struct: tc-netem-gemodel
3235 name: dq-rate-estimator
3238 name: tc-police-attrs
3301 name: early-drop-block
3307 name: tc-route-attrs
3324 nested-attributes: tc-police-attrs
3328 nested-attributes: tc-act-attrs
3330 name: tc-taprio-attrs
3335 struct: tc-mqprio-qopt
3337 name: sched-entry-list
3339 nested-attributes: tc-taprio-sched-entry-list
3341 name: sched-base-time
3344 name: sched-single-entry
3346 nested-attributes: tc-taprio-sched-entry
3357 name: sched-cycle-time
3360 name: sched-cycle-time-extension
3371 nested-attributes: tc-taprio-tc-entry-attrs
3373 name: tc-taprio-sched-entry-list
3378 nested-attributes: tc-taprio-sched-entry
3381 name: tc-taprio-sched-entry
3396 name: tc-taprio-tc-entry-attrs
3436 name: tc-act-sample-attrs
3459 name: tc-act-gact-attrs
3477 name: tca-stab-attrs
3487 name: tca-stats-attrs
3492 struct: gnet-stats-basic
3496 struct: gnet-stats-rate-est
3500 struct: gnet-stats-queue
3504 sub-message: tca-stats-app-msg
3509 struct: gnet-stats-rate-est64
3516 struct: gnet-stats-basic
3542 nested-attributes: tc-police-attrs
3546 nested-attributes: tc-act-attrs
3567 name: tc-options-msg
3571 attribute-set: tc-basic-attrs
3574 attribute-set: tc-bpf-attrs
3577 fixed-header: tc-fifo-qopt
3580 attribute-set: tc-cake-attrs
3583 attribute-set: tc-cbs-attrs
3586 attribute-set: tc-cgroup-attrs
3589 attribute-set: tc-choke-attrs
3591 value: clsact # no content
3594 attribute-set: tc-codel-attrs
3597 attribute-set: tc-drr-attrs
3600 attribute-set: tc-etf-attrs
3603 attribute-set: tc-ets-attrs
3606 attribute-set: tc-flow-attrs
3609 attribute-set: tc-flower-attrs
3612 attribute-set: tc-fq-attrs
3615 attribute-set: tc-fq-codel-attrs
3618 attribute-set: tc-fq-pie-attrs
3621 attribute-set: tc-fw-attrs
3624 attribute-set: tc-gred-attrs
3627 fixed-header: tc-hfsc-qopt
3630 attribute-set: tc-hhf-attrs
3633 attribute-set: tc-htb-attrs
3635 value: ingress # no content
3638 attribute-set: tc-matchall-attrs
3640 value: mq # no content
3643 fixed-header: tc-mqprio-qopt
3646 fixed-header: tc-multiq-qopt
3649 fixed-header: tc-netem-qopt
3650 attribute-set: tc-netem-attrs
3653 fixed-header: tc-fifo-qopt
3656 fixed-header: tc-prio-qopt
3658 value: pfifo_head_drop
3659 fixed-header: tc-fifo-qopt
3662 attribute-set: tc-pie-attrs
3665 fixed-header: tc-plug-qopt
3668 fixed-header: tc-prio-qopt
3671 attribute-set: tc-qfq-attrs
3674 attribute-set: tc-red-attrs
3677 attribute-set: tc-route-attrs
3680 fixed-header: tc-sfb-qopt
3683 fixed-header: tc-sfq-qopt-v1
3686 attribute-set: tc-taprio-attrs
3689 attribute-set: tc-tbf-attrs
3692 attribute-set: tc-u32-attrs
3694 name: tc-act-options-msg
3698 attribute-set: tc-act-bpf-attrs
3701 attribute-set: tc-act-connmark-attrs
3704 attribute-set: tc-act-csum-attrs
3707 attribute-set: tc-act-ct-attrs
3710 attribute-set: tc-act-ctinfo-attrs
3713 attribute-set: tc-act-gact-attrs
3716 attribute-set: tc-act-gate-attrs
3719 attribute-set: tc-act-ife-attrs
3722 attribute-set: tc-act-mirred-attrs
3725 attribute-set: tc-act-mpls-attrs
3728 attribute-set: tc-act-nat-attrs
3731 attribute-set: tc-act-pedit-attrs
3734 attribute-set: tc-act-police-attrs
3737 attribute-set: tc-act-sample-attrs
3740 attribute-set: tc-act-simple-attrs
3743 attribute-set: tc-act-skbedit-attrs
3746 attribute-set: tc-act-skbmod-attrs
3749 attribute-set: tc-act-tunnel-key-attrs
3752 attribute-set: tc-act-vlan-attrs
3754 name: tca-stats-app-msg
3758 attribute-set: tc-cake-stats-attrs
3761 fixed-header: tc-choke-xstats
3764 fixed-header: tc-codel-xstats
3767 fixed-header: tc-fq-qd-stats
3770 fixed-header: tc-fq-codel-xstats
3773 fixed-header: tc-fq-pie-xstats
3776 fixed-header: tc-hhf-xstats
3779 fixed-header: tc-pie-xstats
3782 fixed-header: tc-red-xstats
3785 fixed-header: tc-sfb-xstats
3788 fixed-header: tc-sfq-xstats
3791 enum-model: directional
3795 doc: Create new tc qdisc.
3796 attribute-set: tc-attrs
3801 attributes: &create-params
3810 doc: Delete existing tc qdisc.
3811 attribute-set: tc-attrs
3818 doc: Get / dump tc qdisc information.
3819 attribute-set: tc-attrs
3842 doc: Get / dump tc traffic class information.
3843 attribute-set: tc-attrs
3848 attributes: *create-params
3851 doc: Get / dump tc traffic class information.
3852 attribute-set: tc-attrs
3859 doc: Get / dump tc traffic class information.
3860 attribute-set: tc-attrs
3870 doc: Get / dump tc filter information.
3871 attribute-set: tc-attrs
3876 attributes: *create-params
3879 doc: Get / dump tc filter information.
3880 attribute-set: tc-attrs
3890 doc: Get / dump tc filter information.
3891 attribute-set: tc-attrs
3913 doc: Get / dump tc chain information.
3914 attribute-set: tc-attrs
3919 attributes: *create-params
3922 doc: Get / dump tc chain information.
3923 attribute-set: tc-attrs
3932 doc: Get / dump tc chain information.
3933 attribute-set: tc-attrs