Subject: [PATCH net-next 1/8] net: sched: pie: change value of QUEUE_THRESHOLD

From: Leslie Monis <[email-masked]>
Date: Wed, 31 Oct 2018 21:49:25 +0530

From: "Mohit P. Tahiliani" <[email-masked]>

RFC 8033 recommends a value of 16384 bytes for the queue
threshold instead of 10000 bytes.

Signed-off-by: Mohit P. Tahiliani <[email-masked]>
Signed-off-by: Dhaval Khandla <[email-masked]>
Signed-off-by: Hrishikesh Hiraskar <[email-masked]>
Signed-off-by: Manish Kumar B <[email-masked]>
Signed-off-by: Sachin D. Patil <[email-masked]>
Signed-off-by: Leslie Monis <[email-masked]>
---
 net/sched/sch_pie.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/sched/sch_pie.c b/net/sched/sch_pie.c
index d142937..56c9e4d 100644
--- a/net/sched/sch_pie.c
+++ b/net/sched/sch_pie.c
@@ -31,7 +31,7 @@
 #include <net/pkt_sched.h>
 #include <net/inet_ecn.h>
 
-#define QUEUE_THRESHOLD 10000
+#define QUEUE_THRESHOLD 16384	/* 16KB i.e. 2^14 bytes */
 #define DQCOUNT_INVALID -1
 #define MAX_PROB  0xffffffff
 #define PIE_SCALE 8
-- 
2.7.4