From patchwork Thu Nov 26 18:08:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 7708411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 89F08BF90C for ; Thu, 26 Nov 2015 18:11:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AA29C20693 for ; Thu, 26 Nov 2015 18:11:34 +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 E4A7B20622 for ; Thu, 26 Nov 2015 18:11:33 +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 1a20zJ-0004Yo-A2; Thu, 26 Nov 2015 18:09:45 +0000 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a20yO-0003zt-H8 for linux-arm-kernel@lists.infradead.org; Thu, 26 Nov 2015 18:08:49 +0000 Received: by lfaz4 with SMTP id z4so105656194lfa.0 for ; Thu, 26 Nov 2015 10:08:29 -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=BOeWFwHHpu4fNuRBNF77iHA8UyUqXuf7Qg8JcXFYoMw=; b=i0oTQ6IS3PDIpg0NPP08+pOkzL5FBI+eWB6KNdb8hQmF6GNiSDvxqGw0cBs4kZ/VQh Cf/MiHucIuqkCuNVyS5xpORjZEoVQiKk0h8eBSE1VU1sW632snp9tqvYtXu2Svxwr4tj FSSyy1WHw6iBldZLomQEgNV5PEBKUb/RrvxXS60ciWIZMTklAKr+nR1IAiBzQSklydNA CN5Ntr5p1QExj1Sb8W0WiOsQomlybuyMQ4+/hR5jJQffEiUkoC7GkTHv/zsowArvUeAo qoLTLZ8xbwPsZpQFxJJweUpDYWmrollpfN00M3sz30HQjAyc4S2wUShMc4vypj/fbdEj FC8g== 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=BOeWFwHHpu4fNuRBNF77iHA8UyUqXuf7Qg8JcXFYoMw=; b=GAN4b9fYwzjcVvMxrPiRyHjmTTcy+EG/Iu6pLvGjg2Z6elWVU5IHifh40H2D/V9PNt 5YlXgkjmoRw2pAnK9FktLKO4TtU66rwyXVDT88hR/Us3ntFG6bHNAWyXx0HOkumKoXC0 v2FiV/sHjAu3uN7sGn8vtKCo2pSLuqo0CaQYWNToi7ayIoQEWEXrWt7VViRwxmnzTyDU EhmV0A1vhqfojCzlSMui5UgJRvhIK2n480a+JZFzBzo2ciFZeSZf0SYqDVDnMkKwbaxp qC4AxOmxFcubiGMZ7vLH+Z1IhNe3DaDFqvl9ULUFiHuV/itrxCdglSYXewwXCt5im1gz pt2A== X-Gm-Message-State: ALoCoQkwVXtyGoHTZQuJt8kdWmbBCPRDqXR2Zg5vsUen8Sv270k8O2AdGO2MHwhjKIKUvM4JG3m0 X-Received: by 10.25.16.151 with SMTP id 23mr17934138lfq.142.1448561309834; Thu, 26 Nov 2015 10:08:29 -0800 (PST) Received: from enkidu.semihalf.local ([80.82.22.190]) by smtp.gmail.com with ESMTPSA id a190sm4297654lfa.32.2015.11.26.10.08.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Nov 2015 10:08:29 -0800 (PST) From: Marcin Wojtas To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org Subject: [PATCH v2 net 6/6] net: mvneta: enable IP checksum with jumbo frames for Armada 38x on Port0 Date: Thu, 26 Nov 2015 19:08:13 +0100 Message-Id: <1448561293-16431-7-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1448561293-16431-1-git-send-email-mw@semihalf.com> References: <1448561293-16431-1-git-send-email-mw@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151126_100848_902027_399C0178 X-CRM114-Status: GOOD ( 10.42 ) X-Spam-Score: -2.6 (--) 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, stable@vger.kernel.org, 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=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Cc: # v3.18+ --- 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"; };