pie: rearrange macros in order of length
authorMohit P. Tahiliani <tahiliani@nitk.edu.in>
Wed, 22 Jan 2020 18:22:26 +0000 (23:52 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2020 10:38:31 +0000 (11:38 +0100)
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>
include/net/pie.h

index 7ef375db5babe55ed9b6297bcfd2b8a9ccaa2de4..397c7abf0879c54b31ed69b56f28bbc08e196ee8 100644 (file)
@@ -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 {