Message ID | 8697e411-02ae-3223-3a0c-4a3eb770ae3a@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 97B4913A4 for <patchwork-linux-sh@patchwork.kernel.org>; Mon, 4 Feb 2019 18:10:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 866692BF20 for <patchwork-linux-sh@patchwork.kernel.org>; Mon, 4 Feb 2019 18:10:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7AF6E2BF31; Mon, 4 Feb 2019 18:10:40 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham 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 2E3182BF20 for <patchwork-linux-sh@patchwork.kernel.org>; Mon, 4 Feb 2019 18:10:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728583AbfBDSKj (ORCPT <rfc822;patchwork-linux-sh@patchwork.kernel.org>); Mon, 4 Feb 2019 13:10:39 -0500 Received: from mail-lf1-f46.google.com ([209.85.167.46]:45426 "EHLO mail-lf1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728333AbfBDSKj (ORCPT <rfc822;linux-sh@vger.kernel.org>); Mon, 4 Feb 2019 13:10:39 -0500 Received: by mail-lf1-f46.google.com with SMTP id b20so582553lfa.12 for <linux-sh@vger.kernel.org>; Mon, 04 Feb 2019 10:10:38 -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=6q4Ogs/xu/BHkdLHpHi3xG9nEcDUkatHU10+VQ6N3JQ=; b=Ns5vrEsyfXAQrLHeiooapY5+6QLA6f9DOlWqzIS51gTQQhm4O22ssNr5mOic0XHYL2 p6gjMrZ00EqPEz8/HfzsV5+5uhIhO493HCi3fYYE4m6Sb9oUUVHDqLBiEcQyaFhdUA4l rzEvnm0RTEeg7CkBLbp3tGXwMbMZScYb4hqFwiyQYBQ6YkoCGR/ZhDI3wRhyts5emMY2 gKxkfKFLGqbn+JN6xJyNzBF0PSjUoErBxaAMt9u60csDnAnHmiO6XMK34JyJtV12sQ3v wTjBNmL3Hi9M+udmhAJW3iBquNot6YAWCXpkh0KuiQ4g6zGGZG144GIL6YWCMwxnD7gN 5tww== 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=6q4Ogs/xu/BHkdLHpHi3xG9nEcDUkatHU10+VQ6N3JQ=; b=lXyvhlPw2XubyVZnRHN6xHjDDg5HUoM/EW1vq5tXlOjFTyB4NmvkmofRXeQLROUz7K 8XeSvx5I3Bie+7HGXhfbpbWYinfUFhngdX7MN4WPJmdvwDl3U+fUsw3QIOBJ7T4yFg7e 4fUzJqpSEwD9ZDQSf6RNFp5GgXUnmhXjBBDOsxN2LCtaBeWroBso85wzVWUjBhfoeNV7 x4ekC50ZtlMLed+sIiPu7/jGwGivbyCkYG0L9WYWjPYXzgCGLuaUwTVtc2miBvNU8i2Z 4OJcoFDP3JSNmQDp6PKYDzoXBJUOuNFC3UoAfOM4LTVpGcZfyfW57s6EWjZ8dUcOSPUG tmfg== X-Gm-Message-State: AHQUAuZv/BVIWlC/T3UacMSvOwfd0DNzKOJPrPON4M+RFNiiPf4z876S xWKmx2cP7jblGaFJiToqaccoAVpUang= X-Google-Smtp-Source: AHgI3IZV+LleXpMLAzkm3D0oQQGQxCwdO/k0SSiud6ee8C7uq6m0iggH9Nq5OyV49lSg44Jp2JU/nw== X-Received: by 2002:a19:df41:: with SMTP id q1mr425864lfj.25.1549303837439; Mon, 04 Feb 2019 10:10:37 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.83.140]) by smtp.gmail.com with ESMTPSA id h22-v6sm3124606lji.45.2019.02.04.10.10.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 10:10:35 -0800 (PST) Subject: [PATCH v2 5/7] sh_eth: offload RX checksum on R8A77980 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: <8697e411-02ae-3223-3a0c-4a3eb770ae3a@cogentembedded.com> Date: Mon, 4 Feb 2019 21:10: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 @@ -796,6 +796,7 @@ static struct sh_eth_cpu_data r8a77980_d .no_ade = 1, .xdfar_rw = 1, .csmr = 1, + .rx_csum = 1, .select_mii = 1, .magic = 1, .cexcr = 1,
The R-Car V3H (R8A77980) SoC manual describes the Ether MAC's RX checksum offload the same way as it's implemented in the EtherAVB MAC... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> --- drivers/net/ethernet/renesas/sh_eth.c | 1 + 1 file changed, 1 insertion(+)