forked from Ivasoft/openwrt
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>
This commit is contained in:
committed by
Mathias Kresin
parent
2f95dd8ff0
commit
0e561a2aea
@@ -236,6 +236,8 @@
|
||||
interrupts = <105 109>;
|
||||
pinctrl-0 = <&mdio_pins>;
|
||||
pinctrl-names = "default";
|
||||
lantiq,tx-burst-length = <4>;
|
||||
lantiq,rx-burst-length = <4>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user