aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files
diff options
context:
space:
mode:
authorAleksander Jan Bajkowski <olek2@wp.pl>2021-05-22 20:07:56 +0200
committerMathias Kresin <dev@kresin.me>2021-11-15 23:17:32 +0100
commit0e561a2aea8dddbb446f710f1037ec305c23af9e (patch)
treee418fd6e7aad55b280b94a5dffa930418c5fd002 /target/linux/lantiq/files
parent2f95dd8ff0103374a197b943bb41ca6ff81a3af4 (diff)
downloadupstream-0e561a2aea8dddbb446f710f1037ec305c23af9e.tar.gz
upstream-0e561a2aea8dddbb446f710f1037ec305c23af9e.tar.bz2
upstream-0e561a2aea8dddbb446f710f1037ec305c23af9e.zip
lantiq: improve ethernet performance
This commit contains a series of fixes for DMA. The burst length patch significantly improves Ethernet performance. Patches were tested on the xRX200 and xRX330. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Diffstat (limited to 'target/linux/lantiq/files')
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/lantiq/amazonse.dtsi2
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi2
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi2
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi2
4 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/amazonse.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/amazonse.dtsi
index c477473a06..5c608dab63 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/amazonse.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/amazonse.dtsi
@@ -236,6 +236,8 @@
interrupts = <105 109>;
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
+ lantiq,tx-burst-length = <4>;
+ lantiq,rx-burst-length = <4>;
};
};
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
index 819dcfb5a8..61283f5621 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
@@ -387,6 +387,8 @@
interrupts = <73 72>;
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
+ lantiq,tx-burst-length = <8>;
+ lantiq,rx-burst-length = <8>;
};
ppe@e234000 {
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
index e531fe45e8..a18183a2de 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
@@ -299,6 +299,8 @@
reg = <0xe180000 0x40000>;
interrupt-parent = <&icu0>;
interrupts = <73 78>;
+ lantiq,tx-burst-length = <4>;
+ lantiq,rx-burst-length = <4>;
};
ppe@e234000 {
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi
index 27858be28f..e379b07b53 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi
@@ -488,6 +488,8 @@
interrupt-names = "tx", "rx";
resets = <&reset0 21 16>, <&reset0 8 8>, <&reset0 3 3>;
reset-names = "switch", "ppe", "ppe_dsp";
+ lantiq,tx-burst-length = <8>;
+ lantiq,rx-burst-length = <8>;
#address-cells = <1>;
#size-cells = <0>;