From patchwork Fri Nov 27 15:44:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 7713911 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 803ADC0724 for ; Fri, 27 Nov 2015 15:48:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A0B6520722 for ; Fri, 27 Nov 2015 15:48:07 +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 B7C7F206C3 for ; Fri, 27 Nov 2015 15:48:06 +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 1a2LE3-000728-Kp; Fri, 27 Nov 2015 15:46:19 +0000 Received: from mail-lf0-x234.google.com ([2a00:1450:4010:c07::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a2LCp-0005Cl-7y for linux-arm-kernel@lists.infradead.org; Fri, 27 Nov 2015 15:45:04 +0000 Received: by lfdl133 with SMTP id l133so132902831lfd.2 for ; Fri, 27 Nov 2015 07:44:41 -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=lRdKfRwV6y1kP0Zq3GZCqp09GEsyOiGz8QgPuoTdDCvd+oc+uck1jcU3lADvloORLq UF9xCbg6z2taw3DCJBMgdgepEMB4OMStW3LOuplrv2QQUB8zJTH78eOWdgVZVt2puWsp aR0GZT5yXtvya6Z8qoihqd/QbtzEzVN/gkEoRX6rzw+qP4IGEOY8nw8MKDT1/pa/F7Hk NxYoMBzJCPYRId7jZ5cOZPvPBVCoDK8R9grCgdpodHMiAwfem8yLL5T4V1A7hN4SZRlg 3300xN30vDBgwI9uXEK/iTpNvrh8gWOY3xp+geiM7bA2XLQO8rUUIOXfM0Dicp5dcd5F 28qw== 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=MImXR1tVgccttaOAevfTuNhyngNoOTMDUtfNC7a9BT0vdKGRA7NE+6ZFd5PFwi4Ews T+1ZtOiSvfgljoKwGMhelxWeHo0PRLF+01R96psvZK07ACTYKlCyP+aP7tILSpwOlVTq YIV0mBNkzhukNZ50K0IGmtA4HOAhsuQL3rGPb1HyBA1RbXBtgZudIu60Njx15YfYSstF ztJMCCvoU3PQoWqMFulC1N/gYTnYGA5JgMUZwk/W0VFCCdH/5+AiikOHP0NzE6IP4RWr Xbm4aGROsTJ+BdF2OxGFqpnXy9sBukv9odNFrKfKfJ/bUGH4V7hdp+LK0UO6KEdtTZpA Z6Ug== X-Gm-Message-State: ALoCoQll666hgFywmIgn9Gkoy2SxQ61DadmlZNRj2W8aXa1KKga2+cUIgcgTOLKEBbRqCdgPFOFR X-Received: by 10.25.142.84 with SMTP id q81mr16777942lfd.77.1448639081328; Fri, 27 Nov 2015 07:44:41 -0800 (PST) Received: from enkidu.semihalf.local ([80.82.22.190]) by smtp.gmail.com with ESMTPSA id k189sm5096651lfd.12.2015.11.27.07.44.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Nov 2015 07:44:40 -0800 (PST) From: Marcin Wojtas To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org Subject: [PATCH v3 net 6/6] net: mvneta: enable IP checksum with jumbo frames for Armada 38x on Port0 Date: Fri, 27 Nov 2015 16:44:26 +0100 Message-Id: <1448639066-13074-7-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1448639066-13074-1-git-send-email-mw@semihalf.com> References: <1448639066-13074-1-git-send-email-mw@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151127_074503_586718_B1FE15F0 X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. 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, 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"; };