@ -854,7 +854,7 @@
TCMODULES += e_bpf.o
TCMODULES += e_bpf.o
--- /dev/null
--- /dev/null
+++ b/tc/q_cake.c
+++ b/tc/q_cake.c
@@ -0,0 +1,801 @@
@@ -0,0 +1,805 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
+
+
+/*
+/*
@ -1325,6 +1325,8 @@
+
+
+ if (nat)
+ if (nat)
+ print_string(PRINT_FP, NULL, "nat ", NULL);
+ print_string(PRINT_FP, NULL, "nat ", NULL);
+ else
+ print_string(PRINT_FP, NULL, "nonat ", NULL);
+ print_bool(PRINT_JSON, "nat", NULL, nat);
+ print_bool(PRINT_JSON, "nat", NULL, nat);
+
+
+ if (tb[TCA_CAKE_WASH] &&
+ if (tb[TCA_CAKE_WASH] &&
@ -1365,6 +1367,8 @@
+
+
+ if (wash)
+ if (wash)
+ print_string(PRINT_FP, NULL, "wash ", NULL);
+ print_string(PRINT_FP, NULL, "wash ", NULL);
+ else
+ print_string(PRINT_FP, NULL, "nowash ", NULL);
+ print_bool(PRINT_JSON, "wash", NULL, wash);
+ print_bool(PRINT_JSON, "wash", NULL, wash);
+
+
+ if (ingress)
+ if (ingress)
@ -1377,7 +1381,7 @@
+ else if (ack_filter == CAKE_ACK_FILTER)
+ else if (ack_filter == CAKE_ACK_FILTER)
+ print_string(PRINT_ANY, "ack-filter", "ack-filter ", "enabled");
+ print_string(PRINT_ANY, "ack-filter", "ack-filter ", "enabled");
+ else
+ else
+ print_string(PRINT_JSON, "ack-filter", NULL , "disabled");
+ print_string(PRINT_ANY, "ack-filter", "no-ack-filter " , "disabled");
+
+
+ if (split_gso)
+ if (split_gso)
+ print_string(PRINT_FP, NULL, "split-gso ", NULL);
+ print_string(PRINT_FP, NULL, "split-gso ", NULL);