[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1541002772-28040-2-git-send-email-lesliemonis@gmail.com>
Date: Wed, 31 Oct 2018 21:49:25 +0530
From: Leslie Monis <lesliemonis@...il.com>
To: jhs@...atatu.com
Cc: netdev@...r.kernel.org, tahiliani@...k.edu.in,
dhavaljkhandla26@...il.com, hrishihiraskar@...il.com,
bmanish15597@...il.com, sdp.sachin@...il.com
Subject: [PATCH net-next 1/8] net: sched: pie: change value of QUEUE_THRESHOLD
From: "Mohit P. Tahiliani" <tahiliani@...k.edu.in>
RFC 8033 recommends a value of 16384 bytes for the queue
threshold instead of 10000 bytes.
Signed-off-by: Mohit P. Tahiliani <tahiliani@...k.edu.in>
Signed-off-by: Dhaval Khandla <dhavaljkhandla26@...il.com>
Signed-off-by: Hrishikesh Hiraskar <hrishihiraskar@...il.com>
Signed-off-by: Manish Kumar B <bmanish15597@...il.com>
Signed-off-by: Sachin D. Patil <sdp.sachin@...il.com>
Signed-off-by: Leslie Monis <lesliemonis@...il.com>
---
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
Powered by blists - more mailing lists