Markus Gothe
57530b8838
qosmngr: Refine fix for QoS on EN7523.
...
It seems like it is the rules conflicting
and not the overflow itself causing the
issue. Disable the use of custom IFC
rules on EN7523.
2025-11-11 12:37:02 +01:00
Markus Gothe
95a1d6899b
qosmngr: airoha: Fix QoS issue with EN7523+IFC.
...
When the LUT1 IFC table overflows it seems to
affect tagged TCP-based VLAN traffic and
ingress flows are not properly setup in HW NAT.
2025-11-11 12:34:21 +01:00
Markus Gothe
1c6e8aaec8
qosmngr: airoha: flush HW NAT to directly apply changes.
2025-09-19 16:54:11 +02:00
Markus Gothe
aa7ad2dfe9
qosmng: airoha: Don't flush HW NAT unless necessary.
2025-09-19 16:52:51 +02:00
Markus Gothe
dd637db803
qosmngr: airoha: Fix uplink bandwidth calculation.
...
For lower speeds we need to adjust the bandwidth
calculation for QoS to work on AN7581 (but not on EN7523).
Also make sure we clear old HW NAT entries if the uplink
bandwidth changes for QoS to take effect immediaty.
2025-09-19 16:52:29 +02:00
Markus Gothe
e590fc7894
qosmngr: airoha: flush HW NAT to directly apply changes.
2025-09-15 11:47:13 +02:00
Amin Ben Romdhane
f251701534
qosmngr: Updated log level
2025-04-15 11:16:46 +00:00
Mohd Mehdi
ba837ff98a
qosmngr: unified service and datamodel daemon
2025-04-11 14:47:43 +00:00
Vivek Kumar Dutta
9380411fa6
qosmngr: Fix regression in generating default classify rules
2025-03-24 13:39:08 +00:00
Erik Karlsson
73dfc49647
qosmngr: avoid potential race condition
...
Wait for background task to finish before reloading in the foreground.
2025-03-19 09:51:29 +01:00
Mohd Mehdi
2cbb433cbd
qosmngr: use procd task for qos initialization
2025-03-18 07:53:44 +00:00
Vivek Kumar Dutta
42bd6390b5
qosmngr: assign priority to dm plugin
2025-03-13 12:16:02 +05:30
Mohd Mehdi
ee2165b184
qosmngr: update rate processing for queue
2025-03-05 06:02:13 +00:00
Vivek Kumar Dutta
1b7fa8ba15
qosmngr: updated uci-default scripts
2025-03-05 10:28:33 +05:30
Markus Gothe
f5ad0195bc
Update iptables rules to use proper locking.
2025-02-25 13:57:50 +01:00
Markus Gothe
14ca35a64b
Revert "qosmngr: fix ebtables-extensions dependencies"
...
This reverts commit c55ab35b14 .
2025-02-24 03:18:38 +00:00
Mohd Mehdi
38c7075422
qosmngr: remove unused variable and fix error logs in uci-default
2025-02-21 06:28:14 +00:00
Vivek Kumar Dutta
a733e610b4
qosmngr: package specific vendor extension
2025-01-31 14:04:28 +05:30
Suvendhu Hansa
06ad490dd8
qosmngr: fix unnamed uci section usages
2025-01-30 09:35:33 +05:30
Suvendhu Hansa
2e9942589a
qosmngr: support percentage ShapingRate
2025-01-28 13:56:17 +00:00
Erik Karlsson
c55ab35b14
qosmngr: fix ebtables-extensions dependencies
...
They should not be included on Broadcom. It leads to build failures.
2025-01-24 12:13:39 +00:00
Markus Gothe
a81e572f00
ebtables-extensions: Update naming convention.
...
Use a similiar naming convention as iptables
kernel modules.
2025-01-24 04:30:47 +01:00
Markus Gothe
e3c9182bbc
bridgemngr: Create centralized ebtables setup.
...
Create a centralized setup for ebtables.
This is necessary to garantuee the order
of how chains are created.
Right now it provides a 1:1 drop-in
replacement of how things currently work
and no changes are needed in the short term.
2025-01-21 11:38:36 +01:00
Markus Gothe
5cac9516c0
Revert "l2filter: Create centralized ebtables setup."
...
This reverts commit d67a40b6a0 .
2025-01-21 11:15:47 +01:00
Markus Gothe
d67a40b6a0
l2filter: Create centralized ebtables setup.
...
Create a centralized setup for ebtables.
This is necessary to garantuee the order
of how chains are created.
Right now it provides a 1:1 drop-in
replacement of how things currently work
and no changes are needed in the short term.
2025-01-20 13:54:27 +01:00
Markus Gothe
a0eab2f7b9
qosmngr: Improve TSID to be unique.
2024-12-27 09:28:33 +01:00
Markus Gothe
148aa95651
qosmngr: Fix Airoha issue with token rate.
2024-12-12 20:49:20 +01:00
Markus Gothe
daf54622d8
Update WAN ingress ratelimit with generic method.
...
Instead of using the MAC to do ratelimting we use
the Frame Engine, this has the the benefit of being
a more universal solution and will work with PON
without the need of implement APIs for using the
MAC to do ingress ratelimiting.
This also works fine when the integrated switch
is used as the wan.
2024-12-12 17:12:40 +00:00
Mohd Husaam Mehdi
52f554b84d
qosmgr: add support for wan ingress and egress rate control
2024-12-10 09:51:47 +00:00
Mohd Husaam Mehdi
d161ef2238
qosmngr: updates related to rate control
...
* separate scheduling logic from rate control logic
* add support for burst_size
2024-12-06 13:46:35 +00:00
Vivek Kumar Dutta
54f75846ca
qosmngr: align with bbfdm
2024-12-05 12:58:35 +00:00
Mohd Husaam Mehdi
12f70a7d91
qosmngr: add ingress and egress rate control support for airoha
2024-12-04 13:10:30 +05:30
Vivek Kumar Dutta
8c6c12fe53
qosmngr: Align datatype of dm parameters
2024-11-27 10:11:22 +05:30
Amin Ben Romdhane
aab45b16b0
Added libbbfdm-ubus and dm-service as dependencies for all microservices
2024-10-09 09:54:16 +02:00
Markus Gothe
bcdb31c830
qosmngr: Solve issue with L3 HW NAT for DSCP.
...
When doing classification on DSCP values we need
to ensure that the values are correctly hashed
for the L3 HW NAT, otherwise identical flows
with different DSCP values will end up with
the same QoS priority and queue.
2024-08-16 11:37:32 +02:00
Markus Gothe
32203771f6
qosmngr: Handle L3 flows with different p-bits correctly.
...
The L3 HW NAT will match the flows based on an IP header 5-tuple.
However if we are doing classification based on p-bits at the
same time and we want to use this for QoS we need to make sure
to add a VIP packet matcher to send this info to the PPE for
hashing the flow.
2024-08-15 16:51:48 +02:00
Markus Gothe
7a06a9e479
ebtables: Use --concurrent to avoid race conditions.
...
Add --concurrent to missing places.
2024-07-24 20:01:05 +02:00
Rahul Thakur
c4fa5713a2
update package qosmngr
...
* f6b77d1 Removed unsupported App and Flow parameters
2024-07-15 16:29:39 +05:30
Mohd Husaam Mehdi
6ef90dcd9d
qosmngr: add ebtable handling for loopback (lo) interface
...
If interface is loopback then we add the rule to nat table's
output chain instead of broute tables BROUTING chain
2024-07-10 04:38:31 +00:00
Rahul Thakur
e9237858b1
update package qosmngr
...
* c4db530 qosmngr: Add documentation for VLAN and Pbit translation config
2024-06-20 15:11:01 +05:30
Rohit Topno
8b24b648c7
qosmngr: update Makefile for tr-181 vendor extension VLAN ID translation
2024-06-20 11:51:07 +05:30
Rahul Thakur
3c170edee3
update package qosmngr
...
* bcf8f36 qosmngr: Add documentation for dscp2pbit mapping configuration
2024-06-13 13:12:18 +05:30
Marina Maslova
b6930a2056
qosmngr: airoha: fix bw overwrite in case of reload and shaping
2024-06-10 11:07:45 +00:00
Vivek Kumar Dutta
879e38773b
qosmngr: align with dm_data structure
2024-06-10 12:27:20 +05:30
Rohit Topno
0e38151087
qosmngr: Support for VLAN ID and p-bit translation
2024-06-10 08:45:29 +05:30
Markus Gothe
2129df6d5f
qosmngr: add support for l3 interfaces
...
* this commit adds support to use l3 interfaces
in classification rules.
2024-06-06 04:14:38 +00:00
Rohit Topno
1ae6eb33e9
R#14453 - Integrate DSCP2P-bit support in qosmngr and TR181
2024-06-05 10:01:00 +00:00
Markus Gothe
04be1d3efd
qosmngr: Add option to match on ICMP/ICMPv6 type.
2024-05-30 11:53:41 +00:00
Marina Maslova
3529860fd2
qosmngr: Dynamically allocate uplink bandwidth on Airoha.
...
In order for the QoS engine to know how much bandwidth
the uplink has got we need to set this with 'qosrule'
every time the uplink changes. Otherwise SP scheduling
will fail.
This fix takes into account when ae_wan is used by ethernet,
fiber and when PON is used as the uplink.
2024-05-30 08:26:38 +00:00
Vivek Kumar Dutta
69330c5799
qosmngr: 1.0.11
2024-05-24 18:23:11 +05:30