diff options
author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | 2019-04-30 01:48:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-01 18:58:51 +0300 |
commit | 6ca6a6654225f3cd001304d33429c817e0c0b85f (patch) | |
tree | 425f046e5e7d522a5bedb144ec3a64fd231812e1 /include/uapi | |
parent | a3d43c0d56f1b94e74963a2fbadfb70126d92213 (diff) | |
download | linux-6ca6a6654225f3cd001304d33429c817e0c0b85f.tar.xz |
taprio: Add support for setting the cycle-time manually
IEEE 802.1Q-2018 defines that a the cycle-time of a schedule may be
overridden, so the schedule is truncated to a determined "width".
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/pkt_sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h index d59770d0eb84..7a32276838e1 100644 --- a/include/uapi/linux/pkt_sched.h +++ b/include/uapi/linux/pkt_sched.h @@ -1167,6 +1167,7 @@ enum { TCA_TAPRIO_ATTR_SCHED_CLOCKID, /* s32 */ TCA_TAPRIO_PAD, TCA_TAPRIO_ATTR_ADMIN_SCHED, /* The admin sched, only used in dump */ + TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME, /* s64 */ __TCA_TAPRIO_ATTR_MAX, }; |