From 74cfd71531446440b70639f2290f510a529deaa6 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Fri, 4 Mar 2022 17:43:51 +0200 Subject: [PATCH] interface: disable autorate-ingress by default Enabling autorate-ingress on a mostly idle host seems to result in the ingress rate being lowered until traffic is barely possible at all. Disable autorate-ingress by default to avoid people running into this problem without explicitly enabling it. Signed-off-by: Stijn Tintel Acked-by: Felix Fietkau --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.c b/interface.c index 5c2dfe8..4d53b00 100644 --- a/interface.c +++ b/interface.c @@ -149,7 +149,7 @@ iface_config_set(struct qosify_iface *iface, struct blob_attr *attr) cfg->ingress = true; cfg->egress = true; cfg->host_isolate = true; - cfg->autorate_ingress = true; + cfg->autorate_ingress = false; cfg->nat = !iface->device; if ((cur = tb[IFACE_ATTR_BW_UP]) != NULL) -- 2.30.2