net: ethernet: mediatek: add the dts property to set if the HW supports LRO
authorNelson Chang <nelson.chang@mediatek.com>
Sat, 17 Sep 2016 15:50:57 +0000 (23:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Sep 2016 05:40:47 +0000 (01:40 -0400)
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>
Documentation/devicetree/bindings/net/mediatek-net.txt

index 32eaaca04d9bf501809b0e5719100463f614d37b..6103e5583070b8e0f951a4e3e738852d3e2ece78 100644 (file)
@@ -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>;