summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMohit P. Tahiliani <tahiliani@nitk.edu.in>2020-01-22 23:52:26 +0530
committerDavid S. Miller <davem@davemloft.net>2020-01-23 11:38:31 +0100
commitcf4eeee5ff56180b525bfb6a204071216ca4000a (patch)
tree0de58181c98e361bf0bcfd2f499b16469658a5ee /include/net
parent805a5a23a4c4ee126e781bd14a1deb242395e817 (diff)
downloadlinux-cf4eeee5ff56180b525bfb6a204071216ca4000a.tar.bz2
pie: rearrange macros in order of length
Rearrange macros in order of length and align the values to improve readability. 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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/pie.h b/include/net/pie.h
index 7ef375db5bab..397c7abf0879 100644
--- a/include/net/pie.h
+++ b/include/net/pie.h
@@ -8,11 +8,11 @@
#include <net/inet_ecn.h>
#include <net/pkt_sched.h>
-#define QUEUE_THRESHOLD 16384
-#define DQCOUNT_INVALID -1
-#define DTIME_INVALID U64_MAX
-#define MAX_PROB U64_MAX
-#define PIE_SCALE 8
+#define MAX_PROB U64_MAX
+#define DTIME_INVALID U64_MAX
+#define QUEUE_THRESHOLD 16384
+#define DQCOUNT_INVALID -1
+#define PIE_SCALE 8
/* parameters used */
struct pie_params {