From patchwork Sun Nov 22 07:53:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 7675541 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 1F8DDBF90C for ; Sun, 22 Nov 2015 07:57:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 425A120653 for ; Sun, 22 Nov 2015 07:57:47 +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 BC3F42064F for ; Sun, 22 Nov 2015 07:57:45 +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 1a0PTu-0000H4-Ld; Sun, 22 Nov 2015 07:54:42 +0000 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a0PTP-00086h-M5 for linux-arm-kernel@lists.infradead.org; Sun, 22 Nov 2015 07:54:13 +0000 Received: by lfaz4 with SMTP id z4so91270373lfa.0 for ; Sat, 21 Nov 2015 23:53:49 -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=sApJ3O0YppisCsy3b2Dwh/mivzGt8MGq+CmNpm5UyRE=; b=TkMvU6bgn0UktBcbeKoHfoNE34x3GvdNMltkusho86m/jlvcKZjZ0ldYVLENRmGYGQ YzNrofL/9KZNw7ckLTS5l68RimK0srtAlnAIHD8/8ENCRK1EdpcR0wpOEJ+IDBfRl+xc eOupcpBSkd3x5JoeHpP2eTaqUEZRshoSjyfaWgwkBgMio8jfSxcI6LvYCBfaV7ikwk4Y esWcIILPikRsM4vD68ChhGhxzW1w/NtdX0BASs6RxQLhzWir9vbdsaolblYI0oa1QkSm M/+uWWuTLfd8BcKb3vUkaDer95WIH1058fbc6TuKEM8b4Yo5hAtLhekehYTYSRMLJYWH HXFQ== 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=sApJ3O0YppisCsy3b2Dwh/mivzGt8MGq+CmNpm5UyRE=; b=ex34t/dzXFGXLWH+J5zD2c+188vm+IluMJloz0oSZROcwOjyvqAiq2BodRW6AP97J0 u9q6m6kfbWlTNvLSNOqXmFeX8vaWFRrfNMBcK2ScdJbtqI420XY/o3GBaVaNhnRE+qNE mNXp5OF1hH74rrveJwdLx+KRopvDm+1pnVnYVvsG605fsoOUJN+pTVrzOi3IlowiuQQ5 gwUsJNlPSLOw/j5TkiQ9csZDN4rYefj+a1oJtz49jnVdw4+A/TEepv5LstY8rcDMB+QV TH7DyHkCUA58UmuhyeOjyakbepkaduEMSX/22MSuVuGm94SXJ1Gpw9mw7+ASh8AHXlq4 qKfw== X-Gm-Message-State: ALoCoQn0KsYo2xCz/GkNQaNClN1p2N/RuIMVu7n34FaeyqO92y0q/zTgYgbDaRGBO/cMV0hAVR7B X-Received: by 10.25.28.70 with SMTP id c67mr7540041lfc.95.1448178829658; Sat, 21 Nov 2015 23:53:49 -0800 (PST) Received: from enkidu.semihalf.local (cardhu.semihalf.com. [213.17.239.108]) by smtp.gmail.com with ESMTPSA id y79sm1010840lfd.45.2015.11.21.23.53.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Nov 2015 23:53:48 -0800 (PST) From: Marcin Wojtas To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org Subject: [PATCH 02/13] net: mvneta: enable IP checksum with jumbo frames for Armada 38x on Port0 Date: Sun, 22 Nov 2015 08:53:48 +0100 Message-Id: <1448178839-3541-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1448178839-3541-1-git-send-email-mw@semihalf.com> References: <1448178839-3541-1-git-send-email-mw@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151121_235412_036180_648D2650 X-CRM114-Status: UNSURE ( 9.22 ) 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, 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=-4.7 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 this feature by using 'marvell,armada-xp-neta' in 'ethernet@70000' node. Signed-off-by: Marcin Wojtas Cc: # v3.18+ --- arch/arm/boot/dts/armada-38x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index c6a0e9d..b7868b2 100644 --- a/arch/arm/boot/dts/armada-38x.dtsi +++ b/arch/arm/boot/dts/armada-38x.dtsi @@ -494,7 +494,7 @@ }; eth0: ethernet@70000 { - compatible = "marvell,armada-370-neta"; + compatible = "marvell,armada-xp-neta"; reg = <0x70000 0x4000>; interrupts-extended = <&mpic 8>; clocks = <&gateclk 4>;