mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
Mediatek:gmac2 use queue 32
This commit is contained in:
parent
1bc376d339
commit
e257e518d9
@ -34,7 +34,7 @@ return view.extend({
|
||||
o.datatype = 'and(uinteger,min(1))';
|
||||
o.rmempty = false;
|
||||
|
||||
s = m.section(form.TableSection, 'device', _('Speed limit based on IP address(using unique comment which is less than 32 and no equal to 8 will enable hardware QOS)'));
|
||||
s = m.section(form.TableSection, 'device', _('Speed limit based on IP address(using unique comment less than 32 will enable hardware QOS'));
|
||||
s.addremove = true;
|
||||
s.anonymous = true;
|
||||
s.sortable = true;
|
||||
|
@ -32,7 +32,7 @@ msgid "Network speed control service."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-eqos/htdocs/luci-static/resources/view/eqos.js:38
|
||||
msgid "Speed limit based on IP address(using unique comment which is less than 32 and no equal to 8 will enable hardware QOS)"
|
||||
msgid "Speed limit based on IP address(using unique comment less than 32 will enable hardware QOS"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-eqos/htdocs/luci-static/resources/view/eqos.js:29
|
||||
|
@ -40,8 +40,8 @@ msgid "Network speed control service.(Compatiable with Mediatek HNAT)"
|
||||
msgstr "网速控制服务(未设置限速主机可正常使用硬件加速)。"
|
||||
|
||||
#: applications/luci-app-eqos/htdocs/luci-static/resources/view/eqos.js:38
|
||||
msgid "Speed limit based on IP address(using unique comment which is less than 32 and no equal to 8 will enable hardware QOS)"
|
||||
msgstr "基于 IP 限速(设置小于32且不为8的唯一编号将启用硬件QOS.速度设置为0则取消限速)"
|
||||
msgid "Speed limit based on IP address(using unique comment less than 32 will enable hardware QOS)"
|
||||
msgstr "基于 IP 限速(设置小于32唯一编号将启用硬件QOS.速度设置为0则取消限速)"
|
||||
|
||||
#: applications/luci-app-eqos/htdocs/luci-static/resources/view/eqos.js:29
|
||||
msgid "Total download bandwidth."
|
||||
|
@ -37,11 +37,11 @@ case "$1" in
|
||||
ip6tables -t mangle -D FORWARD -i br-lan -j DSCP --set-dscp 0
|
||||
ip6tables -t mangle -D FORWARD -o br-lan -j DSCP --set-dscp 0
|
||||
echo "10 0" > /sys/kernel/debug/hnat/hnat_setting
|
||||
for i in $(seq 0 7); do
|
||||
echo 0 0 0 0 0 0 0 > $hqos_path/qdma_txq$i
|
||||
for i in $(seq 0 31); do
|
||||
echo 0 0 0 0 0 4 4 > $hqos_path/qdma_txq$i
|
||||
done
|
||||
for i in $(seq 8 15); do
|
||||
echo 1 0 0 0 0 0 0 > $hqos_path/qdma_txq$i
|
||||
for i in $(seq 32 63); do
|
||||
echo 1 0 0 0 0 4 4 > $hqos_path/qdma_txq$i
|
||||
done
|
||||
;;
|
||||
"start")
|
||||
|
@ -479,7 +479,7 @@
|
||||
#define QID_HIGH_BITS(x) ((((x) >> 4) & 0x3) << 20)
|
||||
#define QID_BITS_V2(x) (((x) & 0x3f) << 16)
|
||||
|
||||
#define MTK_QDMA_GMAC2_QID 8
|
||||
#define MTK_QDMA_GMAC2_QID 32
|
||||
|
||||
/* QDMA V2 descriptor txd6 */
|
||||
#define TX_DMA_INS_VLAN_V2 BIT(16)
|
||||
|
Loading…
x
Reference in New Issue
Block a user