From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leslie Monis Subject: [PATCH net-next 1/8] net: sched: pie: change value of QUEUE_THRESHOLD Date: Wed, 31 Oct 2018 21:49:25 +0530 Message-ID: <1541002772-28040-2-git-send-email-lesliemonis@gmail.com> References: <1541002772-28040-1-git-send-email-lesliemonis@gmail.com> Cc: netdev@vger.kernel.org, tahiliani@nitk.edu.in, dhavaljkhandla26@gmail.com, hrishihiraskar@gmail.com, bmanish15597@gmail.com, sdp.sachin@gmail.com To: jhs@mojatatu.com Return-path: Received: from mail-pg1-f193.google.com ([209.85.215.193]:34996 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729320AbeKABSY (ORCPT ); Wed, 31 Oct 2018 21:18:24 -0400 Received: by mail-pg1-f193.google.com with SMTP id 32-v6so7621491pgu.2 for ; Wed, 31 Oct 2018 09:19:43 -0700 (PDT) In-Reply-To: <1541002772-28040-1-git-send-email-lesliemonis@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: "Mohit P. Tahiliani" RFC 8033 recommends a value of 16384 bytes for the queue threshold instead of 10000 bytes. Signed-off-by: Mohit P. Tahiliani Signed-off-by: Dhaval Khandla Signed-off-by: Hrishikesh Hiraskar Signed-off-by: Manish Kumar B Signed-off-by: Sachin D. Patil Signed-off-by: Leslie Monis --- 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 #include -#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