summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorNelson Chang2016-09-17 17:50:57 +0200
committerDavid S. Miller2016-09-19 07:40:47 +0200
commit004e6cc6c181aa109427594fca35eb55d89d780e (patch)
treef26f092f7d32e5d5e681799b211a873ddcbbc53a /Documentation/devicetree/bindings/net
parentnet: ethernet: mediatek: add ethtool functions to configure RX flows of HW LRO (diff)
downloadkernel-qcow2-linux-004e6cc6c181aa109427594fca35eb55d89d780e.tar.gz
kernel-qcow2-linux-004e6cc6c181aa109427594fca35eb55d89d780e.tar.xz
kernel-qcow2-linux-004e6cc6c181aa109427594fca35eb55d89d780e.zip
net: ethernet: mediatek: add the dts property to set if the HW supports LRO
Add the dts property for the capability if the hardware supports LRO. Signed-off-by: Nelson Chang <nelson.chang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/mediatek-net.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/mediatek-net.txt b/Documentation/devicetree/bindings/net/mediatek-net.txt
index 32eaaca04d9b..6103e5583070 100644
--- a/Documentation/devicetree/bindings/net/mediatek-net.txt
+++ b/Documentation/devicetree/bindings/net/mediatek-net.txt
@@ -24,7 +24,7 @@ Required properties:
Optional properties:
- interrupt-parent: Should be the phandle for the interrupt controller
that services interrupts for this device
-
+- mediatek,hwlro: the capability if the hardware supports LRO functions
* Ethernet MAC node
@@ -51,6 +51,7 @@ eth: ethernet@1b100000 {
reset-names = "eth";
mediatek,ethsys = <&ethsys>;
mediatek,pctl = <&syscfg_pctl_a>;
+ mediatek,hwlro;
#address-cells = <1>;
#size-cells = <0>;