summaryrefslogtreecommitdiff
path: root/include/net/pie.h
diff options
context:
space:
mode:
authorMohit P. Tahiliani <tahiliani@nitk.edu.in>2020-01-22 21:22:25 +0300
committerDavid S. Miller <davem@davemloft.net>2020-01-23 13:38:31 +0300
commit805a5a23a4c4ee126e781bd14a1deb242395e817 (patch)
treed390946213d60a067f6a8926faffedfe83268b51 /include/net/pie.h
parent84bf557fb02f5924c109a21a160ffc353d878487 (diff)
downloadlinux-805a5a23a4c4ee126e781bd14a1deb242395e817.tar.xz
pie: use U64_MAX to denote (2^64 - 1)
Use the U64_MAX macro to denote the constant (2^64 - 1). Signed-off-by: Mohit P. Tahiliani <tahiliani@nitk.edu.in> Signed-off-by: Leslie Monis <lesliemonis@gmail.com> Signed-off-by: Gautam Ramakrishnan <gautamramk@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pie.h')
-rw-r--r--include/net/pie.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/pie.h b/include/net/pie.h
index 440213ec83eb..7ef375db5bab 100644
--- a/include/net/pie.h
+++ b/include/net/pie.h
@@ -10,8 +10,8 @@
#define QUEUE_THRESHOLD 16384
#define DQCOUNT_INVALID -1
-#define DTIME_INVALID 0xffffffffffffffff
-#define MAX_PROB 0xffffffffffffffff
+#define DTIME_INVALID U64_MAX
+#define MAX_PROB U64_MAX
#define PIE_SCALE 8
/* parameters used */