Message ID | a7a02d50-2566-5425-ba05-36e3ad5b4d38@cogentembedded.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-sh-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA0EB13A4 for <patchwork-linux-sh@patchwork.kernel.org>; Mon, 4 Feb 2019 18:11:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A09A32BFA7 for <patchwork-linux-sh@patchwork.kernel.org>; Mon, 4 Feb 2019 18:11:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8ACEA2BF54; Mon, 4 Feb 2019 18:11:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE3B72BF7D for <patchwork-linux-sh@patchwork.kernel.org>; Mon, 4 Feb 2019 18:11:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727917AbfBDSLj (ORCPT <rfc822;patchwork-linux-sh@patchwork.kernel.org>); Mon, 4 Feb 2019 13:11:39 -0500 Received: from mail-lf1-f54.google.com ([209.85.167.54]:41912 "EHLO mail-lf1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728169AbfBDSLi (ORCPT <rfc822;linux-sh@vger.kernel.org>); Mon, 4 Feb 2019 13:11:38 -0500 Received: by mail-lf1-f54.google.com with SMTP id e27so605850lfj.8 for <linux-sh@vger.kernel.org>; Mon, 04 Feb 2019 10:11:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WuripNQOWF5h9FMd3FHVu69JYoXkifUIWFtz9+M3z/I=; b=VkLX9B4NL2Rrgb7f22C8qNQ45LJ0XtWJO7cmgwyHqCIbjXop6aKTnNbfm5EcmR9wH8 JiWHMBL87Lj7Cl8QYr8mCxqz8LX7I7WXe/15c3VeEaHlueoJc36H4ALMtZf6qAbQpzJY k7K0ckuv29G5AOzvLP4QnXPSBXFFXRYiOjO2cEGTP6QUSNCHG1DRtqpyguwX1ikJRzAF u1pB3rs9+a0kxTaWmtWY9KtH4wWdlPFdXBnRvYjHjnTLL6xrOjvyIWnxJWzA4M7A8ePg n8nQXMSeMKsEMy0UqicbTVqIykcdEx9xtTLC/pUoUohrTMrf5ise+48okJVAjSXXCh68 tl6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=WuripNQOWF5h9FMd3FHVu69JYoXkifUIWFtz9+M3z/I=; b=iYQT7u2ixKWSm1CeKTsaRMZ8rN0iVjkExPaCQIqEoOPrMn7uhvbtmaMZA05WlOrkKF jtHq4cVp2K5dLs55F7ZX2nGRy6iseOeUP8E72ycnYJORCYfCBLZvj30XbhiZ55HkP+Bs BlnE+p+XcVeC3Kw20FNsVUjNnGUo4+1FLmHlM2NEIMwSva4fJitdqM/hK2Z0Dc9yJeKq z3SdYV1vceQtjMyt0AIJnvYwZZUtshM0ljwnxQlD5mf2cr+5zTmj/J1yPfJj1bRUFx8q tUDlYt04euvjdJB4qVNGnN+6FY625vSkvqWooyc6sMNBoVFhzOnG6mcq+cYHqL5WXhw7 QQjg== X-Gm-Message-State: AHQUAuZSkbKVF4RJYphr8nnwQeQYqykAYia8IzRdQadfUA9AV1Hi8i5A BslXrnDiIxK1ldioJFn2fnDNulG3ocE= X-Google-Smtp-Source: AHgI3IbVLb31o6Vv9gOQeG+rtcpgk6V5HMygrumdB/+B8NXsq/8ZqLMlUIpFbYtl8hD+wD0QUXP7TQ== X-Received: by 2002:ac2:434f:: with SMTP id o15mr397216lfl.29.1549303896201; Mon, 04 Feb 2019 10:11:36 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.83.140]) by smtp.gmail.com with ESMTPSA id t22sm3477710lfb.0.2019.02.04.10.11.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 10:11:34 -0800 (PST) Subject: [PATCH v2 6/7] sh_eth: offload RX checksum on SH7734 From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> To: netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net> Cc: linux-renesas-soc@vger.kernel.org, linux-sh@vger.kernel.org References: <a21deed1-35dc-f1be-6c7e-7061ebe4b56c@cogentembedded.com> Organization: Cogent Embedded Message-ID: <a7a02d50-2566-5425-ba05-36e3ad5b4d38@cogentembedded.com> Date: Mon, 4 Feb 2019 21:11:32 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <a21deed1-35dc-f1be-6c7e-7061ebe4b56c@cogentembedded.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-MW Content-Transfer-Encoding: 7bit Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: <linux-sh.vger.kernel.org> X-Mailing-List: linux-sh@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
sh_eth: implement simple RX checksum offload
|
expand
|
Index: renesas/drivers/net/ethernet/renesas/sh_eth.c =================================================================== --- renesas.orig/drivers/net/ethernet/renesas/sh_eth.c +++ renesas/drivers/net/ethernet/renesas/sh_eth.c @@ -1049,6 +1049,7 @@ static struct sh_eth_cpu_data sh7734_dat .xdfar_rw = 1, .tsu = 1, .csmr = 1, + .rx_csum = 1, .select_mii = 1, .magic = 1, .cexcr = 1,
The SH7734 SoC manual describes the Ether MAC's RX checksum offload the same way as it's implemented in the EtherAVB MACs... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> --- drivers/net/ethernet/renesas/sh_eth.c | 1 + 1 file changed, 1 insertion(+)