summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorVedang Patel2019-07-16 21:52:18 +0200
committerDavid S. Miller2019-07-16 23:19:19 +0200
commita5b647007e9d794956dbed9339a3354a9fc4d5c3 (patch)
treee8730b5c466face2e8fa7abf0e3fc06c55257c1d /include/uapi
parentskbuff: fix compilation warnings in skb_dump() (diff)
downloadkernel-qcow2-linux-a5b647007e9d794956dbed9339a3354a9fc4d5c3.tar.gz
kernel-qcow2-linux-a5b647007e9d794956dbed9339a3354a9fc4d5c3.tar.xz
kernel-qcow2-linux-a5b647007e9d794956dbed9339a3354a9fc4d5c3.zip
fix: taprio: Change type of txtime-delay parameter to u32
During the review of the iproute2 patches for txtime-assist mode, it was pointed out that it does not make sense for the txtime-delay parameter to be negative. So, change the type of the parameter from s32 to u32. Fixes: 4cfd5779bd6e ("taprio: Add support for txtime-assist mode") Reported-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Vedang Patel <vedang.patel@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/pkt_sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h
index 1f623252abe8..18f185299f47 100644
--- a/include/uapi/linux/pkt_sched.h
+++ b/include/uapi/linux/pkt_sched.h
@@ -1174,7 +1174,7 @@ enum {
TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME, /* s64 */
TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME_EXTENSION, /* s64 */
TCA_TAPRIO_ATTR_FLAGS, /* u32 */
- TCA_TAPRIO_ATTR_TXTIME_DELAY, /* s32 */
+ TCA_TAPRIO_ATTR_TXTIME_DELAY, /* u32 */
__TCA_TAPRIO_ATTR_MAX,
};