Commit graph

198 commits

Author SHA1 Message Date
subramanian c
bf1d366ce7 qosmngr: generate ip rules from classify section 2023-01-18 06:16:29 +00:00
Rahul
346319892c qosmngr: add order to default classification rules 2023-01-18 05:50:40 +00:00
Padmalochan Mohapatra
f7e6238928 qos Improvements on mtk qos tc+iptable classification 2023-01-03 15:26:20 +00:00
Sukru Senli
d8454fab29 ethmngr: merge port-management into ethmngr 2023-01-03 15:06:39 +01:00
Sukru Senli
1164e33371 qosmngr: simplify Makefile 2023-01-03 13:01:34 +01:00
Sukru Senli
4dbf7ac1da qosmngr: add intall section for ipq95xx target 2023-01-02 16:21:51 +01:00
Sukru Senli
f071d28911 qosmngr: allow selecting for ipq95xx target 2023-01-02 13:07:22 +01:00
Padmalochan Mohapatra
6961bbb4a7 qos : tc-Classification dead code cleanup 2022-12-30 03:16:49 +00:00
Padmalochan Mohapatra
591f9d9dde qos : Classification with tc+iptables for QoS on MTK_PANTHER 2022-12-29 12:09:38 +00:00
subramanian c
d942f2c606 qos: Deprecate firewall.qos and handle through qos config 2022-12-27 04:32:07 +00:00
Marina Maslova
01819a7f72 qos: enable should be 1 by default 2022-12-26 13:11:44 +03:00
Marina Maslova
0dae8c3786 qos: default uplink limit should be 0 (unlimited) 2022-12-21 23:31:02 +03:00
Padmalochan Mohapatra
deef704d42 Revert "Revert "qosmngr : standard Linux support via tc+iptables"" 2022-12-20 09:30:24 +00:00
Sukru Senli
a53706b95b Revert "qos: Deprecate firewall.qos and handle through qos config"
This reverts commit cf16fa7a6f.
2022-12-16 21:50:06 +01:00
Sukru Senli
53e13bc58c Revert "qosmngr : standard Linux support via tc+iptables"
This reverts commit 60d606e0fb.
2022-12-16 21:49:58 +01:00
Padmalochan Mohapatra
60d606e0fb qosmngr : standard Linux support via tc+iptables 2022-12-16 06:06:21 +00:00
subramanian c
cf16fa7a6f qos: Deprecate firewall.qos and handle through qos config 2022-12-15 06:32:24 +00:00
Amit Kumar
0385a0b715 qos: qos reload handling updated 2022-11-23 18:08:57 +05:30
subramanian c
7b766ea7f1 qos: Apply qos classify config in the order of order param value 2022-11-18 11:37:55 +00:00
Lukasz Kotasa
545a54eb9f TARGET rename: iopsys-brcm63xx-arm -> brcmbca 2022-11-15 12:04:23 +00:00
Sukru Senli
d2111b2bad qosmngr: econet -> airoha 2022-11-15 11:30:10 +01:00
Lukasz Kotasa
ffb839b1d0 qosmngr: rename econet target 2022-11-14 12:47:19 +00:00
Lukasz Kotasa
887fb46dbd Rename TARGET_iopsys_econet -> TARGET_airoha 2022-11-09 09:39:34 +00:00
Amit Kumar
6a1b7d91a1 qosmngr: handled qos reload, statistics reset
hanlded the qos reload without statistics reset.
shaping , classification or policer change and qos reload should
not cause queue reset in driver that was causing statistics of that queue
reset to 0. qos reload if trigerred with queue specific config change,in
that case only statistics will reset tot 0.
2022-11-09 02:47:46 +00:00
Maxim Menshikov
225bf15ae7 qosmngr: implement Econet support in configuration scripts
- restructure qosmngr separating broadcom and airoha
2022-11-03 06:21:48 +00:00
subramanian c
cc7d076dc8 qos: Apply qos classify config in the order of order param value 2022-11-01 09:41:03 +00:00
Maxim Menshikov
f81a48aeaa qosmngr: enable for Econet 2022-07-29 13:52:43 +03:00
Rahul
a59e08e629 qosmngr: update queue setup
Update q setup that allows better coverage of q setup specially in
mixed mode scheduling.
Also remove dead code related to stats since that is already taken
care of by qosmngr daemon now.
And lastly, simplify the logic to calculate q precedence.
2022-07-29 16:20:52 +05:30
Amit Kumar
26a3790bbd qosmngr: updated QoS clasification
l3 iptables rule with ethx was not matching this was causing incorrect classification to wrong queue.
ebtables rule correction done with ethertype,protocol and port to classify packet for destination queue.
2022-06-09 12:57:03 +05:30
Rahul
d9800428c0 Revert "qos: Avoid stats to be reseted on qos reload"
This reverts commit 3eb4b07880.
2022-06-03 14:35:53 +05:30
Arun Muthusamy
3eb4b07880 qos: Avoid stats to be reseted on qos reload 2022-06-02 06:13:27 +00:00
Amit KUmar
a0195bf457 qosmngr: WRR schdeuling configuration
sequence corrected in initialization as first tm initialization
then delcfg. porttminit bydefault does queue configuration as SP.
2022-05-17 11:38:59 +00:00
Amit KUmar
85d804d575 qosmngr: uniform code handling for qos policer
removed POLICER_SKIP check from broadcom.sh to make policer configuration
code uniform for all devices.
2022-04-12 13:02:11 +00:00
sandeep
cbf545ac16 qosmngr:Updated script to handle default value of QoS.Classification.{i}.VLANIDCheck 2022-03-22 18:52:55 +05:30
Arun Muthusamy
f27619294e qosmngr: Rearrange queue and shaper function call execution order 2022-02-18 07:19:54 +00:00
Sukru Senli
b2562f6fc1 qosmngr: read socinfo from /proc 2022-02-03 17:12:51 +01:00
Rahul
337c9a52f9 qosmngr: fix static code warnings
Updated the makefile version and bump the minor version
2022-01-25 18:32:09 +05:30
sandeep sharma
c31e10cd88 Fixed: QoS statistics for Eagle LAN ports end up on the wrong queue 2022-01-20 12:38:44 +00:00
Rahul
0730c65372 qosmngr: resolve dscp to q mapping in L2 scenarios 2021-12-27 17:12:56 +05:30
Amit Kumar
d152eb0f17 qosmngr: porttminit added before qcfg 2021-10-29 10:45:10 +00:00
Markus Gothe
104f3e2e83 qosmngr: updated broadcom.sh to get the ports from the runner.
When using the runner accelerator we need to check how to
map between ethernet interfaces (i.e eth0) and the internal
names used by the runner (i.e. port/index=lan2). Depending on
the hardware the mapping is not always 1:1 as assumed earlier.

This commit also fixes a minor bug with resetting traffic
shaping for the archer accelerator.
2021-10-07 05:12:04 +00:00
Amit Kumar
5a1fdc0b07 qosmngr: updated broadcom.sh for queue shapingrate 2021-09-16 18:19:00 +00:00
Amit Kumar
af241bb222 qosmngr: corrected portid and unit for rxratecrtl 2021-09-10 05:03:02 +00:00
Rahul
7ac322b707 qosmngr: qosmngr not restarted 2021-08-27 15:33:29 +05:30
Rahul
e42c88e453 qosmngr: add -w flag to iptables commands
to fix l3 rules sometime not being applied leading to QoS failures,
introduced the -w flag to iptables commands.
2021-08-25 18:07:01 +05:30
Amit Kumar
40a04b8615 qosmngr: Makefile package version updated 2021-07-29 17:02:06 +05:30
Arun Muthusamy
2936f538aa Bug_5569: FIx, unknown operand & argument expected warnings 2021-07-27 14:47:42 +02:00
Jomily K Joseph
7bab39b4b2 qosmngr : Shaper rate configuration needs to be in kbps 2021-07-16 07:51:13 +00:00
Sukru Senli
095a635ac2 qosmngr: add PKG_VERSION to PKG_SOURCE 2021-07-15 20:07:47 +02:00
Rahul
f709852ae3 qosmngr: resolve vlan qos issues
In 5.04, broadcom seems to have removed the support for skbvlan extension
from the kernel, although its presence still in the userspace application
is confusing, ideally, it should be removed from the userspace application
as well. Instead of skbvlan, the vlan extension is used for configuring the
vlan qos.

Hence, the qosmngr is updated to use vlan extension instead of skbvlan.
2021-07-15 12:09:19 +05:30