[PATCH] Fix tx-queue-size on NBG6817 (allows MTU changes).
Jacek Milewicz
jacekowski at jacekowski.org
Mon Sep 21 18:57:58 EDT 2020
On 19/09/2020 15:06, Paul Oranje wrote:
> See below, regards,
> Paul
>
>
>> Op 15 sep. 2020, om 21:56 heeft jacekowski at jacekowski.org het volgende geschreven:
> The subject does not to comply with the rules for that, it should at least start with the target, better would be:
> ipq806x: fix tx-queue-size on NBG6817
I was not aware of that.
>> From: Jacek Milewicz <jacekowski at jacekowski.org>
>>
>> Fixes FS#3285 for NBG6817 only.
> Why is that ?
Because on IPQ806x SoC it is impossible to detect correct value,
therefore it has to be set for each device in device tree (which is what
this patch is doing).
On most IPQ806x devices correct value has to be determined manually by
trying few most common values and seeing what works (4k seems to be most
common).
>
>> Signed-off-by: Jacek Milewicz <jacekowski at jacekowski.org>
>> ---
>> .../files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts
>> index 7cd1c7b567..5745040d2b 100644
>> --- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts
>> +++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts
>> @@ -289,6 +289,7 @@
>> qcom,emulation = <0>;
>> qcom,irq = <255>;
>> mdiobus = <&mdio0>;
>> + tx-fifo-depth = <4096>;
>>
>> pinctrl-0 = <&rgmii2_pins>;
>> pinctrl-names = "default";
>> @@ -310,6 +311,7 @@
>> qcom,emulation = <0>;
>> qcom,irq = <258>;
>> mdiobus = <&mdio0>;
>> + tx-fifo-depth = <4096>;
>>
>> fixed-link {
>> speed = <1000>;
>> --
>> 2.17.1
>>
>>
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel at lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list