summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorMohit P. Tahiliani <tahiliani@nitk.edu.in>2020-01-22 23:52:25 +0530
committerDavid S. Miller <davem@davemloft.net>2020-01-23 11:38:31 +0100
commit805a5a23a4c4ee126e781bd14a1deb242395e817 (patch)
treed390946213d60a067f6a8926faffedfe83268b51 /include/net
parent84bf557fb02f5924c109a21a160ffc353d878487 (diff)
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')
-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 */