# Family tc netlink specification

_Peios Kernel / Internals / Netlink / specs_

> Protocol reference for the tc Netlink family, generated from the Peios kernel specification.

<!-- SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) -->


<a id="rst-family-tc-netlink-specification"></a>
<a id="rst-netlink-tc"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-summary"></a>



## Summary



Netlink raw family for tc qdisc, chain, class and filter configuration over rtnetlink.

<a id="rst-operations"></a>



## Operations

<a id="rst-newqdisc"></a>
<a id="rst-tc-operation-newqdisc"></a>



### newqdisc



Create new tc qdisc.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

  - **attributes**:

    \[`kind`, `options`, `rate`, `chain`, `ingress-block`, `egress-block`\]

<a id="rst-delqdisc"></a>
<a id="rst-tc-operation-delqdisc"></a>



### delqdisc



Delete existing tc qdisc.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

<a id="rst-getqdisc"></a>
<a id="rst-tc-operation-getqdisc"></a>



### getqdisc



Get / dump tc qdisc information.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

  - **attributes**:

    \[`dump-invisible`\]

  **reply**

  - **attributes**:

    \[`kind`, `options`, `stats`, `xstats`, `rate`, `fcnt`, `stats2`, `stab`, `chain`, `ingress-block`, `egress-block`\]

- **dump**:

  **request**

  - **attributes**:

    \[`dump-invisible`\]

  **reply**

  - **attributes**:

    \[`kind`, `options`, `stats`, `xstats`, `rate`, `fcnt`, `stats2`, `stab`, `chain`, `ingress-block`, `egress-block`\]

<a id="rst-newtclass"></a>
<a id="rst-tc-operation-newtclass"></a>



### newtclass



Get / dump tc traffic class information.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

  - **attributes**:

    \[`kind`, `options`, `rate`, `chain`, `ingress-block`, `egress-block`\]

<a id="rst-deltclass"></a>
<a id="rst-tc-operation-deltclass"></a>



### deltclass



Get / dump tc traffic class information.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

<a id="rst-gettclass"></a>
<a id="rst-tc-operation-gettclass"></a>



### gettclass



Get / dump tc traffic class information.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

  **reply**

  - **attributes**:

    \[`kind`, `options`, `stats`, `xstats`, `rate`, `fcnt`, `stats2`, `stab`, `chain`, `ingress-block`, `egress-block`\]

<a id="rst-newtfilter"></a>
<a id="rst-tc-operation-newtfilter"></a>



### newtfilter



Get / dump tc filter information.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

  - **attributes**:

    \[`kind`, `options`, `rate`, `chain`, `ingress-block`, `egress-block`\]

<a id="rst-deltfilter"></a>
<a id="rst-tc-operation-deltfilter"></a>



### deltfilter



Get / dump tc filter information.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

  - **attributes**:

    \[`chain`, `kind`\]

<a id="rst-gettfilter"></a>
<a id="rst-tc-operation-gettfilter"></a>



### gettfilter



Get / dump tc filter information.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

  - **attributes**:

    \[`chain`, `kind`\]

  **reply**

  - **attributes**:

    \[`kind`, `options`, `stats`, `xstats`, `rate`, `fcnt`, `stats2`, `stab`, `chain`, `ingress-block`, `egress-block`\]

- **dump**:

  **request**

  - **attributes**:

    \[`chain`, `dump-flags`\]

  **reply**

  - **attributes**:

    \[`kind`, `options`, `stats`, `xstats`, `rate`, `fcnt`, `stats2`, `stab`, `chain`, `ingress-block`, `egress-block`\]

<a id="rst-newchain"></a>
<a id="rst-tc-operation-newchain"></a>



### newchain



Get / dump tc chain information.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

  - **attributes**:

    \[`kind`, `options`, `rate`, `chain`, `ingress-block`, `egress-block`\]

<a id="rst-delchain"></a>
<a id="rst-tc-operation-delchain"></a>



### delchain



Get / dump tc chain information.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

  - **attributes**:

    \[`chain`\]

<a id="rst-getchain"></a>
<a id="rst-tc-operation-getchain"></a>



### getchain



Get / dump tc chain information.

- **attribute-set**:

  [attrs](#rst-tc-attribute-set-attrs)

- **fixed-header**:

  [tcmsg](#rst-tc-definition-tcmsg)

- **do**:

  **request**

  - **attributes**:

    \[`chain`\]

  **reply**

  - **attributes**:

    \[`kind`, `options`, `stats`, `xstats`, `rate`, `fcnt`, `stats2`, `stab`, `chain`, `ingress-block`, `egress-block`\]

<a id="rst-multicast-groups"></a>



## Multicast groups

- rtnlgrp-tc


<a id="rst-definitions"></a>



## Definitions

<a id="rst-tcmsg"></a>
<a id="rst-tc-definition-tcmsg"></a>



### tcmsg

- **type**:

  struct

- **header**:

  linux/rtnetlink.h

- **members**:

  - **family (`u8`)**

  - **ifindex (`s32`)**

  - **handle (`u32`)**

  - **parent (`u32`)**

  - **info (`u32`)**

<a id="rst-cls-flags"></a>
<a id="rst-tc-definition-cls-flags"></a>



### cls-flags

- **enum-name**:

  None

- **type**:

  flags

- **entries**:

  - `skip-hw`


  - `skip-sw`


  - `in-hw`


  - `not-in-nw`


  - `verbose`

<a id="rst-flower-key-ctrl-flags"></a>
<a id="rst-tc-definition-flower-key-ctrl-flags"></a>



### flower-key-ctrl-flags

- **name-prefix**:

  tca-flower-key-flags-

- **enum-name**:

  None

- **type**:

  flags

- **entries**:

  - `frag`


  - `firstfrag`


  - `tuncsum`


  - `tundf`


  - `tunoam`


  - `tuncrit`

<a id="rst-dualpi2-drop-overload"></a>
<a id="rst-tc-definition-dualpi2-drop-overload"></a>



### dualpi2-drop-overload

- **type**:

  enum

- **entries**:

  - `overflow`


  - `drop`

<a id="rst-dualpi2-drop-early"></a>
<a id="rst-tc-definition-dualpi2-drop-early"></a>



### dualpi2-drop-early

- **type**:

  enum

- **entries**:

  - `drop-dequeue`


  - `drop-enqueue`

<a id="rst-dualpi2-ecn-mask"></a>
<a id="rst-tc-definition-dualpi2-ecn-mask"></a>



### dualpi2-ecn-mask

- **type**:

  enum

- **value-start**:

  1

- **entries**:

  - `l4s-ect`


  - `cla-ect`


  - `any-ect`

<a id="rst-dualpi2-split-gso"></a>
<a id="rst-tc-definition-dualpi2-split-gso"></a>



### dualpi2-split-gso

- **type**:

  enum

- **entries**:

  - `no-split-gso`


  - `split-gso`

<a id="rst-tc-stats"></a>
<a id="rst-tc-definition-tc-stats"></a>



### tc-stats

- **type**:

  struct

- **members**:

  - **bytes (`u64`)**:

    Number of enqueued bytes

  - **packets (`u32`)**:

    Number of enqueued packets

  - **drops (`u32`)**:

    Packets dropped because of lack of resources

  - **overlimits (`u32`)**:

    Number of throttle events when this flow goes out of allocated bandwidth

  - **bps (`u32`)**:

    Current flow byte rate

  - **pps (`u32`)**:

    Current flow packet rate

  - **qlen (`u32`)**

  - **backlog (`u32`)**

<a id="rst-tc-cbs-qopt"></a>
<a id="rst-tc-definition-tc-cbs-qopt"></a>



### tc-cbs-qopt

- **type**:

  struct

- **members**:

  - **offload (`u8`)**

  - **hicredit (`s32`)**

  - **locredit (`s32`)**

  - **idleslope (`s32`)**

  - **sendslope (`s32`)**

<a id="rst-tc-etf-qopt"></a>
<a id="rst-tc-definition-tc-etf-qopt"></a>



### tc-etf-qopt

- **type**:

  struct

- **members**:

  - **delta (`s32`)**

  - **clockid (`s32`)**

  - **flags (`s32`)**

<a id="rst-tc-fifo-qopt"></a>
<a id="rst-tc-definition-tc-fifo-qopt"></a>



### tc-fifo-qopt

- **type**:

  struct

- **members**:

  - **limit (`u32`)**:

    Queue length; bytes for bfifo, packets for pfifo

<a id="rst-tc-htb-opt"></a>
<a id="rst-tc-definition-tc-htb-opt"></a>



### tc-htb-opt

- **type**:

  struct

- **members**:

  - **rate (`binary`)**

  - **ceil (`binary`)**

  - **buffer (`u32`)**

  - **cbuffer (`u32`)**

  - **quantum (`u32`)**

  - **level (`u32`)**

  - **prio (`u32`)**

<a id="rst-tc-htb-glob"></a>
<a id="rst-tc-definition-tc-htb-glob"></a>



### tc-htb-glob

- **type**:

  struct

- **members**:

  - **version (`u32`)**

  - **rate2quantum (`u32`)**:

    bps-\>quantum divisor

  - **defcls (`u32`)**:

    Default class number

  - **debug (`u32`)**:

    Debug flags

  - **direct-pkts (`u32`)**:

    Count of non shaped packets

<a id="rst-tc-gred-qopt"></a>
<a id="rst-tc-definition-tc-gred-qopt"></a>



### tc-gred-qopt

- **type**:

  struct

- **members**:

  - **limit (`u32`)**:

    HARD maximal queue length in bytes

  - **qth-min (`u32`)**:

    Min average length threshold in bytes

  - **qth-max (`u32`)**:

    Max average length threshold in bytes

  - **DP (`u32`)**:

    Up to 2^32 DPs

  - **backlog (`u32`)**

  - **qave (`u32`)**

  - **forced (`u32`)**

  - **early (`u32`)**

  - **other (`u32`)**

  - **pdrop (`u32`)**

  - **Wlog (`u8`)**:

    log(W)

  - **Plog (`u8`)**:

    log(P\_max / (qth-max - qth-min))

  - **Scell-log (`u8`)**:

    cell size for idle damping

  - **prio (`u8`)**:

    Priority of this VQ

  - **packets (`u32`)**

  - **bytesin (`u32`)**

<a id="rst-tc-gred-sopt"></a>
<a id="rst-tc-definition-tc-gred-sopt"></a>



### tc-gred-sopt

- **type**:

  struct

- **members**:

  - **DPs (`u32`)**

  - **def-DP (`u32`)**

  - **grio (`u8`)**

  - **flags (`u8`)**

<a id="rst-tc-hfsc-qopt"></a>
<a id="rst-tc-definition-tc-hfsc-qopt"></a>



### tc-hfsc-qopt

- **type**:

  struct

- **members**:

  - **defcls (`u16`)**

<a id="rst-tc-mqprio-qopt"></a>
<a id="rst-tc-definition-tc-mqprio-qopt"></a>



### tc-mqprio-qopt

- **type**:

  struct

- **members**:

  - **num-tc (`u8`)**

  - **prio-tc-map (`binary`)**

  - **hw (`u8`)**

  - **count (`binary`)**

  - **offset (`binary`)**

<a id="rst-tc-multiq-qopt"></a>
<a id="rst-tc-definition-tc-multiq-qopt"></a>



### tc-multiq-qopt

- **type**:

  struct

- **members**:

  - **bands (`u16`)**:

    Number of bands

  - **max-bands (`u16`)**:

    Maximum number of queues

<a id="rst-tc-netem-qopt"></a>
<a id="rst-tc-definition-tc-netem-qopt"></a>



### tc-netem-qopt

- **type**:

  struct

- **members**:

  - **latency (`u32`)**:

    Added delay in microseconds

  - **limit (`u32`)**:

    Fifo limit in packets

  - **loss (`u32`)**:

    Random packet loss (0=none, \~0=100%)

  - **gap (`u32`)**:

    Re-ordering gap (0 for none)

  - **duplicate (`u32`)**:

    Random packet duplication (0=none, \~0=100%)

  - **jitter (`u32`)**:

    Random jitter latency in microseconds

<a id="rst-tc-netem-gimodel"></a>
<a id="rst-tc-definition-tc-netem-gimodel"></a>



### tc-netem-gimodel

- **doc**:

  State transition probabilities for 4 state model

- **type**:

  struct

- **members**:

  - **p13 (`u32`)**

  - **p31 (`u32`)**

  - **p32 (`u32`)**

  - **p14 (`u32`)**

  - **p23 (`u32`)**

<a id="rst-tc-netem-gemodel"></a>
<a id="rst-tc-definition-tc-netem-gemodel"></a>



### tc-netem-gemodel

- **doc**:

  Gilbert-Elliot models

- **type**:

  struct

- **members**:

  - **p (`u32`)**

  - **r (`u32`)**

  - **h (`u32`)**

  - **k1 (`u32`)**

<a id="rst-tc-netem-corr"></a>
<a id="rst-tc-definition-tc-netem-corr"></a>



### tc-netem-corr

- **type**:

  struct

- **members**:

  - **delay-corr (`u32`)**:

    Delay correlation

  - **loss-corr (`u32`)**:

    Packet loss correlation

  - **dup-corr (`u32`)**:

    Duplicate correlation

<a id="rst-tc-netem-reorder"></a>
<a id="rst-tc-definition-tc-netem-reorder"></a>



### tc-netem-reorder

- **type**:

  struct

- **members**:

  - **probability (`u32`)**

  - **correlation (`u32`)**

<a id="rst-tc-netem-corrupt"></a>
<a id="rst-tc-definition-tc-netem-corrupt"></a>



### tc-netem-corrupt

- **type**:

  struct

- **members**:

  - **probability (`u32`)**

  - **correlation (`u32`)**

<a id="rst-tc-netem-rate"></a>
<a id="rst-tc-definition-tc-netem-rate"></a>



### tc-netem-rate

- **type**:

  struct

- **members**:

  - **rate (`u32`)**

  - **packet-overhead (`s32`)**

  - **cell-size (`u32`)**

  - **cell-overhead (`s32`)**

<a id="rst-tc-netem-slot"></a>
<a id="rst-tc-definition-tc-netem-slot"></a>



### tc-netem-slot

- **type**:

  struct

- **members**:

  - **min-delay (`s64`)**

  - **max-delay (`s64`)**

  - **max-packets (`s32`)**

  - **max-bytes (`s32`)**

  - **dist-delay (`s64`)**

  - **dist-jitter (`s64`)**

<a id="rst-tc-plug-qopt"></a>
<a id="rst-tc-definition-tc-plug-qopt"></a>



### tc-plug-qopt

- **type**:

  struct

- **members**:

  - **action (`s32`)**

  - **limit (`u32`)**

<a id="rst-tc-prio-qopt"></a>
<a id="rst-tc-definition-tc-prio-qopt"></a>



### tc-prio-qopt

- **type**:

  struct

- **members**:

  - **bands (`u32`)**:

    Number of bands

  - **priomap (`binary`)**:

    Map of logical priority -\> PRIO band

<a id="rst-tc-red-qopt"></a>
<a id="rst-tc-definition-tc-red-qopt"></a>



### tc-red-qopt

- **type**:

  struct

- **members**:

  - **limit (`u32`)**:

    Hard queue length in packets

  - **qth-min (`u32`)**:

    Min average threshold in packets

  - **qth-max (`u32`)**:

    Max average threshold in packets

  - **Wlog (`u8`)**:

    log(W)

  - **Plog (`u8`)**:

    log(P\_max / (qth-max - qth-min))

  - **Scell-log (`u8`)**:

    Cell size for idle damping

  - **flags (`u8`)**

<a id="rst-tc-sfb-qopt"></a>
<a id="rst-tc-definition-tc-sfb-qopt"></a>



### tc-sfb-qopt

- **type**:

  struct

- **members**:

  - **rehash-interval (`u32`)**

  - **warmup-time (`u32`)**

  - **max (`u32`)**

  - **bin-size (`u32`)**

  - **increment (`u32`)**

  - **decrement (`u32`)**

  - **limit (`u32`)**

  - **penalty-rate (`u32`)**

  - **penalty-burst (`u32`)**

<a id="rst-tc-sfq-qopt"></a>
<a id="rst-tc-definition-tc-sfq-qopt"></a>



### tc-sfq-qopt

- **type**:

  struct

- **members**:

  - **quantum (`u32`)**:

    Bytes per round allocated to flow

  - **perturb-period (`s32`)**:

    Period of hash perturbation

  - **limit (`u32`)**:

    Maximal packets in queue

  - **divisor (`u32`)**:

    Hash divisor

  - **flows (`u32`)**:

    Maximal number of flows

<a id="rst-tc-sfqred-stats"></a>
<a id="rst-tc-definition-tc-sfqred-stats"></a>



### tc-sfqred-stats

- **type**:

  struct

- **members**:

  - **prob-drop (`u32`)**:

    Early drops, below max threshold

  - **forced-drop (`u32`)**:

    Early drops, after max threshold

  - **prob-mark (`u32`)**:

    Marked packets, below max threshold

  - **forced-mark (`u32`)**:

    Marked packets, after max threshold

  - **prob-mark-head (`u32`)**:

    Marked packets, below max threshold

  - **forced-mark-head (`u32`)**:

    Marked packets, after max threshold

<a id="rst-tc-sfq-qopt-v1"></a>
<a id="rst-tc-definition-tc-sfq-qopt-v1"></a>



### tc-sfq-qopt-v1

- **type**:

  struct

- **members**:

  - **v0 (`binary`)**

  - **depth (`u32`)**:

    Maximum number of packets per flow

  - **headdrop (`u32`)**

  - **limit (`u32`)**:

    HARD maximal flow queue length in bytes

  - **qth-min (`u32`)**:

    Min average length threshold in bytes

  - **qth-max (`u32`)**:

    Max average length threshold in bytes

  - **Wlog (`u8`)**:

    log(W)

  - **Plog (`u8`)**:

    log(P\_max / (qth-max - qth-min))

  - **Scell-log (`u8`)**:

    Cell size for idle damping

  - **flags (`u8`)**

  - **max-P (`u32`)**:

    probability, high resolution

  - **stats (`binary`)**

<a id="rst-tc-ratespec"></a>
<a id="rst-tc-definition-tc-ratespec"></a>



### tc-ratespec

- **type**:

  struct

- **header**:

  linux/pkt\_sched.h

- **members**:

  - **cell-log (`u8`)**

  - **linklayer (`u8`)**

  - **overhead (`u8`)**

  - **cell-align (`u8`)**

  - **mpu (`u8`)**

  - **rate (`u32`)**

<a id="rst-tc-tbf-qopt"></a>
<a id="rst-tc-definition-tc-tbf-qopt"></a>



### tc-tbf-qopt

- **type**:

  struct

- **members**:

  - **rate (`binary`)**

  - **peakrate (`binary`)**

  - **limit (`u32`)**

  - **buffer (`u32`)**

  - **mtu (`u32`)**

<a id="rst-tc-sizespec"></a>
<a id="rst-tc-definition-tc-sizespec"></a>



### tc-sizespec

- **type**:

  struct

- **members**:

  - **cell-log (`u8`)**

  - **size-log (`u8`)**

  - **cell-align (`s16`)**

  - **overhead (`s32`)**

  - **linklayer (`u32`)**

  - **mpu (`u32`)**

  - **mtu (`u32`)**

  - **tsize (`u32`)**

<a id="rst-gnet-estimator"></a>
<a id="rst-tc-definition-gnet-estimator"></a>



### gnet-estimator

- **type**:

  struct

- **members**:

  - **interval (`s8`)**:

    Sampling period

  - **ewma-log (`u8`)**:

    The log() of measurement window weight

<a id="rst-tc-choke-xstats"></a>
<a id="rst-tc-definition-tc-choke-xstats"></a>



### tc-choke-xstats

- **type**:

  struct

- **members**:

  - **early (`u32`)**:

    Early drops

  - **pdrop (`u32`)**:

    Drops due to queue limits

  - **other (`u32`)**:

    Drops due to drop() calls

  - **marked (`u32`)**:

    Marked packets

  - **matched (`u32`)**:

    Drops due to flow match

<a id="rst-tc-codel-xstats"></a>
<a id="rst-tc-definition-tc-codel-xstats"></a>



### tc-codel-xstats

- **type**:

  struct

- **members**:

  - **maxpacket (`u32`)**:

    Largest packet we've seen so far

  - **count (`u32`)**:

    How many drops we've done since the last time we entered dropping state

  - **lastcount (`u32`)**:

    Count at entry to dropping state

  - **ldelay (`u32`)**:

    in-queue delay seen by most recently dequeued packet

  - **drop-next (`s32`)**:

    Time to drop next packet

  - **drop-overlimit (`u32`)**:

    Number of times max qdisc packet limit was hit

  - **ecn-mark (`u32`)**:

    Number of packets we've ECN marked instead of dropped

  - **dropping (`u32`)**:

    Are we in a dropping state?

  - **ce-mark (`u32`)**:

    Number of CE marked packets because of ce-threshold

<a id="rst-tc-fq-codel-xstats"></a>
<a id="rst-tc-definition-tc-fq-codel-xstats"></a>



### tc-fq-codel-xstats

- **type**:

  struct

- **members**:

  - **type (`u32`)**

  - **maxpacket (`u32`)**:

    Largest packet we've seen so far

  - **drop-overlimit (`u32`)**:

    Number of times max qdisc packet limit was hit

  - **ecn-mark (`u32`)**:

    Number of packets we ECN marked instead of being dropped

  - **new-flow-count (`u32`)**:

    Number of times packets created a new flow

  - **new-flows-len (`u32`)**:

    Count of flows in new list

  - **old-flows-len (`u32`)**:

    Count of flows in old list

  - **ce-mark (`u32`)**:

    Packets above ce-threshold

  - **memory-usage (`u32`)**:

    Memory usage in bytes

  - **drop-overmemory (`u32`)**

<a id="rst-tc-dualpi2-xstats"></a>
<a id="rst-tc-definition-tc-dualpi2-xstats"></a>



### tc-dualpi2-xstats

- **type**:

  struct

- **members**:

  - **prob (`u32`)**:

    Current base PI probability

  - **delay-c (`u32`)**:

    Current C-queue delay in microseconds

  - **delay-l (`u32`)**:

    Current L-queue delay in microseconds

  - **pkts-in-c (`u32`)**:

    Number of packets enqueued in the C-queue

  - **pkts-in-l (`u32`)**:

    Number of packets enqueued in the L-queue

  - **maxq (`u32`)**:

    Maximum number of packets seen by the DualPI2

  - **ecn-mark (`u32`)**:

    All packets marked with ECN

  - **step-mark (`u32`)**:

    Only packets marked with ECN due to L-queue step AQM

  - **credit (`s32`)**:

    Current credit value for WRR

  - **memory-used (`u32`)**:

    Memory used in bytes by the DualPI2

  - **max-memory-used (`u32`)**:

    Maximum memory used in bytes by the DualPI2

  - **memory-limit (`u32`)**:

    Memory limit in bytes

<a id="rst-tc-fq-pie-xstats"></a>
<a id="rst-tc-definition-tc-fq-pie-xstats"></a>



### tc-fq-pie-xstats

- **type**:

  struct

- **members**:

  - **packets-in (`u32`)**:

    Total number of packets enqueued

  - **dropped (`u32`)**:

    Packets dropped due to fq\_pie\_action

  - **overlimit (`u32`)**:

    Dropped due to lack of space in queue

  - **overmemory (`u32`)**:

    Dropped due to lack of memory in queue

  - **ecn-mark (`u32`)**:

    Packets marked with ECN

  - **new-flow-count (`u32`)**:

    Count of new flows created by packets

  - **new-flows-len (`u32`)**:

    Count of flows in new list

  - **old-flows-len (`u32`)**:

    Count of flows in old list

  - **memory-usage (`u32`)**:

    Total memory across all queues

<a id="rst-tc-fq-qd-stats"></a>
<a id="rst-tc-definition-tc-fq-qd-stats"></a>



### tc-fq-qd-stats

- **type**:

  struct

- **members**:

  - **gc-flows (`u64`)**

  - **highprio-packets (`u64`)**:

    obsolete

  - **tcp-retrans (`u64`)**:

    obsolete

  - **throttled (`u64`)**

  - **flows-plimit (`u64`)**

  - **pkts-too-long (`u64`)**

  - **allocation-errors (`u64`)**

  - **time-next-delayed-flow (`s64`)**

  - **flows (`u32`)**

  - **inactive-flows (`u32`)**

  - **throttled-flows (`u32`)**

  - **unthrottle-latency-ns (`u32`)**

  - **ce-mark (`u64`)**:

    Packets above ce-threshold

  - **horizon-drops (`u64`)**

  - **horizon-caps (`u64`)**

  - **fastpath-packets (`u64`)**

  - **band-drops (`binary`)**

  - **band-pkt-count (`binary`)**

<a id="rst-tc-hhf-xstats"></a>
<a id="rst-tc-definition-tc-hhf-xstats"></a>



### tc-hhf-xstats

- **type**:

  struct

- **members**:

  - **drop-overlimit (`u32`)**:

    Number of times max qdisc packet limit was hit

  - **hh-overlimit (`u32`)**:

    Number of times max heavy-hitters was hit

  - **hh-tot-count (`u32`)**:

    Number of captured heavy-hitters so far

  - **hh-cur-count (`u32`)**:

    Number of current heavy-hitters

<a id="rst-tc-pie-xstats"></a>
<a id="rst-tc-definition-tc-pie-xstats"></a>



### tc-pie-xstats

- **type**:

  struct

- **members**:

  - **prob (`u64`)**:

    Current probability

  - **delay (`u32`)**:

    Current delay in ms

  - **avg-dq-rate (`u32`)**:

    Current average dq rate in bits/pie-time

  - **dq-rate-estimating (`u32`)**:

    Is avg-dq-rate being calculated?

  - **packets-in (`u32`)**:

    Total number of packets enqueued

  - **dropped (`u32`)**:

    Packets dropped due to pie action

  - **overlimit (`u32`)**:

    Dropped due to lack of space in queue

  - **maxq (`u32`)**:

    Maximum queue size

  - **ecn-mark (`u32`)**:

    Packets marked with ECN

<a id="rst-tc-red-xstats"></a>
<a id="rst-tc-definition-tc-red-xstats"></a>



### tc-red-xstats

- **type**:

  struct

- **members**:

  - **early (`u32`)**:

    Early drops

  - **pdrop (`u32`)**:

    Drops due to queue limits

  - **other (`u32`)**:

    Drops due to drop() calls

  - **marked (`u32`)**:

    Marked packets

<a id="rst-tc-sfb-xstats"></a>
<a id="rst-tc-definition-tc-sfb-xstats"></a>



### tc-sfb-xstats

- **type**:

  struct

- **members**:

  - **earlydrop (`u32`)**

  - **penaltydrop (`u32`)**

  - **bucketdrop (`u32`)**

  - **queuedrop (`u32`)**

  - **childdrop (`u32`)**:

    drops in child qdisc

  - **marked (`u32`)**

  - **maxqlen (`u32`)**

  - **maxprob (`u32`)**

  - **avgprob (`u32`)**

<a id="rst-tc-sfq-xstats"></a>
<a id="rst-tc-definition-tc-sfq-xstats"></a>



### tc-sfq-xstats

- **type**:

  struct

- **members**:

  - **allot (`s32`)**

<a id="rst-gnet-stats-basic"></a>
<a id="rst-tc-definition-gnet-stats-basic"></a>



### gnet-stats-basic

- **type**:

  struct

- **members**:

  - **bytes (`u64`)**

  - **packets (`u32`)**

<a id="rst-gnet-stats-rate-est"></a>
<a id="rst-tc-definition-gnet-stats-rate-est"></a>



### gnet-stats-rate-est

- **type**:

  struct

- **members**:

  - **bps (`u32`)**

  - **pps (`u32`)**

<a id="rst-gnet-stats-rate-est64"></a>
<a id="rst-tc-definition-gnet-stats-rate-est64"></a>



### gnet-stats-rate-est64

- **type**:

  struct

- **members**:

  - **bps (`u64`)**

  - **pps (`u64`)**

<a id="rst-gnet-stats-queue"></a>
<a id="rst-tc-definition-gnet-stats-queue"></a>



### gnet-stats-queue

- **type**:

  struct

- **members**:

  - **qlen (`u32`)**

  - **backlog (`u32`)**

  - **drops (`u32`)**

  - **requeues (`u32`)**

  - **overlimits (`u32`)**

<a id="rst-tc-u32-key"></a>
<a id="rst-tc-definition-tc-u32-key"></a>



### tc-u32-key

- **type**:

  struct

- **members**:

  - **mask (`u32`)**

  - **val (`u32`)**

  - **off (`s32`)**

  - **offmask (`s32`)**

<a id="rst-tc-u32-mark"></a>
<a id="rst-tc-definition-tc-u32-mark"></a>



### tc-u32-mark

- **type**:

  struct

- **members**:

  - **val (`u32`)**

  - **mask (`u32`)**

  - **success (`u32`)**

<a id="rst-tc-u32-sel"></a>
<a id="rst-tc-definition-tc-u32-sel"></a>



### tc-u32-sel

- **type**:

  struct

- **members**:

  - **flags (`u8`)**

  - **offshift (`u8`)**

  - **nkeys (`u8`)**

  - **offmask (`u16`)**

  - **off (`u16`)**

  - **offoff (`s16`)**

  - **hoff (`s16`)**

  - **hmask (`u32`)**

  - **keys (`binary`)**

<a id="rst-tc-u32-pcnt"></a>
<a id="rst-tc-definition-tc-u32-pcnt"></a>



### tc-u32-pcnt

- **type**:

  struct

- **members**:

  - **rcnt (`u64`)**

  - **rhit (`u64`)**

  - **kcnts (`u64`)**

<a id="rst-tcf-t"></a>
<a id="rst-tc-definition-tcf-t"></a>



### tcf-t

- **type**:

  struct

- **members**:

  - **install (`u64`)**

  - **lastuse (`u64`)**

  - **expires (`u64`)**

  - **firstuse (`u64`)**

<a id="rst-tc-gact"></a>
<a id="rst-tc-definition-tc-gact"></a>



### tc-gact

- **type**:

  struct

- **members**:

  - **index (`u32`)**

  - **capab (`u32`)**

  - **action (`s32`)**

  - **refcnt (`s32`)**

  - **bindcnt (`s32`)**

<a id="rst-tc-gact-p"></a>
<a id="rst-tc-definition-tc-gact-p"></a>



### tc-gact-p

- **type**:

  struct

- **members**:

  - **ptype (`u16`)**

  - **pval (`u16`)**

  - **paction (`s32`)**

<a id="rst-tcf-ematch-tree-hdr"></a>
<a id="rst-tc-definition-tcf-ematch-tree-hdr"></a>



### tcf-ematch-tree-hdr

- **type**:

  struct

- **members**:

  - **nmatches (`u16`)**

  - **progid (`u16`)**

<a id="rst-tc-basic-pcnt"></a>
<a id="rst-tc-definition-tc-basic-pcnt"></a>



### tc-basic-pcnt

- **type**:

  struct

- **members**:

  - **rcnt (`u64`)**

  - **rhit (`u64`)**

<a id="rst-tc-matchall-pcnt"></a>
<a id="rst-tc-definition-tc-matchall-pcnt"></a>



### tc-matchall-pcnt

- **type**:

  struct

- **members**:

  - **rhit (`u64`)**

<a id="rst-tc-mpls"></a>
<a id="rst-tc-definition-tc-mpls"></a>



### tc-mpls

- **type**:

  struct

- **members**:

  - **index (`u32`)**

  - **capab (`u32`)**

  - **action (`s32`)**

  - **refcnt (`s32`)**

  - **bindcnt (`s32`)**

  - **m-action (`s32`)**

<a id="rst-tc-police"></a>
<a id="rst-tc-definition-tc-police"></a>



### tc-police

- **type**:

  struct

- **members**:

  - **index (`u32`)**

  - **action (`s32`)**

  - **limit (`u32`)**

  - **burst (`u32`)**

  - **mtu (`u32`)**

  - **rate (`binary`)**

  - **peakrate (`binary`)**

  - **refcnt (`s32`)**

  - **bindcnt (`s32`)**

  - **capab (`u32`)**

<a id="rst-tc-pedit-sel"></a>
<a id="rst-tc-definition-tc-pedit-sel"></a>



### tc-pedit-sel

- **type**:

  struct

- **members**:

  - **index (`u32`)**

  - **capab (`u32`)**

  - **action (`s32`)**

  - **refcnt (`s32`)**

  - **bindcnt (`s32`)**

  - **nkeys (`u8`)**

  - **flags (`u8`)**

  - **keys (`binary`)**

<a id="rst-tc-pedit-key"></a>
<a id="rst-tc-definition-tc-pedit-key"></a>



### tc-pedit-key

- **type**:

  struct

- **members**:

  - **mask (`u32`)**

  - **val (`u32`)**

  - **off (`u32`)**

  - **at (`u32`)**

  - **offmask (`u32`)**

  - **shift (`u32`)**

<a id="rst-tc-vlan"></a>
<a id="rst-tc-definition-tc-vlan"></a>



### tc-vlan

- **type**:

  struct

- **members**:

  - **index (`u32`)**

  - **capab (`u32`)**

  - **action (`s32`)**

  - **refcnt (`s32`)**

  - **bindcnt (`s32`)**

  - **v-action (`s32`)**

<a id="rst-attribute-sets"></a>



## Attribute sets

<a id="rst-attrs"></a>
<a id="rst-tc-attribute-set-attrs"></a>



### attrs

<a id="rst-kind-string"></a>



#### kind (`string`)

<a id="rst-options-sub-message"></a>



#### options (`sub-message`)

- **sub-message**:

  [options-msg](#rst-tc-sub-message-options-msg)

- **selector**:

  kind

<a id="rst-stats-binary"></a>



#### stats (`binary`)

- **struct**:

  [tc-stats](#rst-tc-definition-tc-stats)

<a id="rst-xstats-sub-message"></a>



#### xstats (`sub-message`)

- **sub-message**:

  [tca-stats-app-msg](#rst-tc-sub-message-tca-stats-app-msg)

- **selector**:

  kind

<a id="rst-rate-binary"></a>



#### rate (`binary`)

- **struct**:

  [gnet-estimator](#rst-tc-definition-gnet-estimator)

<a id="rst-fcnt-u32"></a>



#### fcnt (`u32`)

<a id="rst-stats2-nest"></a>



#### stats2 (`nest`)

- **nested-attributes**:

  [tca-stats-attrs](#rst-tc-attribute-set-tca-stats-attrs)

<a id="rst-stab-nest"></a>



#### stab (`nest`)

- **nested-attributes**:

  [tca-stab-attrs](#rst-tc-attribute-set-tca-stab-attrs)

<a id="rst-pad-pad"></a>



#### pad (`pad`)

<a id="rst-dump-invisible-flag"></a>



#### dump-invisible (`flag`)

<a id="rst-chain-u32"></a>



#### chain (`u32`)

<a id="rst-hw-offload-u8"></a>



#### hw-offload (`u8`)

<a id="rst-ingress-block-u32"></a>



#### ingress-block (`u32`)

<a id="rst-egress-block-u32"></a>



#### egress-block (`u32`)

<a id="rst-dump-flags-bitfield32"></a>



#### dump-flags (`bitfield32`)

<a id="rst-ext-warn-msg-string"></a>



#### ext-warn-msg (`string`)

<a id="rst-act-attrs"></a>
<a id="rst-tc-attribute-set-act-attrs"></a>



### act-attrs

<a id="rst-kind-string-1"></a>



#### kind (`string`)

<a id="rst-options-sub-message-1"></a>



#### options (`sub-message`)

- **sub-message**:

  [act-options-msg](#rst-tc-sub-message-act-options-msg)

- **selector**:

  kind

<a id="rst-index-u32"></a>



#### index (`u32`)

<a id="rst-stats-nest"></a>



#### stats (`nest`)

- **nested-attributes**:

  [tca-stats-attrs](#rst-tc-attribute-set-tca-stats-attrs)

<a id="rst-pad-pad-1"></a>



#### pad (`pad`)

<a id="rst-cookie-binary"></a>



#### cookie (`binary`)

<a id="rst-flags-bitfield32"></a>



#### flags (`bitfield32`)

<a id="rst-hw-stats-bitfield32"></a>



#### hw-stats (`bitfield32`)

<a id="rst-used-hw-stats-bitfield32"></a>



#### used-hw-stats (`bitfield32`)

<a id="rst-in-hw-count-u32"></a>



#### in-hw-count (`u32`)

<a id="rst-act-bpf-attrs"></a>
<a id="rst-tc-attribute-set-act-bpf-attrs"></a>



### act-bpf-attrs

<a id="rst-tm-binary"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary"></a>



#### parms (`binary`)

<a id="rst-ops-len-u16"></a>



#### ops-len (`u16`)

<a id="rst-ops-binary"></a>



#### ops (`binary`)

<a id="rst-fd-u32"></a>



#### fd (`u32`)

<a id="rst-name-string"></a>



#### name (`string`)

<a id="rst-pad-pad-2"></a>



#### pad (`pad`)

<a id="rst-tag-binary"></a>



#### tag (`binary`)

<a id="rst-id-binary"></a>



#### id (`binary`)

<a id="rst-act-connmark-attrs"></a>
<a id="rst-tc-attribute-set-act-connmark-attrs"></a>



### act-connmark-attrs

<a id="rst-parms-binary-1"></a>



#### parms (`binary`)

<a id="rst-tm-binary-1"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-pad-pad-3"></a>



#### pad (`pad`)

<a id="rst-act-csum-attrs"></a>
<a id="rst-tc-attribute-set-act-csum-attrs"></a>



### act-csum-attrs

<a id="rst-parms-binary-2"></a>



#### parms (`binary`)

<a id="rst-tm-binary-2"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-pad-pad-4"></a>



#### pad (`pad`)

<a id="rst-act-ct-attrs"></a>
<a id="rst-tc-attribute-set-act-ct-attrs"></a>



### act-ct-attrs

<a id="rst-parms-binary-3"></a>



#### parms (`binary`)

<a id="rst-tm-binary-3"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-action-u16"></a>



#### action (`u16`)

<a id="rst-zone-u16"></a>



#### zone (`u16`)

<a id="rst-mark-u32"></a>



#### mark (`u32`)

<a id="rst-mark-mask-u32"></a>



#### mark-mask (`u32`)

<a id="rst-labels-binary"></a>



#### labels (`binary`)

<a id="rst-labels-mask-binary"></a>



#### labels-mask (`binary`)

<a id="rst-nat-ipv4-min-u32"></a>



#### nat-ipv4-min (`u32`)

- **byte-order**:

  big-endian

<a id="rst-nat-ipv4-max-u32"></a>



#### nat-ipv4-max (`u32`)

- **byte-order**:

  big-endian

<a id="rst-nat-ipv6-min-binary"></a>



#### nat-ipv6-min (`binary`)

<a id="rst-nat-ipv6-max-binary"></a>



#### nat-ipv6-max (`binary`)

<a id="rst-nat-port-min-u16"></a>



#### nat-port-min (`u16`)

- **byte-order**:

  big-endian

<a id="rst-nat-port-max-u16"></a>



#### nat-port-max (`u16`)

- **byte-order**:

  big-endian

<a id="rst-pad-pad-5"></a>



#### pad (`pad`)

<a id="rst-helper-name-string"></a>



#### helper-name (`string`)

<a id="rst-helper-family-u8"></a>



#### helper-family (`u8`)

<a id="rst-helper-proto-u8"></a>



#### helper-proto (`u8`)

<a id="rst-act-ctinfo-attrs"></a>
<a id="rst-tc-attribute-set-act-ctinfo-attrs"></a>



### act-ctinfo-attrs

<a id="rst-pad-pad-6"></a>



#### pad (`pad`)

<a id="rst-tm-binary-4"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-act-binary"></a>



#### act (`binary`)

<a id="rst-zone-u16-1"></a>



#### zone (`u16`)

<a id="rst-parms-dscp-mask-u32"></a>



#### parms-dscp-mask (`u32`)

<a id="rst-parms-dscp-statemask-u32"></a>



#### parms-dscp-statemask (`u32`)

<a id="rst-parms-cpmark-mask-u32"></a>



#### parms-cpmark-mask (`u32`)

<a id="rst-stats-dscp-set-u64"></a>



#### stats-dscp-set (`u64`)

<a id="rst-stats-dscp-error-u64"></a>



#### stats-dscp-error (`u64`)

<a id="rst-stats-cpmark-set-u64"></a>



#### stats-cpmark-set (`u64`)

<a id="rst-act-gate-attrs"></a>
<a id="rst-tc-attribute-set-act-gate-attrs"></a>



### act-gate-attrs

<a id="rst-tm-binary-5"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-4"></a>



#### parms (`binary`)

<a id="rst-pad-pad-7"></a>



#### pad (`pad`)

<a id="rst-priority-s32"></a>



#### priority (`s32`)

<a id="rst-entry-list-binary"></a>



#### entry-list (`binary`)

<a id="rst-base-time-u64"></a>



#### base-time (`u64`)

<a id="rst-cycle-time-u64"></a>



#### cycle-time (`u64`)

<a id="rst-cycle-time-ext-u64"></a>



#### cycle-time-ext (`u64`)

<a id="rst-flags-u32"></a>



#### flags (`u32`)

<a id="rst-clockid-s32"></a>



#### clockid (`s32`)

<a id="rst-act-ife-attrs"></a>
<a id="rst-tc-attribute-set-act-ife-attrs"></a>



### act-ife-attrs

<a id="rst-parms-binary-5"></a>



#### parms (`binary`)

<a id="rst-tm-binary-6"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-dmac-binary"></a>



#### dmac (`binary`)

<a id="rst-smac-binary"></a>



#### smac (`binary`)

<a id="rst-type-u16"></a>



#### type (`u16`)

<a id="rst-metalst-binary"></a>



#### metalst (`binary`)

<a id="rst-pad-pad-8"></a>



#### pad (`pad`)

<a id="rst-act-mirred-attrs"></a>
<a id="rst-tc-attribute-set-act-mirred-attrs"></a>



### act-mirred-attrs

<a id="rst-tm-binary-7"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-6"></a>



#### parms (`binary`)

<a id="rst-pad-pad-9"></a>



#### pad (`pad`)

<a id="rst-blockid-binary"></a>



#### blockid (`binary`)

<a id="rst-act-mpls-attrs"></a>
<a id="rst-tc-attribute-set-act-mpls-attrs"></a>



### act-mpls-attrs

<a id="rst-tm-binary-8"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-7"></a>



#### parms (`binary`)

- **struct**:

  [tc-mpls](#rst-tc-definition-tc-mpls)

<a id="rst-pad-pad-10"></a>



#### pad (`pad`)

<a id="rst-proto-u16"></a>



#### proto (`u16`)

- **byte-order**:

  big-endian

<a id="rst-label-u32"></a>



#### label (`u32`)

<a id="rst-tc-u8"></a>



#### tc (`u8`)

<a id="rst-ttl-u8"></a>



#### ttl (`u8`)

<a id="rst-bos-u8"></a>



#### bos (`u8`)

<a id="rst-act-nat-attrs"></a>
<a id="rst-tc-attribute-set-act-nat-attrs"></a>



### act-nat-attrs

<a id="rst-parms-binary-8"></a>



#### parms (`binary`)

<a id="rst-tm-binary-9"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-pad-pad-11"></a>



#### pad (`pad`)

<a id="rst-act-pedit-attrs"></a>
<a id="rst-tc-attribute-set-act-pedit-attrs"></a>



### act-pedit-attrs

<a id="rst-tm-binary-10"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-9"></a>



#### parms (`binary`)

- **struct**:

  [tc-pedit-sel](#rst-tc-definition-tc-pedit-sel)

<a id="rst-pad-pad-12"></a>



#### pad (`pad`)

<a id="rst-parms-ex-binary"></a>



#### parms-ex (`binary`)

<a id="rst-keys-ex-binary"></a>



#### keys-ex (`binary`)

<a id="rst-key-ex-binary"></a>



#### key-ex (`binary`)

<a id="rst-act-simple-attrs"></a>
<a id="rst-tc-attribute-set-act-simple-attrs"></a>



### act-simple-attrs

<a id="rst-tm-binary-11"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-10"></a>



#### parms (`binary`)

<a id="rst-data-binary"></a>



#### data (`binary`)

<a id="rst-pad-pad-13"></a>



#### pad (`pad`)

<a id="rst-act-skbedit-attrs"></a>
<a id="rst-tc-attribute-set-act-skbedit-attrs"></a>



### act-skbedit-attrs

<a id="rst-tm-binary-12"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-11"></a>



#### parms (`binary`)

<a id="rst-priority-u32"></a>



#### priority (`u32`)

<a id="rst-queue-mapping-u16"></a>



#### queue-mapping (`u16`)

<a id="rst-mark-u32-1"></a>



#### mark (`u32`)

<a id="rst-pad-pad-14"></a>



#### pad (`pad`)

<a id="rst-ptype-u16"></a>



#### ptype (`u16`)

<a id="rst-mask-u32"></a>



#### mask (`u32`)

<a id="rst-flags-u64"></a>



#### flags (`u64`)

<a id="rst-queue-mapping-max-u16"></a>



#### queue-mapping-max (`u16`)

<a id="rst-act-skbmod-attrs"></a>
<a id="rst-tc-attribute-set-act-skbmod-attrs"></a>



### act-skbmod-attrs

<a id="rst-tm-binary-13"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-12"></a>



#### parms (`binary`)

<a id="rst-dmac-binary-1"></a>



#### dmac (`binary`)

<a id="rst-smac-binary-1"></a>



#### smac (`binary`)

<a id="rst-etype-binary"></a>



#### etype (`binary`)

<a id="rst-pad-pad-15"></a>



#### pad (`pad`)

<a id="rst-act-tunnel-key-attrs"></a>
<a id="rst-tc-attribute-set-act-tunnel-key-attrs"></a>



### act-tunnel-key-attrs

<a id="rst-tm-binary-14"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-13"></a>



#### parms (`binary`)

<a id="rst-enc-ipv4-src-u32"></a>



#### enc-ipv4-src (`u32`)

- **byte-order**:

  big-endian

<a id="rst-enc-ipv4-dst-u32"></a>



#### enc-ipv4-dst (`u32`)

- **byte-order**:

  big-endian

<a id="rst-enc-ipv6-src-binary"></a>



#### enc-ipv6-src (`binary`)

<a id="rst-enc-ipv6-dst-binary"></a>



#### enc-ipv6-dst (`binary`)

<a id="rst-enc-key-id-u64"></a>



#### enc-key-id (`u64`)

- **byte-order**:

  big-endian

<a id="rst-pad-pad-16"></a>



#### pad (`pad`)

<a id="rst-enc-dst-port-u16"></a>



#### enc-dst-port (`u16`)

- **byte-order**:

  big-endian

<a id="rst-no-csum-u8"></a>



#### no-csum (`u8`)

<a id="rst-enc-opts-binary"></a>



#### enc-opts (`binary`)

<a id="rst-enc-tos-u8"></a>



#### enc-tos (`u8`)

<a id="rst-enc-ttl-u8"></a>



#### enc-ttl (`u8`)

<a id="rst-no-frag-flag"></a>



#### no-frag (`flag`)

<a id="rst-act-vlan-attrs"></a>
<a id="rst-tc-attribute-set-act-vlan-attrs"></a>



### act-vlan-attrs

<a id="rst-tm-binary-15"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-14"></a>



#### parms (`binary`)

- **struct**:

  [tc-vlan](#rst-tc-definition-tc-vlan)

<a id="rst-push-vlan-id-u16"></a>



#### push-vlan-id (`u16`)

<a id="rst-push-vlan-protocol-u16"></a>



#### push-vlan-protocol (`u16`)

<a id="rst-pad-pad-17"></a>



#### pad (`pad`)

<a id="rst-push-vlan-priority-u8"></a>



#### push-vlan-priority (`u8`)

<a id="rst-push-eth-dst-binary"></a>



#### push-eth-dst (`binary`)

<a id="rst-push-eth-src-binary"></a>



#### push-eth-src (`binary`)

<a id="rst-basic-attrs"></a>
<a id="rst-tc-attribute-set-basic-attrs"></a>



### basic-attrs

<a id="rst-classid-u32"></a>



#### classid (`u32`)

<a id="rst-ematches-nest"></a>



#### ematches (`nest`)

- **nested-attributes**:

  [ematch-attrs](#rst-tc-attribute-set-ematch-attrs)

<a id="rst-act-indexed-array"></a>



#### act (`indexed-array`)

- **sub-type**:

  nest

- **nested-attributes**:

  [act-attrs](#rst-tc-attribute-set-act-attrs)

<a id="rst-police-nest"></a>



#### police (`nest`)

- **nested-attributes**:

  [police-attrs](#rst-tc-attribute-set-police-attrs)

<a id="rst-pcnt-binary"></a>



#### pcnt (`binary`)

- **struct**:

  [tc-basic-pcnt](#rst-tc-definition-tc-basic-pcnt)

<a id="rst-pad-pad-18"></a>



#### pad (`pad`)

<a id="rst-bpf-attrs"></a>
<a id="rst-tc-attribute-set-bpf-attrs"></a>



### bpf-attrs

<a id="rst-act-indexed-array-1"></a>



#### act (`indexed-array`)

- **sub-type**:

  nest

- **nested-attributes**:

  [act-attrs](#rst-tc-attribute-set-act-attrs)

<a id="rst-police-nest-1"></a>



#### police (`nest`)

- **nested-attributes**:

  [police-attrs](#rst-tc-attribute-set-police-attrs)

<a id="rst-classid-u32-1"></a>



#### classid (`u32`)

<a id="rst-ops-len-u16-1"></a>



#### ops-len (`u16`)

<a id="rst-ops-binary-1"></a>



#### ops (`binary`)

<a id="rst-fd-u32-1"></a>



#### fd (`u32`)

<a id="rst-name-string-1"></a>



#### name (`string`)

<a id="rst-flags-u32-1"></a>



#### flags (`u32`)

<a id="rst-flags-gen-u32"></a>



#### flags-gen (`u32`)

<a id="rst-tag-binary-1"></a>



#### tag (`binary`)

<a id="rst-id-u32"></a>



#### id (`u32`)

<a id="rst-cake-attrs"></a>
<a id="rst-tc-attribute-set-cake-attrs"></a>



### cake-attrs

<a id="rst-pad-pad-19"></a>



#### pad (`pad`)

<a id="rst-base-rate64-u64"></a>



#### base-rate64 (`u64`)

<a id="rst-diffserv-mode-u32"></a>



#### diffserv-mode (`u32`)

<a id="rst-atm-u32"></a>



#### atm (`u32`)

<a id="rst-flow-mode-u32"></a>



#### flow-mode (`u32`)

<a id="rst-overhead-u32"></a>



#### overhead (`u32`)

<a id="rst-rtt-u32"></a>



#### rtt (`u32`)

<a id="rst-target-u32"></a>



#### target (`u32`)

<a id="rst-autorate-u32"></a>



#### autorate (`u32`)

<a id="rst-memory-u32"></a>



#### memory (`u32`)

<a id="rst-nat-u32"></a>



#### nat (`u32`)

<a id="rst-raw-u32"></a>



#### raw (`u32`)

<a id="rst-wash-u32"></a>



#### wash (`u32`)

<a id="rst-mpu-u32"></a>



#### mpu (`u32`)

<a id="rst-ingress-u32"></a>



#### ingress (`u32`)

<a id="rst-ack-filter-u32"></a>



#### ack-filter (`u32`)

<a id="rst-split-gso-u32"></a>



#### split-gso (`u32`)

<a id="rst-fwmark-u32"></a>



#### fwmark (`u32`)

<a id="rst-cake-stats-attrs"></a>
<a id="rst-tc-attribute-set-cake-stats-attrs"></a>



### cake-stats-attrs

<a id="rst-pad-pad-20"></a>



#### pad (`pad`)

<a id="rst-capacity-estimate64-u64"></a>



#### capacity-estimate64 (`u64`)

<a id="rst-memory-limit-u32"></a>



#### memory-limit (`u32`)

<a id="rst-memory-used-u32"></a>



#### memory-used (`u32`)

<a id="rst-avg-netoff-u32"></a>



#### avg-netoff (`u32`)

<a id="rst-min-netlen-u32"></a>



#### min-netlen (`u32`)

<a id="rst-max-netlen-u32"></a>



#### max-netlen (`u32`)

<a id="rst-min-adjlen-u32"></a>



#### min-adjlen (`u32`)

<a id="rst-max-adjlen-u32"></a>



#### max-adjlen (`u32`)

<a id="rst-tin-stats-indexed-array"></a>



#### tin-stats (`indexed-array`)

- **sub-type**:

  nest

- **nested-attributes**:

  [cake-tin-stats-attrs](#rst-tc-attribute-set-cake-tin-stats-attrs)

<a id="rst-deficit-s32"></a>



#### deficit (`s32`)

<a id="rst-cobalt-count-u32"></a>



#### cobalt-count (`u32`)

<a id="rst-dropping-u32"></a>



#### dropping (`u32`)

<a id="rst-drop-next-us-s32"></a>



#### drop-next-us (`s32`)

<a id="rst-p-drop-u32"></a>



#### p-drop (`u32`)

<a id="rst-blue-timer-us-s32"></a>



#### blue-timer-us (`s32`)

<a id="rst-active-queues-u32"></a>



#### active-queues (`u32`)

<a id="rst-cake-tin-stats-attrs"></a>
<a id="rst-tc-attribute-set-cake-tin-stats-attrs"></a>



### cake-tin-stats-attrs

<a id="rst-pad-pad-21"></a>



#### pad (`pad`)

<a id="rst-sent-packets-u32"></a>



#### sent-packets (`u32`)

<a id="rst-sent-bytes64-u64"></a>



#### sent-bytes64 (`u64`)

<a id="rst-dropped-packets-u32"></a>



#### dropped-packets (`u32`)

<a id="rst-dropped-bytes64-u64"></a>



#### dropped-bytes64 (`u64`)

<a id="rst-acks-dropped-packets-u32"></a>



#### acks-dropped-packets (`u32`)

<a id="rst-acks-dropped-bytes64-u64"></a>



#### acks-dropped-bytes64 (`u64`)

<a id="rst-ecn-marked-packets-u32"></a>



#### ecn-marked-packets (`u32`)

<a id="rst-ecn-marked-bytes64-u64"></a>



#### ecn-marked-bytes64 (`u64`)

<a id="rst-backlog-packets-u32"></a>



#### backlog-packets (`u32`)

<a id="rst-backlog-bytes-u32"></a>



#### backlog-bytes (`u32`)

<a id="rst-threshold-rate64-u64"></a>



#### threshold-rate64 (`u64`)

<a id="rst-target-us-u32"></a>



#### target-us (`u32`)

<a id="rst-interval-us-u32"></a>



#### interval-us (`u32`)

<a id="rst-way-indirect-hits-u32"></a>



#### way-indirect-hits (`u32`)

<a id="rst-way-misses-u32"></a>



#### way-misses (`u32`)

<a id="rst-way-collisions-u32"></a>



#### way-collisions (`u32`)

<a id="rst-peak-delay-us-u32"></a>



#### peak-delay-us (`u32`)

<a id="rst-avg-delay-us-u32"></a>



#### avg-delay-us (`u32`)

<a id="rst-base-delay-us-u32"></a>



#### base-delay-us (`u32`)

<a id="rst-sparse-flows-u32"></a>



#### sparse-flows (`u32`)

<a id="rst-bulk-flows-u32"></a>



#### bulk-flows (`u32`)

<a id="rst-unresponsive-flows-u32"></a>



#### unresponsive-flows (`u32`)

<a id="rst-max-skblen-u32"></a>



#### max-skblen (`u32`)

<a id="rst-flow-quantum-u32"></a>



#### flow-quantum (`u32`)

<a id="rst-cbs-attrs"></a>
<a id="rst-tc-attribute-set-cbs-attrs"></a>



### cbs-attrs

<a id="rst-parms-binary-15"></a>



#### parms (`binary`)

- **struct**:

  [tc-cbs-qopt](#rst-tc-definition-tc-cbs-qopt)

<a id="rst-cgroup-attrs"></a>
<a id="rst-tc-attribute-set-cgroup-attrs"></a>



### cgroup-attrs

<a id="rst-act-indexed-array-2"></a>



#### act (`indexed-array`)

- **sub-type**:

  nest

- **nested-attributes**:

  [act-attrs](#rst-tc-attribute-set-act-attrs)

<a id="rst-police-nest-2"></a>



#### police (`nest`)

- **nested-attributes**:

  [police-attrs](#rst-tc-attribute-set-police-attrs)

<a id="rst-ematches-binary"></a>



#### ematches (`binary`)

<a id="rst-choke-attrs"></a>
<a id="rst-tc-attribute-set-choke-attrs"></a>



### choke-attrs

<a id="rst-parms-binary-16"></a>



#### parms (`binary`)

- **struct**:

  [tc-red-qopt](#rst-tc-definition-tc-red-qopt)

<a id="rst-stab-binary"></a>



#### stab (`binary`)

<a id="rst-max-p-u32"></a>



#### max-p (`u32`)

<a id="rst-codel-attrs"></a>
<a id="rst-tc-attribute-set-codel-attrs"></a>



### codel-attrs

<a id="rst-target-u32-1"></a>



#### target (`u32`)

<a id="rst-limit-u32"></a>



#### limit (`u32`)

<a id="rst-interval-u32"></a>



#### interval (`u32`)

<a id="rst-ecn-u32"></a>



#### ecn (`u32`)

<a id="rst-ce-threshold-u32"></a>



#### ce-threshold (`u32`)

<a id="rst-drr-attrs"></a>
<a id="rst-tc-attribute-set-drr-attrs"></a>



### drr-attrs

<a id="rst-quantum-u32"></a>



#### quantum (`u32`)

<a id="rst-dualpi2-attrs"></a>
<a id="rst-tc-attribute-set-dualpi2-attrs"></a>



### dualpi2-attrs

<a id="rst-limit-u32-1"></a>



#### limit (`u32`)

- **doc**:

  Limit of total number of packets in queue

<a id="rst-memory-limit-u32-1"></a>



#### memory-limit (`u32`)

- **doc**:

  Memory limit of total number of packets in queue

<a id="rst-target-u32-2"></a>



#### target (`u32`)

- **doc**:

  Classic target delay in microseconds

<a id="rst-tupdate-u32"></a>



#### tupdate (`u32`)

- **doc**:

  Drop probability update interval time in microseconds

<a id="rst-alpha-u32"></a>



#### alpha (`u32`)

- **doc**:

  Integral gain factor in Hz for PI controller

<a id="rst-beta-u32"></a>



#### beta (`u32`)

- **doc**:

  Proportional gain factor in Hz for PI controller

<a id="rst-step-thresh-pkts-u32"></a>



#### step-thresh-pkts (`u32`)

- **doc**:

  L4S step marking threshold in packets

<a id="rst-step-thresh-us-u32"></a>



#### step-thresh-us (`u32`)

- **doc**:

  L4S Step marking threshold in microseconds

<a id="rst-min-qlen-step-u32"></a>



#### min-qlen-step (`u32`)

- **doc**:

  Packets enqueued to the L-queue can apply the step threshold when the queue length of L-queue is larger than this value. (0 is recommended)

<a id="rst-coupling-u8"></a>



#### coupling (`u8`)

- **doc**:

  Probability coupling factor between Classic and L4S (2 is recommended)

<a id="rst-drop-overload-u8"></a>



#### drop-overload (`u8`)

- **doc**:

  Control the overload strategy (drop to preserve latency or let the queue overflow)

- **enum**:

  [dualpi2-drop-overload](#rst-tc-definition-dualpi2-drop-overload)

<a id="rst-drop-early-u8"></a>



#### drop-early (`u8`)

- **doc**:

  Decide where the Classic packets are PI-based dropped or marked

- **enum**:

  [dualpi2-drop-early](#rst-tc-definition-dualpi2-drop-early)

<a id="rst-c-protection-u8"></a>



#### c-protection (`u8`)

- **doc**:

  Classic WRR weight in percentage (from 0 to 100)

<a id="rst-ecn-mask-u8"></a>



#### ecn-mask (`u8`)

- **doc**:

  Configure the L-queue ECN classifier

- **enum**:

  [dualpi2-ecn-mask](#rst-tc-definition-dualpi2-ecn-mask)

<a id="rst-split-gso-u8"></a>



#### split-gso (`u8`)

- **doc**:

  Split aggregated skb or not

- **enum**:

  [dualpi2-split-gso](#rst-tc-definition-dualpi2-split-gso)

<a id="rst-ematch-attrs"></a>
<a id="rst-tc-attribute-set-ematch-attrs"></a>



### ematch-attrs

<a id="rst-tree-hdr-binary"></a>



#### tree-hdr (`binary`)

- **struct**:

  [tcf-ematch-tree-hdr](#rst-tc-definition-tcf-ematch-tree-hdr)

<a id="rst-tree-list-binary"></a>



#### tree-list (`binary`)

<a id="rst-flow-attrs"></a>
<a id="rst-tc-attribute-set-flow-attrs"></a>



### flow-attrs

<a id="rst-keys-u32"></a>



#### keys (`u32`)

<a id="rst-mode-u32"></a>



#### mode (`u32`)

<a id="rst-baseclass-u32"></a>



#### baseclass (`u32`)

<a id="rst-rshift-u32"></a>



#### rshift (`u32`)

<a id="rst-addend-u32"></a>



#### addend (`u32`)

<a id="rst-mask-u32-1"></a>



#### mask (`u32`)

<a id="rst-xor-u32"></a>



#### xor (`u32`)

<a id="rst-divisor-u32"></a>



#### divisor (`u32`)

<a id="rst-act-binary-1"></a>



#### act (`binary`)

<a id="rst-police-nest-3"></a>



#### police (`nest`)

- **nested-attributes**:

  [police-attrs](#rst-tc-attribute-set-police-attrs)

<a id="rst-ematches-binary-1"></a>



#### ematches (`binary`)

<a id="rst-perturb-u32"></a>



#### perturb (`u32`)

<a id="rst-flower-attrs"></a>
<a id="rst-tc-attribute-set-flower-attrs"></a>



### flower-attrs

<a id="rst-classid-u32-2"></a>



#### classid (`u32`)

<a id="rst-indev-string"></a>



#### indev (`string`)

<a id="rst-act-indexed-array-3"></a>



#### act (`indexed-array`)

- **sub-type**:

  nest

- **nested-attributes**:

  [act-attrs](#rst-tc-attribute-set-act-attrs)

<a id="rst-key-eth-dst-binary"></a>



#### key-eth-dst (`binary`)

- **display-hint**:

  mac

<a id="rst-key-eth-dst-mask-binary"></a>



#### key-eth-dst-mask (`binary`)

- **display-hint**:

  mac

<a id="rst-key-eth-src-binary"></a>



#### key-eth-src (`binary`)

- **display-hint**:

  mac

<a id="rst-key-eth-src-mask-binary"></a>



#### key-eth-src-mask (`binary`)

- **display-hint**:

  mac

<a id="rst-key-eth-type-u16"></a>



#### key-eth-type (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-ip-proto-u8"></a>



#### key-ip-proto (`u8`)

<a id="rst-key-ipv4-src-u32"></a>



#### key-ipv4-src (`u32`)

- **byte-order**:

  big-endian

- **display-hint**:

  ipv4

<a id="rst-key-ipv4-src-mask-u32"></a>



#### key-ipv4-src-mask (`u32`)

- **byte-order**:

  big-endian

- **display-hint**:

  ipv4

<a id="rst-key-ipv4-dst-u32"></a>



#### key-ipv4-dst (`u32`)

- **byte-order**:

  big-endian

- **display-hint**:

  ipv4

<a id="rst-key-ipv4-dst-mask-u32"></a>



#### key-ipv4-dst-mask (`u32`)

- **byte-order**:

  big-endian

- **display-hint**:

  ipv4

<a id="rst-key-ipv6-src-binary"></a>



#### key-ipv6-src (`binary`)

- **display-hint**:

  ipv6

<a id="rst-key-ipv6-src-mask-binary"></a>



#### key-ipv6-src-mask (`binary`)

- **display-hint**:

  ipv6

<a id="rst-key-ipv6-dst-binary"></a>



#### key-ipv6-dst (`binary`)

- **display-hint**:

  ipv6

<a id="rst-key-ipv6-dst-mask-binary"></a>



#### key-ipv6-dst-mask (`binary`)

- **display-hint**:

  ipv6

<a id="rst-key-tcp-src-u16"></a>



#### key-tcp-src (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-tcp-dst-u16"></a>



#### key-tcp-dst (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-udp-src-u16"></a>



#### key-udp-src (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-udp-dst-u16"></a>



#### key-udp-dst (`u16`)

- **byte-order**:

  big-endian

<a id="rst-flags-u32-2"></a>



#### flags (`u32`)

- **enum**:

  [cls-flags](#rst-tc-definition-cls-flags)

- **enum-as-flags**:

  True

<a id="rst-key-vlan-id-u16"></a>



#### key-vlan-id (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-vlan-prio-u8"></a>



#### key-vlan-prio (`u8`)

<a id="rst-key-vlan-eth-type-u16"></a>



#### key-vlan-eth-type (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-enc-key-id-u32"></a>



#### key-enc-key-id (`u32`)

- **byte-order**:

  big-endian

<a id="rst-key-enc-ipv4-src-u32"></a>



#### key-enc-ipv4-src (`u32`)

- **byte-order**:

  big-endian

- **display-hint**:

  ipv4

<a id="rst-key-enc-ipv4-src-mask-u32"></a>



#### key-enc-ipv4-src-mask (`u32`)

- **byte-order**:

  big-endian

- **display-hint**:

  ipv4

<a id="rst-key-enc-ipv4-dst-u32"></a>



#### key-enc-ipv4-dst (`u32`)

- **byte-order**:

  big-endian

- **display-hint**:

  ipv4

<a id="rst-key-enc-ipv4-dst-mask-u32"></a>



#### key-enc-ipv4-dst-mask (`u32`)

- **byte-order**:

  big-endian

- **display-hint**:

  ipv4

<a id="rst-key-enc-ipv6-src-binary"></a>



#### key-enc-ipv6-src (`binary`)

- **display-hint**:

  ipv6

<a id="rst-key-enc-ipv6-src-mask-binary"></a>



#### key-enc-ipv6-src-mask (`binary`)

- **display-hint**:

  ipv6

<a id="rst-key-enc-ipv6-dst-binary"></a>



#### key-enc-ipv6-dst (`binary`)

- **display-hint**:

  ipv6

<a id="rst-key-enc-ipv6-dst-mask-binary"></a>



#### key-enc-ipv6-dst-mask (`binary`)

- **display-hint**:

  ipv6

<a id="rst-key-tcp-src-mask-u16"></a>



#### key-tcp-src-mask (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-tcp-dst-mask-u16"></a>



#### key-tcp-dst-mask (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-udp-src-mask-u16"></a>



#### key-udp-src-mask (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-udp-dst-mask-u16"></a>



#### key-udp-dst-mask (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-sctp-src-mask-u16"></a>



#### key-sctp-src-mask (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-sctp-dst-mask-u16"></a>



#### key-sctp-dst-mask (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-sctp-src-u16"></a>



#### key-sctp-src (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-sctp-dst-u16"></a>



#### key-sctp-dst (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-enc-udp-src-port-u16"></a>



#### key-enc-udp-src-port (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-enc-udp-src-port-mask-u16"></a>



#### key-enc-udp-src-port-mask (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-enc-udp-dst-port-u16"></a>



#### key-enc-udp-dst-port (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-enc-udp-dst-port-mask-u16"></a>



#### key-enc-udp-dst-port-mask (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-flags-u32"></a>



#### key-flags (`u32`)

- **byte-order**:

  big-endian

- **enum**:

  [flower-key-ctrl-flags](#rst-tc-definition-flower-key-ctrl-flags)

- **enum-as-flags**:

  True

<a id="rst-key-flags-mask-u32"></a>



#### key-flags-mask (`u32`)

- **byte-order**:

  big-endian

- **enum**:

  [flower-key-ctrl-flags](#rst-tc-definition-flower-key-ctrl-flags)

- **enum-as-flags**:

  True

<a id="rst-key-icmpv4-code-u8"></a>



#### key-icmpv4-code (`u8`)

<a id="rst-key-icmpv4-code-mask-u8"></a>



#### key-icmpv4-code-mask (`u8`)

<a id="rst-key-icmpv4-type-u8"></a>



#### key-icmpv4-type (`u8`)

<a id="rst-key-icmpv4-type-mask-u8"></a>



#### key-icmpv4-type-mask (`u8`)

<a id="rst-key-icmpv6-code-u8"></a>



#### key-icmpv6-code (`u8`)

<a id="rst-key-icmpv6-code-mask-u8"></a>



#### key-icmpv6-code-mask (`u8`)

<a id="rst-key-icmpv6-type-u8"></a>



#### key-icmpv6-type (`u8`)

<a id="rst-key-icmpv6-type-mask-u8"></a>



#### key-icmpv6-type-mask (`u8`)

<a id="rst-key-arp-sip-u32"></a>



#### key-arp-sip (`u32`)

- **byte-order**:

  big-endian

<a id="rst-key-arp-sip-mask-u32"></a>



#### key-arp-sip-mask (`u32`)

- **byte-order**:

  big-endian

<a id="rst-key-arp-tip-u32"></a>



#### key-arp-tip (`u32`)

- **byte-order**:

  big-endian

<a id="rst-key-arp-tip-mask-u32"></a>



#### key-arp-tip-mask (`u32`)

- **byte-order**:

  big-endian

<a id="rst-key-arp-op-u8"></a>



#### key-arp-op (`u8`)

<a id="rst-key-arp-op-mask-u8"></a>



#### key-arp-op-mask (`u8`)

<a id="rst-key-arp-sha-binary"></a>



#### key-arp-sha (`binary`)

- **display-hint**:

  mac

<a id="rst-key-arp-sha-mask-binary"></a>



#### key-arp-sha-mask (`binary`)

- **display-hint**:

  mac

<a id="rst-key-arp-tha-binary"></a>



#### key-arp-tha (`binary`)

- **display-hint**:

  mac

<a id="rst-key-arp-tha-mask-binary"></a>



#### key-arp-tha-mask (`binary`)

- **display-hint**:

  mac

<a id="rst-key-mpls-ttl-u8"></a>



#### key-mpls-ttl (`u8`)

<a id="rst-key-mpls-bos-u8"></a>



#### key-mpls-bos (`u8`)

<a id="rst-key-mpls-tc-u8"></a>



#### key-mpls-tc (`u8`)

<a id="rst-key-mpls-label-u32"></a>



#### key-mpls-label (`u32`)

- **byte-order**:

  big-endian

<a id="rst-key-tcp-flags-u16"></a>



#### key-tcp-flags (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-tcp-flags-mask-u16"></a>



#### key-tcp-flags-mask (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-ip-tos-u8"></a>



#### key-ip-tos (`u8`)

<a id="rst-key-ip-tos-mask-u8"></a>



#### key-ip-tos-mask (`u8`)

<a id="rst-key-ip-ttl-u8"></a>



#### key-ip-ttl (`u8`)

<a id="rst-key-ip-ttl-mask-u8"></a>



#### key-ip-ttl-mask (`u8`)

<a id="rst-key-cvlan-id-u16"></a>



#### key-cvlan-id (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-cvlan-prio-u8"></a>



#### key-cvlan-prio (`u8`)

<a id="rst-key-cvlan-eth-type-u16"></a>



#### key-cvlan-eth-type (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-enc-ip-tos-u8"></a>



#### key-enc-ip-tos (`u8`)

<a id="rst-key-enc-ip-tos-mask-u8"></a>



#### key-enc-ip-tos-mask (`u8`)

<a id="rst-key-enc-ip-ttl-u8"></a>



#### key-enc-ip-ttl (`u8`)

<a id="rst-key-enc-ip-ttl-mask-u8"></a>



#### key-enc-ip-ttl-mask (`u8`)

<a id="rst-key-enc-opts-nest"></a>



#### key-enc-opts (`nest`)

- **nested-attributes**:

  [flower-key-enc-opts-attrs](#rst-tc-attribute-set-flower-key-enc-opts-attrs)

<a id="rst-key-enc-opts-mask-nest"></a>



#### key-enc-opts-mask (`nest`)

- **nested-attributes**:

  [flower-key-enc-opts-attrs](#rst-tc-attribute-set-flower-key-enc-opts-attrs)

<a id="rst-in-hw-count-u32-1"></a>



#### in-hw-count (`u32`)

<a id="rst-key-port-src-min-u16"></a>



#### key-port-src-min (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-port-src-max-u16"></a>



#### key-port-src-max (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-port-dst-min-u16"></a>



#### key-port-dst-min (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-port-dst-max-u16"></a>



#### key-port-dst-max (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-ct-state-u16"></a>



#### key-ct-state (`u16`)

<a id="rst-key-ct-state-mask-u16"></a>



#### key-ct-state-mask (`u16`)

<a id="rst-key-ct-zone-u16"></a>



#### key-ct-zone (`u16`)

<a id="rst-key-ct-zone-mask-u16"></a>



#### key-ct-zone-mask (`u16`)

<a id="rst-key-ct-mark-u32"></a>



#### key-ct-mark (`u32`)

<a id="rst-key-ct-mark-mask-u32"></a>



#### key-ct-mark-mask (`u32`)

<a id="rst-key-ct-labels-binary"></a>



#### key-ct-labels (`binary`)

<a id="rst-key-ct-labels-mask-binary"></a>



#### key-ct-labels-mask (`binary`)

<a id="rst-key-mpls-opts-nest"></a>



#### key-mpls-opts (`nest`)

- **nested-attributes**:

  [flower-key-mpls-opt-attrs](#rst-tc-attribute-set-flower-key-mpls-opt-attrs)

<a id="rst-key-hash-u32"></a>



#### key-hash (`u32`)

<a id="rst-key-hash-mask-u32"></a>



#### key-hash-mask (`u32`)

<a id="rst-key-num-of-vlans-u8"></a>



#### key-num-of-vlans (`u8`)

<a id="rst-key-pppoe-sid-u16"></a>



#### key-pppoe-sid (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-ppp-proto-u16"></a>



#### key-ppp-proto (`u16`)

- **byte-order**:

  big-endian

<a id="rst-key-l2tpv3-sid-u32"></a>



#### key-l2tpv3-sid (`u32`)

- **byte-order**:

  big-endian

<a id="rst-l2-miss-u8"></a>



#### l2-miss (`u8`)

<a id="rst-key-cfm-nest"></a>



#### key-cfm (`nest`)

- **nested-attributes**:

  [flower-key-cfm-attrs](#rst-tc-attribute-set-flower-key-cfm-attrs)

<a id="rst-key-spi-u32"></a>



#### key-spi (`u32`)

- **byte-order**:

  big-endian

<a id="rst-key-spi-mask-u32"></a>



#### key-spi-mask (`u32`)

- **byte-order**:

  big-endian

<a id="rst-key-enc-flags-u32"></a>



#### key-enc-flags (`u32`)

- **byte-order**:

  big-endian

- **enum**:

  [flower-key-ctrl-flags](#rst-tc-definition-flower-key-ctrl-flags)

- **enum-as-flags**:

  True

<a id="rst-key-enc-flags-mask-u32"></a>



#### key-enc-flags-mask (`u32`)

- **byte-order**:

  big-endian

- **enum**:

  [flower-key-ctrl-flags](#rst-tc-definition-flower-key-ctrl-flags)

- **enum-as-flags**:

  True

<a id="rst-flower-key-enc-opts-attrs"></a>
<a id="rst-tc-attribute-set-flower-key-enc-opts-attrs"></a>



### flower-key-enc-opts-attrs

<a id="rst-geneve-nest"></a>



#### geneve (`nest`)

- **nested-attributes**:

  [flower-key-enc-opt-geneve-attrs](#rst-tc-attribute-set-flower-key-enc-opt-geneve-attrs)

<a id="rst-vxlan-nest"></a>



#### vxlan (`nest`)

- **nested-attributes**:

  [flower-key-enc-opt-vxlan-attrs](#rst-tc-attribute-set-flower-key-enc-opt-vxlan-attrs)

<a id="rst-erspan-nest"></a>



#### erspan (`nest`)

- **nested-attributes**:

  [flower-key-enc-opt-erspan-attrs](#rst-tc-attribute-set-flower-key-enc-opt-erspan-attrs)

<a id="rst-gtp-nest"></a>



#### gtp (`nest`)

- **nested-attributes**:

  [flower-key-enc-opt-gtp-attrs](#rst-tc-attribute-set-flower-key-enc-opt-gtp-attrs)

<a id="rst-flower-key-enc-opt-geneve-attrs"></a>
<a id="rst-tc-attribute-set-flower-key-enc-opt-geneve-attrs"></a>



### flower-key-enc-opt-geneve-attrs

<a id="rst-class-u16"></a>



#### class (`u16`)

<a id="rst-type-u8"></a>



#### type (`u8`)

<a id="rst-data-binary-1"></a>



#### data (`binary`)

<a id="rst-flower-key-enc-opt-vxlan-attrs"></a>
<a id="rst-tc-attribute-set-flower-key-enc-opt-vxlan-attrs"></a>



### flower-key-enc-opt-vxlan-attrs

<a id="rst-gbp-u32"></a>



#### gbp (`u32`)

<a id="rst-flower-key-enc-opt-erspan-attrs"></a>
<a id="rst-tc-attribute-set-flower-key-enc-opt-erspan-attrs"></a>



### flower-key-enc-opt-erspan-attrs

<a id="rst-ver-u8"></a>



#### ver (`u8`)

<a id="rst-index-u32-1"></a>



#### index (`u32`)

<a id="rst-dir-u8"></a>



#### dir (`u8`)

<a id="rst-hwid-u8"></a>



#### hwid (`u8`)

<a id="rst-flower-key-enc-opt-gtp-attrs"></a>
<a id="rst-tc-attribute-set-flower-key-enc-opt-gtp-attrs"></a>



### flower-key-enc-opt-gtp-attrs

<a id="rst-pdu-type-u8"></a>



#### pdu-type (`u8`)

<a id="rst-qfi-u8"></a>



#### qfi (`u8`)

<a id="rst-flower-key-mpls-opt-attrs"></a>
<a id="rst-tc-attribute-set-flower-key-mpls-opt-attrs"></a>



### flower-key-mpls-opt-attrs

<a id="rst-lse-depth-u8"></a>



#### lse-depth (`u8`)

<a id="rst-lse-ttl-u8"></a>



#### lse-ttl (`u8`)

<a id="rst-lse-bos-u8"></a>



#### lse-bos (`u8`)

<a id="rst-lse-tc-u8"></a>



#### lse-tc (`u8`)

<a id="rst-lse-label-u32"></a>



#### lse-label (`u32`)

<a id="rst-flower-key-cfm-attrs"></a>
<a id="rst-tc-attribute-set-flower-key-cfm-attrs"></a>



### flower-key-cfm-attrs

<a id="rst-md-level-u8"></a>



#### md-level (`u8`)

<a id="rst-opcode-u8"></a>



#### opcode (`u8`)

<a id="rst-fw-attrs"></a>
<a id="rst-tc-attribute-set-fw-attrs"></a>



### fw-attrs

<a id="rst-classid-u32-3"></a>



#### classid (`u32`)

<a id="rst-police-nest-4"></a>



#### police (`nest`)

- **nested-attributes**:

  [police-attrs](#rst-tc-attribute-set-police-attrs)

<a id="rst-indev-string-1"></a>



#### indev (`string`)

<a id="rst-act-indexed-array-4"></a>



#### act (`indexed-array`)

- **sub-type**:

  nest

- **nested-attributes**:

  [act-attrs](#rst-tc-attribute-set-act-attrs)

<a id="rst-mask-u32-2"></a>



#### mask (`u32`)

<a id="rst-gred-attrs"></a>
<a id="rst-tc-attribute-set-gred-attrs"></a>



### gred-attrs

<a id="rst-parms-binary-17"></a>



#### parms (`binary`)

<a id="rst-stab-binary-1"></a>



#### stab (`binary`)

- **sub-type**:

  u8

<a id="rst-dps-binary"></a>



#### dps (`binary`)

- **struct**:

  [tc-gred-sopt](#rst-tc-definition-tc-gred-sopt)

<a id="rst-max-p-binary"></a>



#### max-p (`binary`)

- **sub-type**:

  u32

<a id="rst-limit-u32-2"></a>



#### limit (`u32`)

<a id="rst-vq-list-nest"></a>



#### vq-list (`nest`)

- **nested-attributes**:

  [tca-gred-vq-list-attrs](#rst-tc-attribute-set-tca-gred-vq-list-attrs)

<a id="rst-tca-gred-vq-list-attrs"></a>
<a id="rst-tc-attribute-set-tca-gred-vq-list-attrs"></a>



### tca-gred-vq-list-attrs

<a id="rst-entry-nest"></a>



#### entry (`nest`)

- **nested-attributes**:

  [tca-gred-vq-entry-attrs](#rst-tc-attribute-set-tca-gred-vq-entry-attrs)

- **multi-attr**:

  True

<a id="rst-tca-gred-vq-entry-attrs"></a>
<a id="rst-tc-attribute-set-tca-gred-vq-entry-attrs"></a>



### tca-gred-vq-entry-attrs

<a id="rst-pad-pad-22"></a>



#### pad (`pad`)

<a id="rst-dp-u32"></a>



#### dp (`u32`)

<a id="rst-stat-bytes-u64"></a>



#### stat-bytes (`u64`)

<a id="rst-stat-packets-u32"></a>



#### stat-packets (`u32`)

<a id="rst-stat-backlog-u32"></a>



#### stat-backlog (`u32`)

<a id="rst-stat-prob-drop-u32"></a>



#### stat-prob-drop (`u32`)

<a id="rst-stat-prob-mark-u32"></a>



#### stat-prob-mark (`u32`)

<a id="rst-stat-forced-drop-u32"></a>



#### stat-forced-drop (`u32`)

<a id="rst-stat-forced-mark-u32"></a>



#### stat-forced-mark (`u32`)

<a id="rst-stat-pdrop-u32"></a>



#### stat-pdrop (`u32`)

<a id="rst-stat-other-u32"></a>



#### stat-other (`u32`)

<a id="rst-flags-u32-3"></a>



#### flags (`u32`)

<a id="rst-hfsc-attrs"></a>
<a id="rst-tc-attribute-set-hfsc-attrs"></a>



### hfsc-attrs

<a id="rst-rsc-binary"></a>



#### rsc (`binary`)

<a id="rst-fsc-binary"></a>



#### fsc (`binary`)

<a id="rst-usc-binary"></a>



#### usc (`binary`)

<a id="rst-hhf-attrs"></a>
<a id="rst-tc-attribute-set-hhf-attrs"></a>



### hhf-attrs

<a id="rst-backlog-limit-u32"></a>



#### backlog-limit (`u32`)

<a id="rst-quantum-u32-1"></a>



#### quantum (`u32`)

<a id="rst-hh-flows-limit-u32"></a>



#### hh-flows-limit (`u32`)

<a id="rst-reset-timeout-u32"></a>



#### reset-timeout (`u32`)

<a id="rst-admit-bytes-u32"></a>



#### admit-bytes (`u32`)

<a id="rst-evict-timeout-u32"></a>



#### evict-timeout (`u32`)

<a id="rst-non-hh-weight-u32"></a>



#### non-hh-weight (`u32`)

<a id="rst-htb-attrs"></a>
<a id="rst-tc-attribute-set-htb-attrs"></a>



### htb-attrs

<a id="rst-parms-binary-18"></a>



#### parms (`binary`)

- **struct**:

  [tc-htb-opt](#rst-tc-definition-tc-htb-opt)

<a id="rst-init-binary"></a>



#### init (`binary`)

- **struct**:

  [tc-htb-glob](#rst-tc-definition-tc-htb-glob)

<a id="rst-ctab-binary"></a>



#### ctab (`binary`)

<a id="rst-rtab-binary"></a>



#### rtab (`binary`)

<a id="rst-direct-qlen-u32"></a>



#### direct-qlen (`u32`)

<a id="rst-rate64-u64"></a>



#### rate64 (`u64`)

<a id="rst-ceil64-u64"></a>



#### ceil64 (`u64`)

<a id="rst-pad-pad-23"></a>



#### pad (`pad`)

<a id="rst-offload-flag"></a>



#### offload (`flag`)

<a id="rst-matchall-attrs"></a>
<a id="rst-tc-attribute-set-matchall-attrs"></a>



### matchall-attrs

<a id="rst-classid-u32-4"></a>



#### classid (`u32`)

<a id="rst-act-indexed-array-5"></a>



#### act (`indexed-array`)

- **sub-type**:

  nest

- **nested-attributes**:

  [act-attrs](#rst-tc-attribute-set-act-attrs)

<a id="rst-flags-u32-4"></a>



#### flags (`u32`)

<a id="rst-pcnt-binary-1"></a>



#### pcnt (`binary`)

- **struct**:

  [tc-matchall-pcnt](#rst-tc-definition-tc-matchall-pcnt)

<a id="rst-pad-pad-24"></a>



#### pad (`pad`)

<a id="rst-etf-attrs"></a>
<a id="rst-tc-attribute-set-etf-attrs"></a>



### etf-attrs

<a id="rst-parms-binary-19"></a>



#### parms (`binary`)

- **struct**:

  [tc-etf-qopt](#rst-tc-definition-tc-etf-qopt)

<a id="rst-ets-attrs"></a>
<a id="rst-tc-attribute-set-ets-attrs"></a>



### ets-attrs

<a id="rst-nbands-u8"></a>



#### nbands (`u8`)

<a id="rst-nstrict-u8"></a>



#### nstrict (`u8`)

<a id="rst-quanta-nest"></a>



#### quanta (`nest`)

- **nested-attributes**:

  [ets-attrs](#rst-tc-attribute-set-ets-attrs)

<a id="rst-quanta-band-u32"></a>



#### quanta-band (`u32`)

- **multi-attr**:

  True

<a id="rst-priomap-nest"></a>



#### priomap (`nest`)

- **nested-attributes**:

  [ets-attrs](#rst-tc-attribute-set-ets-attrs)

<a id="rst-priomap-band-u8"></a>



#### priomap-band (`u8`)

- **multi-attr**:

  True

<a id="rst-fq-attrs"></a>
<a id="rst-tc-attribute-set-fq-attrs"></a>



### fq-attrs

<a id="rst-plimit-u32"></a>



#### plimit (`u32`)

- **doc**:

  Limit of total number of packets in queue

<a id="rst-flow-plimit-u32"></a>



#### flow-plimit (`u32`)

- **doc**:

  Limit of packets per flow

<a id="rst-quantum-u32-2"></a>



#### quantum (`u32`)

- **doc**:

  RR quantum

<a id="rst-initial-quantum-u32"></a>



#### initial-quantum (`u32`)

- **doc**:

  RR quantum for new flow

<a id="rst-rate-enable-u32"></a>



#### rate-enable (`u32`)

- **doc**:

  Enable / disable rate limiting

<a id="rst-flow-default-rate-u32"></a>



#### flow-default-rate (`u32`)

- **doc**:

  Obsolete, do not use

<a id="rst-flow-max-rate-u32"></a>



#### flow-max-rate (`u32`)

- **doc**:

  Per flow max rate

<a id="rst-buckets-log-u32"></a>



#### buckets-log (`u32`)

- **doc**:

  log2(number of buckets)

<a id="rst-flow-refill-delay-u32"></a>



#### flow-refill-delay (`u32`)

- **doc**:

  Flow credit refill delay in usec

<a id="rst-orphan-mask-u32"></a>



#### orphan-mask (`u32`)

- **doc**:

  Mask applied to orphaned skb hashes

<a id="rst-low-rate-threshold-u32"></a>



#### low-rate-threshold (`u32`)

- **doc**:

  Per packet delay under this rate

<a id="rst-ce-threshold-u32-1"></a>



#### ce-threshold (`u32`)

- **doc**:

  DCTCP-like CE marking threshold

<a id="rst-timer-slack-u32"></a>



#### timer-slack (`u32`)

<a id="rst-horizon-u32"></a>



#### horizon (`u32`)

- **doc**:

  Time horizon in usec

<a id="rst-horizon-drop-u8"></a>



#### horizon-drop (`u8`)

- **doc**:

  Drop packets beyond horizon, or cap their EDT

<a id="rst-priomap-binary"></a>



#### priomap (`binary`)

- **struct**:

  [tc-prio-qopt](#rst-tc-definition-tc-prio-qopt)

<a id="rst-weights-binary"></a>



#### weights (`binary`)

- **sub-type**:

  s32

- **doc**:

  Weights for each band

<a id="rst-fq-codel-attrs"></a>
<a id="rst-tc-attribute-set-fq-codel-attrs"></a>



### fq-codel-attrs

<a id="rst-target-u32-3"></a>



#### target (`u32`)

<a id="rst-limit-u32-3"></a>



#### limit (`u32`)

<a id="rst-interval-u32-1"></a>



#### interval (`u32`)

<a id="rst-ecn-u32-1"></a>



#### ecn (`u32`)

<a id="rst-flows-u32"></a>



#### flows (`u32`)

<a id="rst-quantum-u32-3"></a>



#### quantum (`u32`)

<a id="rst-ce-threshold-u32-2"></a>



#### ce-threshold (`u32`)

<a id="rst-drop-batch-size-u32"></a>



#### drop-batch-size (`u32`)

<a id="rst-memory-limit-u32-2"></a>



#### memory-limit (`u32`)

<a id="rst-ce-threshold-selector-u8"></a>



#### ce-threshold-selector (`u8`)

<a id="rst-ce-threshold-mask-u8"></a>



#### ce-threshold-mask (`u8`)

<a id="rst-fq-pie-attrs"></a>
<a id="rst-tc-attribute-set-fq-pie-attrs"></a>



### fq-pie-attrs

<a id="rst-limit-u32-4"></a>



#### limit (`u32`)

<a id="rst-flows-u32-1"></a>



#### flows (`u32`)

<a id="rst-target-u32-4"></a>



#### target (`u32`)

<a id="rst-tupdate-u32-1"></a>



#### tupdate (`u32`)

<a id="rst-alpha-u32-1"></a>



#### alpha (`u32`)

<a id="rst-beta-u32-1"></a>



#### beta (`u32`)

<a id="rst-quantum-u32-4"></a>



#### quantum (`u32`)

<a id="rst-memory-limit-u32-3"></a>



#### memory-limit (`u32`)

<a id="rst-ecn-prob-u32"></a>



#### ecn-prob (`u32`)

<a id="rst-ecn-u32-2"></a>



#### ecn (`u32`)

<a id="rst-bytemode-u32"></a>



#### bytemode (`u32`)

<a id="rst-dq-rate-estimator-u32"></a>



#### dq-rate-estimator (`u32`)

<a id="rst-netem-attrs"></a>
<a id="rst-tc-attribute-set-netem-attrs"></a>



### netem-attrs

<a id="rst-corr-binary"></a>



#### corr (`binary`)

- **struct**:

  [tc-netem-corr](#rst-tc-definition-tc-netem-corr)

<a id="rst-delay-dist-binary"></a>



#### delay-dist (`binary`)

- **sub-type**:

  s16

<a id="rst-reorder-binary"></a>



#### reorder (`binary`)

- **struct**:

  [tc-netem-reorder](#rst-tc-definition-tc-netem-reorder)

<a id="rst-corrupt-binary"></a>



#### corrupt (`binary`)

- **struct**:

  [tc-netem-corrupt](#rst-tc-definition-tc-netem-corrupt)

<a id="rst-loss-nest"></a>



#### loss (`nest`)

- **nested-attributes**:

  [netem-loss-attrs](#rst-tc-attribute-set-netem-loss-attrs)

<a id="rst-rate-binary-1"></a>



#### rate (`binary`)

- **struct**:

  [tc-netem-rate](#rst-tc-definition-tc-netem-rate)

<a id="rst-ecn-u32-3"></a>



#### ecn (`u32`)

<a id="rst-rate64-u64-1"></a>



#### rate64 (`u64`)

<a id="rst-pad-u32"></a>



#### pad (`u32`)

<a id="rst-latency64-s64"></a>



#### latency64 (`s64`)

<a id="rst-jitter64-s64"></a>



#### jitter64 (`s64`)

<a id="rst-slot-binary"></a>



#### slot (`binary`)

- **struct**:

  [tc-netem-slot](#rst-tc-definition-tc-netem-slot)

<a id="rst-slot-dist-binary"></a>



#### slot-dist (`binary`)

- **sub-type**:

  s16

<a id="rst-prng-seed-u64"></a>



#### prng-seed (`u64`)

<a id="rst-netem-loss-attrs"></a>
<a id="rst-tc-attribute-set-netem-loss-attrs"></a>



### netem-loss-attrs

<a id="rst-gi-binary"></a>



#### gi (`binary`)

- **doc**:

  General Intuitive - 4 state model

- **struct**:

  [tc-netem-gimodel](#rst-tc-definition-tc-netem-gimodel)

<a id="rst-ge-binary"></a>



#### ge (`binary`)

- **doc**:

  Gilbert Elliot models

- **struct**:

  [tc-netem-gemodel](#rst-tc-definition-tc-netem-gemodel)

<a id="rst-pie-attrs"></a>
<a id="rst-tc-attribute-set-pie-attrs"></a>



### pie-attrs

<a id="rst-target-u32-5"></a>



#### target (`u32`)

<a id="rst-limit-u32-5"></a>



#### limit (`u32`)

<a id="rst-tupdate-u32-2"></a>



#### tupdate (`u32`)

<a id="rst-alpha-u32-2"></a>



#### alpha (`u32`)

<a id="rst-beta-u32-2"></a>



#### beta (`u32`)

<a id="rst-ecn-u32-4"></a>



#### ecn (`u32`)

<a id="rst-bytemode-u32-1"></a>



#### bytemode (`u32`)

<a id="rst-dq-rate-estimator-u32-1"></a>



#### dq-rate-estimator (`u32`)

<a id="rst-police-attrs"></a>
<a id="rst-tc-attribute-set-police-attrs"></a>



### police-attrs

<a id="rst-tbf-binary"></a>



#### tbf (`binary`)

- **struct**:

  [tc-police](#rst-tc-definition-tc-police)

<a id="rst-rate-binary-2"></a>



#### rate (`binary`)

<a id="rst-peakrate-binary"></a>



#### peakrate (`binary`)

<a id="rst-avrate-u32"></a>



#### avrate (`u32`)

<a id="rst-result-u32"></a>



#### result (`u32`)

<a id="rst-tm-binary-16"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-pad-pad-25"></a>



#### pad (`pad`)

<a id="rst-rate64-u64-2"></a>



#### rate64 (`u64`)

<a id="rst-peakrate64-u64"></a>



#### peakrate64 (`u64`)

<a id="rst-pktrate64-u64"></a>



#### pktrate64 (`u64`)

<a id="rst-pktburst64-u64"></a>



#### pktburst64 (`u64`)

<a id="rst-qfq-attrs"></a>
<a id="rst-tc-attribute-set-qfq-attrs"></a>



### qfq-attrs

<a id="rst-weight-u32"></a>



#### weight (`u32`)

<a id="rst-lmax-u32"></a>



#### lmax (`u32`)

<a id="rst-red-attrs"></a>
<a id="rst-tc-attribute-set-red-attrs"></a>



### red-attrs

<a id="rst-parms-binary-20"></a>



#### parms (`binary`)

- **struct**:

  [tc-red-qopt](#rst-tc-definition-tc-red-qopt)

<a id="rst-stab-binary-2"></a>



#### stab (`binary`)

<a id="rst-max-p-u32-1"></a>



#### max-p (`u32`)

<a id="rst-flags-bitfield32-1"></a>



#### flags (`bitfield32`)

<a id="rst-early-drop-block-u32"></a>



#### early-drop-block (`u32`)

<a id="rst-mark-block-u32"></a>



#### mark-block (`u32`)

<a id="rst-route-attrs"></a>
<a id="rst-tc-attribute-set-route-attrs"></a>



### route-attrs

<a id="rst-classid-u32-5"></a>



#### classid (`u32`)

<a id="rst-to-u32"></a>



#### to (`u32`)

<a id="rst-from-u32"></a>



#### from (`u32`)

<a id="rst-iif-u32"></a>



#### iif (`u32`)

<a id="rst-police-nest-5"></a>



#### police (`nest`)

- **nested-attributes**:

  [police-attrs](#rst-tc-attribute-set-police-attrs)

<a id="rst-act-indexed-array-6"></a>



#### act (`indexed-array`)

- **sub-type**:

  nest

- **nested-attributes**:

  [act-attrs](#rst-tc-attribute-set-act-attrs)

<a id="rst-taprio-attrs"></a>
<a id="rst-tc-attribute-set-taprio-attrs"></a>



### taprio-attrs

<a id="rst-priomap-binary-1"></a>



#### priomap (`binary`)

- **struct**:

  [tc-mqprio-qopt](#rst-tc-definition-tc-mqprio-qopt)

<a id="rst-sched-entry-list-nest"></a>



#### sched-entry-list (`nest`)

- **nested-attributes**:

  [taprio-sched-entry-list](#rst-tc-attribute-set-taprio-sched-entry-list)

<a id="rst-sched-base-time-s64"></a>



#### sched-base-time (`s64`)

<a id="rst-sched-single-entry-nest"></a>



#### sched-single-entry (`nest`)

- **nested-attributes**:

  [taprio-sched-entry](#rst-tc-attribute-set-taprio-sched-entry)

<a id="rst-sched-clockid-s32"></a>



#### sched-clockid (`s32`)

<a id="rst-pad-pad-26"></a>



#### pad (`pad`)

<a id="rst-admin-sched-binary"></a>



#### admin-sched (`binary`)

<a id="rst-sched-cycle-time-s64"></a>



#### sched-cycle-time (`s64`)

<a id="rst-sched-cycle-time-extension-s64"></a>



#### sched-cycle-time-extension (`s64`)

<a id="rst-flags-u32-5"></a>



#### flags (`u32`)

<a id="rst-txtime-delay-u32"></a>



#### txtime-delay (`u32`)

<a id="rst-tc-entry-nest"></a>



#### tc-entry (`nest`)

- **nested-attributes**:

  [taprio-tc-entry-attrs](#rst-tc-attribute-set-taprio-tc-entry-attrs)

<a id="rst-taprio-sched-entry-list"></a>
<a id="rst-tc-attribute-set-taprio-sched-entry-list"></a>



### taprio-sched-entry-list

<a id="rst-entry-nest-1"></a>



#### entry (`nest`)

- **nested-attributes**:

  [taprio-sched-entry](#rst-tc-attribute-set-taprio-sched-entry)

- **multi-attr**:

  True

<a id="rst-taprio-sched-entry"></a>
<a id="rst-tc-attribute-set-taprio-sched-entry"></a>



### taprio-sched-entry

<a id="rst-index-u32-2"></a>



#### index (`u32`)

<a id="rst-cmd-u8"></a>



#### cmd (`u8`)

<a id="rst-gate-mask-u32"></a>



#### gate-mask (`u32`)

<a id="rst-interval-u32-2"></a>



#### interval (`u32`)

<a id="rst-taprio-tc-entry-attrs"></a>
<a id="rst-tc-attribute-set-taprio-tc-entry-attrs"></a>



### taprio-tc-entry-attrs

<a id="rst-index-u32-3"></a>



#### index (`u32`)

<a id="rst-max-sdu-u32"></a>



#### max-sdu (`u32`)

<a id="rst-fp-u32"></a>



#### fp (`u32`)

<a id="rst-tbf-attrs"></a>
<a id="rst-tc-attribute-set-tbf-attrs"></a>



### tbf-attrs

<a id="rst-parms-binary-21"></a>



#### parms (`binary`)

- **struct**:

  [tc-tbf-qopt](#rst-tc-definition-tc-tbf-qopt)

<a id="rst-rtab-binary-1"></a>



#### rtab (`binary`)

<a id="rst-ptab-binary"></a>



#### ptab (`binary`)

<a id="rst-rate64-u64-3"></a>



#### rate64 (`u64`)

<a id="rst-prate64-u64"></a>



#### prate64 (`u64`)

<a id="rst-burst-u32"></a>



#### burst (`u32`)

<a id="rst-pburst-u32"></a>



#### pburst (`u32`)

<a id="rst-pad-pad-27"></a>



#### pad (`pad`)

<a id="rst-act-sample-attrs"></a>
<a id="rst-tc-attribute-set-act-sample-attrs"></a>



### act-sample-attrs

<a id="rst-tm-binary-17"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-22"></a>



#### parms (`binary`)

- **struct**:

  [tc-gact](#rst-tc-definition-tc-gact)

<a id="rst-rate-u32"></a>



#### rate (`u32`)

<a id="rst-trunc-size-u32"></a>



#### trunc-size (`u32`)

<a id="rst-psample-group-u32"></a>



#### psample-group (`u32`)

<a id="rst-pad-pad-28"></a>



#### pad (`pad`)

<a id="rst-act-gact-attrs"></a>
<a id="rst-tc-attribute-set-act-gact-attrs"></a>



### act-gact-attrs

<a id="rst-tm-binary-18"></a>



#### tm (`binary`)

- **struct**:

  [tcf-t](#rst-tc-definition-tcf-t)

<a id="rst-parms-binary-23"></a>



#### parms (`binary`)

- **struct**:

  [tc-gact](#rst-tc-definition-tc-gact)

<a id="rst-prob-binary"></a>



#### prob (`binary`)

- **struct**:

  [tc-gact-p](#rst-tc-definition-tc-gact-p)

<a id="rst-pad-pad-29"></a>



#### pad (`pad`)

<a id="rst-tca-stab-attrs"></a>
<a id="rst-tc-attribute-set-tca-stab-attrs"></a>



### tca-stab-attrs

<a id="rst-base-binary"></a>



#### base (`binary`)

- **struct**:

  [tc-sizespec](#rst-tc-definition-tc-sizespec)

<a id="rst-data-binary-2"></a>



#### data (`binary`)

<a id="rst-tca-stats-attrs"></a>
<a id="rst-tc-attribute-set-tca-stats-attrs"></a>



### tca-stats-attrs

<a id="rst-basic-binary"></a>



#### basic (`binary`)

- **struct**:

  [gnet-stats-basic](#rst-tc-definition-gnet-stats-basic)

<a id="rst-rate-est-binary"></a>



#### rate-est (`binary`)

- **struct**:

  [gnet-stats-rate-est](#rst-tc-definition-gnet-stats-rate-est)

<a id="rst-queue-binary"></a>



#### queue (`binary`)

- **struct**:

  [gnet-stats-queue](#rst-tc-definition-gnet-stats-queue)

<a id="rst-app-sub-message"></a>



#### app (`sub-message`)

- **sub-message**:

  [tca-stats-app-msg](#rst-tc-sub-message-tca-stats-app-msg)

- **selector**:

  kind

<a id="rst-rate-est64-binary"></a>



#### rate-est64 (`binary`)

- **struct**:

  [gnet-stats-rate-est64](#rst-tc-definition-gnet-stats-rate-est64)

<a id="rst-pad-pad-30"></a>



#### pad (`pad`)

<a id="rst-basic-hw-binary"></a>



#### basic-hw (`binary`)

- **struct**:

  [gnet-stats-basic](#rst-tc-definition-gnet-stats-basic)

<a id="rst-pkt64-u64"></a>



#### pkt64 (`u64`)

<a id="rst-u32-attrs"></a>
<a id="rst-tc-attribute-set-u32-attrs"></a>



### u32-attrs

<a id="rst-classid-u32-6"></a>



#### classid (`u32`)

<a id="rst-hash-u32"></a>



#### hash (`u32`)

<a id="rst-link-u32"></a>



#### link (`u32`)

<a id="rst-divisor-u32-1"></a>



#### divisor (`u32`)

<a id="rst-sel-binary"></a>



#### sel (`binary`)

- **struct**:

  [tc-u32-sel](#rst-tc-definition-tc-u32-sel)

<a id="rst-police-nest-6"></a>



#### police (`nest`)

- **nested-attributes**:

  [police-attrs](#rst-tc-attribute-set-police-attrs)

<a id="rst-act-indexed-array-7"></a>



#### act (`indexed-array`)

- **sub-type**:

  nest

- **nested-attributes**:

  [act-attrs](#rst-tc-attribute-set-act-attrs)

<a id="rst-indev-string-2"></a>



#### indev (`string`)

<a id="rst-pcnt-binary-2"></a>



#### pcnt (`binary`)

- **struct**:

  [tc-u32-pcnt](#rst-tc-definition-tc-u32-pcnt)

<a id="rst-mark-binary"></a>



#### mark (`binary`)

- **struct**:

  [tc-u32-mark](#rst-tc-definition-tc-u32-mark)

<a id="rst-flags-u32-6"></a>



#### flags (`u32`)

<a id="rst-pad-pad-31"></a>



#### pad (`pad`)

<a id="rst-sub-messages"></a>



## Sub-messages

<a id="rst-options-msg"></a>
<a id="rst-tc-sub-message-options-msg"></a>



### options-msg

- **basic**

  - **attribute-set**:

    [basic-attrs](#rst-tc-attribute-set-basic-attrs)

- **bpf**

  - **attribute-set**:

    [bpf-attrs](#rst-tc-attribute-set-bpf-attrs)

- **bfifo**

  - **fixed-header**:

    [tc-fifo-qopt](#rst-tc-definition-tc-fifo-qopt)

- **cake**

  - **attribute-set**:

    [cake-attrs](#rst-tc-attribute-set-cake-attrs)

- **cbs**

  - **attribute-set**:

    [cbs-attrs](#rst-tc-attribute-set-cbs-attrs)

- **cgroup**

  - **attribute-set**:

    [cgroup-attrs](#rst-tc-attribute-set-cgroup-attrs)

- **choke**

  - **attribute-set**:

    [choke-attrs](#rst-tc-attribute-set-choke-attrs)

- **clsact**


- **codel**

  - **attribute-set**:

    [codel-attrs](#rst-tc-attribute-set-codel-attrs)

- **drr**

  - **attribute-set**:

    [drr-attrs](#rst-tc-attribute-set-drr-attrs)

- **dualpi2**

  - **attribute-set**:

    [dualpi2-attrs](#rst-tc-attribute-set-dualpi2-attrs)

- **etf**

  - **attribute-set**:

    [etf-attrs](#rst-tc-attribute-set-etf-attrs)

- **ets**

  - **attribute-set**:

    [ets-attrs](#rst-tc-attribute-set-ets-attrs)

- **flow**

  - **attribute-set**:

    [flow-attrs](#rst-tc-attribute-set-flow-attrs)

- **flower**

  - **attribute-set**:

    [flower-attrs](#rst-tc-attribute-set-flower-attrs)

- **fq**

  - **attribute-set**:

    [fq-attrs](#rst-tc-attribute-set-fq-attrs)

- **fq\_codel**

  - **attribute-set**:

    [fq-codel-attrs](#rst-tc-attribute-set-fq-codel-attrs)

- **fq\_pie**

  - **attribute-set**:

    [fq-pie-attrs](#rst-tc-attribute-set-fq-pie-attrs)

- **fw**

  - **attribute-set**:

    [fw-attrs](#rst-tc-attribute-set-fw-attrs)

- **gred**

  - **attribute-set**:

    [gred-attrs](#rst-tc-attribute-set-gred-attrs)

- **hfsc**

  - **fixed-header**:

    [tc-hfsc-qopt](#rst-tc-definition-tc-hfsc-qopt)

- **hhf**

  - **attribute-set**:

    [hhf-attrs](#rst-tc-attribute-set-hhf-attrs)

- **htb**

  - **attribute-set**:

    [htb-attrs](#rst-tc-attribute-set-htb-attrs)

- **ingress**


- **matchall**

  - **attribute-set**:

    [matchall-attrs](#rst-tc-attribute-set-matchall-attrs)

- **mq**


- **mqprio**

  - **fixed-header**:

    [tc-mqprio-qopt](#rst-tc-definition-tc-mqprio-qopt)

- **multiq**

  - **fixed-header**:

    [tc-multiq-qopt](#rst-tc-definition-tc-multiq-qopt)

- **netem**

  - **fixed-header**:

    [tc-netem-qopt](#rst-tc-definition-tc-netem-qopt)

  - **attribute-set**:

    [netem-attrs](#rst-tc-attribute-set-netem-attrs)

- **pfifo**

  - **fixed-header**:

    [tc-fifo-qopt](#rst-tc-definition-tc-fifo-qopt)

- **pfifo\_fast**

  - **fixed-header**:

    [tc-prio-qopt](#rst-tc-definition-tc-prio-qopt)

- **pfifo\_head\_drop**

  - **fixed-header**:

    [tc-fifo-qopt](#rst-tc-definition-tc-fifo-qopt)

- **pie**

  - **attribute-set**:

    [pie-attrs](#rst-tc-attribute-set-pie-attrs)

- **plug**

  - **fixed-header**:

    [tc-plug-qopt](#rst-tc-definition-tc-plug-qopt)

- **prio**

  - **fixed-header**:

    [tc-prio-qopt](#rst-tc-definition-tc-prio-qopt)

- **qfq**

  - **attribute-set**:

    [qfq-attrs](#rst-tc-attribute-set-qfq-attrs)

- **red**

  - **attribute-set**:

    [red-attrs](#rst-tc-attribute-set-red-attrs)

- **route**

  - **attribute-set**:

    [route-attrs](#rst-tc-attribute-set-route-attrs)

- **sfb**

  - **fixed-header**:

    [tc-sfb-qopt](#rst-tc-definition-tc-sfb-qopt)

- **sfq**

  - **fixed-header**:

    [tc-sfq-qopt-v1](#rst-tc-definition-tc-sfq-qopt-v1)

- **taprio**

  - **attribute-set**:

    [taprio-attrs](#rst-tc-attribute-set-taprio-attrs)

- **tbf**

  - **attribute-set**:

    [tbf-attrs](#rst-tc-attribute-set-tbf-attrs)

- **u32**

  - **attribute-set**:

    [u32-attrs](#rst-tc-attribute-set-u32-attrs)

<a id="rst-act-options-msg"></a>
<a id="rst-tc-sub-message-act-options-msg"></a>



### act-options-msg

- **bpf**

  - **attribute-set**:

    [act-bpf-attrs](#rst-tc-attribute-set-act-bpf-attrs)

- **connmark**

  - **attribute-set**:

    [act-connmark-attrs](#rst-tc-attribute-set-act-connmark-attrs)

- **csum**

  - **attribute-set**:

    [act-csum-attrs](#rst-tc-attribute-set-act-csum-attrs)

- **ct**

  - **attribute-set**:

    [act-ct-attrs](#rst-tc-attribute-set-act-ct-attrs)

- **ctinfo**

  - **attribute-set**:

    [act-ctinfo-attrs](#rst-tc-attribute-set-act-ctinfo-attrs)

- **gact**

  - **attribute-set**:

    [act-gact-attrs](#rst-tc-attribute-set-act-gact-attrs)

- **gate**

  - **attribute-set**:

    [act-gate-attrs](#rst-tc-attribute-set-act-gate-attrs)

- **ife**

  - **attribute-set**:

    [act-ife-attrs](#rst-tc-attribute-set-act-ife-attrs)

- **mirred**

  - **attribute-set**:

    [act-mirred-attrs](#rst-tc-attribute-set-act-mirred-attrs)

- **mpls**

  - **attribute-set**:

    [act-mpls-attrs](#rst-tc-attribute-set-act-mpls-attrs)

- **nat**

  - **attribute-set**:

    [act-nat-attrs](#rst-tc-attribute-set-act-nat-attrs)

- **pedit**

  - **attribute-set**:

    [act-pedit-attrs](#rst-tc-attribute-set-act-pedit-attrs)

- **police**

  - **attribute-set**:

    [police-attrs](#rst-tc-attribute-set-police-attrs)

- **sample**

  - **attribute-set**:

    [act-sample-attrs](#rst-tc-attribute-set-act-sample-attrs)

- **simple**

  - **attribute-set**:

    [act-simple-attrs](#rst-tc-attribute-set-act-simple-attrs)

- **skbedit**

  - **attribute-set**:

    [act-skbedit-attrs](#rst-tc-attribute-set-act-skbedit-attrs)

- **skbmod**

  - **attribute-set**:

    [act-skbmod-attrs](#rst-tc-attribute-set-act-skbmod-attrs)

- **tunnel\_key**

  - **attribute-set**:

    [act-tunnel-key-attrs](#rst-tc-attribute-set-act-tunnel-key-attrs)

- **vlan**

  - **attribute-set**:

    [act-vlan-attrs](#rst-tc-attribute-set-act-vlan-attrs)

<a id="rst-tca-stats-app-msg"></a>
<a id="rst-tc-sub-message-tca-stats-app-msg"></a>



### tca-stats-app-msg

- **cake**

  - **attribute-set**:

    [cake-stats-attrs](#rst-tc-attribute-set-cake-stats-attrs)

- **choke**

  - **fixed-header**:

    [tc-choke-xstats](#rst-tc-definition-tc-choke-xstats)

- **codel**

  - **fixed-header**:

    [tc-codel-xstats](#rst-tc-definition-tc-codel-xstats)

- **dualpi2**

  - **fixed-header**:

    [tc-dualpi2-xstats](#rst-tc-definition-tc-dualpi2-xstats)

- **fq**

  - **fixed-header**:

    [tc-fq-qd-stats](#rst-tc-definition-tc-fq-qd-stats)

- **fq\_codel**

  - **fixed-header**:

    [tc-fq-codel-xstats](#rst-tc-definition-tc-fq-codel-xstats)

- **fq\_pie**

  - **fixed-header**:

    [tc-fq-pie-xstats](#rst-tc-definition-tc-fq-pie-xstats)

- **hhf**

  - **fixed-header**:

    [tc-hhf-xstats](#rst-tc-definition-tc-hhf-xstats)

- **pie**

  - **fixed-header**:

    [tc-pie-xstats](#rst-tc-definition-tc-pie-xstats)

- **red**

  - **fixed-header**:

    [tc-red-xstats](#rst-tc-definition-tc-red-xstats)

- **sfb**

  - **fixed-header**:

    [tc-sfb-xstats](#rst-tc-definition-tc-sfb-xstats)

- **sfq**

  - **fixed-header**:

    [tc-sfq-xstats](#rst-tc-definition-tc-sfq-xstats)
