From patchwork Mon Nov 30 12:27:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 7723821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6DE6E9F39B for ; Mon, 30 Nov 2015 12:31:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9A85E20527 for ; Mon, 30 Nov 2015 12:31:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DE57C204DE for ; Mon, 30 Nov 2015 12:31:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a3NaD-0004Mk-BJ; Mon, 30 Nov 2015 12:29:29 +0000 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a3NYu-0003WZ-Ap for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2015 12:28:09 +0000 Received: by lfdl133 with SMTP id l133so193331398lfd.2 for ; Mon, 30 Nov 2015 04:27:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bkI5LY2H9xRWaYoUOB6bkeu1pBoibdNJA/7WNLkVkak=; b=tQCwcC+53UqoFJrqvXWsw6jDYXusQenL5sB5c575coDdIBvdndjwxTwXP5O6eKwb5z kF7apoYSV18ezKQM2SbdlP9NiJLsfqpcQ/oe5VQKHQJ/3Vo7lgB4/19xfpXpIUgj54BL ZYNPnyi3D+6pRT1y0ndm7Bgc3xVPr8XxjAsnEiazCeHsS28YLKllW1YnnV3Jg4Onea9a Qxa9fB8GPRKQnw1c4Xzalg8FzMbWAhSYkJLEgdIX4H8NgmWbQWrLXFbsBgQIJr2jwBVj 7OJEwMLq0+EXwFnVKU0NtI8Kskg+xUExAFDhQrBWspROHvcG/0hnRtlmohdHuWpRntny 7LfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bkI5LY2H9xRWaYoUOB6bkeu1pBoibdNJA/7WNLkVkak=; b=gZTusKHu8FjAJ9XBlXVcSSO1Yg3ZzCnqgUzL08fZXQ0GgVJ8yfwun5o6swWy2Vzofk G4NWprNzc2uBieOO55w8zGRtsn5On6788P+Bc9czvHM2fHRpVFpiMeFgMiKuUA39MqRY LRPaNOoapD6jT9ADn1zdDRoT6jYRp7zbA+WkFyXNuxhiIQcjv9cBeu3W96dM5mebXRhr KA67mMBF7Ppb7ENWdRlKWOo4YwRo5saAmEADN8fJI19imdumvdvWvz2KRmOIwORn8kGo Rj2xGAgtWX59UVtNeQpC0hlWl1szxxiSfRjcf9SS/Y2soUrGrnsHuVGD0fN3r8rkRbo7 43ww== X-Gm-Message-State: ALoCoQmBgDVGFeNg65P5828mNa2CNl0TSb7E8SXVW37RhUu0R4drnvNwJEfzMQQSSG5btJGiM0h4 X-Received: by 10.25.132.147 with SMTP id g141mr25021830lfd.106.1448886467596; Mon, 30 Nov 2015 04:27:47 -0800 (PST) Received: from enkidu.semihalf.local ([80.82.22.190]) by smtp.gmail.com with ESMTPSA id l67sm7325249lfl.26.2015.11.30.04.27.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Nov 2015 04:27:47 -0800 (PST) From: Marcin Wojtas To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org Subject: [PATCH v4 net 6/6] mvebu: dts: enable IP checksum with jumbo frames for Armada 38x on Port0 Date: Mon, 30 Nov 2015 13:27:46 +0100 Message-Id: <1448886466-31538-7-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1448886466-31538-1-git-send-email-mw@semihalf.com> References: <1448886466-31538-1-git-send-email-mw@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151130_042808_746198_F8C044C9 X-CRM114-Status: GOOD ( 10.28 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, andrew@lunn.ch, linux@arm.linux.org.uk, jason@lakedaemon.net, myair@marvell.com, jaz@semihalf.com, simon.guinot@sequanux.org, xswang@marvell.com, nadavh@marvell.com, alior@marvell.com, tn@semihalf.com, gregory.clement@free-electrons.com, nitroshift@yahoo.com, mw@semihalf.com, davem@davemloft.net, sebastian.hesselbarth@gmail.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Ethernet controller found in the Armada 38x SoC's family support TCP/IP checksumming with frame sizes larger than 1600 bytes, however only on port 0. This commit enables it by setting 'tx-csum-limit' to 9800B in 'ethernet@70000' node. Signed-off-by: Marcin Wojtas --- arch/arm/boot/dts/armada-38x.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index c6a0e9d..e8b7f67 100644 --- a/arch/arm/boot/dts/armada-38x.dtsi +++ b/arch/arm/boot/dts/armada-38x.dtsi @@ -498,6 +498,7 @@ reg = <0x70000 0x4000>; interrupts-extended = <&mpic 8>; clocks = <&gateclk 4>; + tx-csum-limit = <9800>; status = "disabled"; };