mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
fix 6in4/gso peformance issue
This commit is contained in:
parent
35fe25977c
commit
4c37cac0e8
@ -13,9 +13,9 @@ PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/dtaht/sch_cake.git
|
||||
PKG_SOURCE_DATE:=2018-08-25
|
||||
PKG_SOURCE_VERSION:=42175bfc76c5e7fbca5b50fd4c5cca7801f123f2
|
||||
PKG_MIRROR_HASH:=9b3748ee97e774f8ae63e808dd85de04d28b9b9a0abb0367d4e372129e5d8096
|
||||
PKG_SOURCE_DATE:=2018-09-11
|
||||
PKG_SOURCE_VERSION:=42e87f12ea5c390bf5eeb658c942bc810046160a
|
||||
PKG_MIRROR_HASH:=56c71ae079e4c64aef2564d42d2efd31621e7e9f5220844ad1ea795e2f1cb1fd
|
||||
PKG_MAINTAINER:=Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=iproute2
|
||||
PKG_VERSION:=4.18.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2
|
||||
|
@ -854,7 +854,7 @@
|
||||
TCMODULES += e_bpf.o
|
||||
--- /dev/null
|
||||
+++ b/tc/q_cake.c
|
||||
@@ -0,0 +1,799 @@
|
||||
@@ -0,0 +1,805 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
|
||||
+
|
||||
+/*
|
||||
@ -1325,6 +1325,8 @@
|
||||
+
|
||||
+ if (nat)
|
||||
+ print_string(PRINT_FP, NULL, "nat ", NULL);
|
||||
+ else
|
||||
+ print_string(PRINT_FP, NULL, "nonat ", NULL);
|
||||
+ print_bool(PRINT_JSON, "nat", NULL, nat);
|
||||
+
|
||||
+ if (tb[TCA_CAKE_WASH] &&
|
||||
@ -1365,6 +1367,8 @@
|
||||
+
|
||||
+ if (wash)
|
||||
+ print_string(PRINT_FP, NULL, "wash ", NULL);
|
||||
+ else
|
||||
+ print_string(PRINT_FP, NULL, "nowash ", NULL);
|
||||
+ print_bool(PRINT_JSON, "wash", NULL, wash);
|
||||
+
|
||||
+ if (ingress)
|
||||
@ -1377,10 +1381,12 @@
|
||||
+ else if (ack_filter == CAKE_ACK_FILTER)
|
||||
+ print_string(PRINT_ANY, "ack-filter", "ack-filter ", "enabled");
|
||||
+ else
|
||||
+ print_string(PRINT_JSON, "ack-filter", NULL, "disabled");
|
||||
+ print_string(PRINT_ANY, "ack-filter", "no-ack-filter ", "disabled");
|
||||
+
|
||||
+ if (split_gso)
|
||||
+ print_string(PRINT_FP, NULL, "split-gso ", NULL);
|
||||
+ else
|
||||
+ print_string(PRINT_FP, NULL, "no-split-gso ", NULL);
|
||||
+ print_bool(PRINT_JSON, "split_gso", NULL, split_gso);
|
||||
+
|
||||
+ if (interval)
|
||||
|
Loading…
Reference in New Issue
Block a user