Message ID | d69fa679-5ff0-7e1a-1035-be0f0f6a133c@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 366191390 for <patchwork-linux-sh@patchwork.kernel.org>; Sun, 27 Jan 2019 17:41:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26A582A59B for <patchwork-linux-sh@patchwork.kernel.org>; Sun, 27 Jan 2019 17:41:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 182C92A5A4; Sun, 27 Jan 2019 17:41:29 +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 C1E432A59B for <patchwork-linux-sh@patchwork.kernel.org>; Sun, 27 Jan 2019 17:41:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726863AbfA0Rl2 (ORCPT <rfc822;patchwork-linux-sh@patchwork.kernel.org>); Sun, 27 Jan 2019 12:41:28 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:44617 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726861AbfA0Rl2 (ORCPT <rfc822;linux-sh@vger.kernel.org>); Sun, 27 Jan 2019 12:41:28 -0500 Received: by mail-lf1-f65.google.com with SMTP id z13so10180358lfe.11 for <linux-sh@vger.kernel.org>; Sun, 27 Jan 2019 09:41:26 -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=liwjm9ze8qxoGKXwexudNjirVwtaRClbT1XeBLQwbv8=; b=mmznrsRr8CY+RKYrzcfzIlkwsO8c+ADsv0+imGOyrCMQz1/LCiCHQKcopzT8hI9RaD Gq1yENHlsg0yE15AX/fOO4c6uQulsJYfciDFSaXw8I5SDJyUjNmPA1F6X8PNW09gJqvH 4rdlX5SNhceKTb6vryW68LEN9Ryci7wdUbRxqpi0iDlRskd1NWXuPAldutUZhHu2aHv0 w+pUsXkHN99AcgsnClzGtJbPfCmxQbjXbGEIXmG5UWpyGBcbFEHPX27k7oUC/gU3XzDL vOAHml2HDI7XQwNNz6OgGptYOhlx8eGLbT/8B0tD5kqZwPIqwyehKRoQPePbaqBFaeKN 5luw== 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=liwjm9ze8qxoGKXwexudNjirVwtaRClbT1XeBLQwbv8=; b=BzbBvqBq5T4Ptmoj4eCfphVcQMWOssBBbVcIMvWERI4P+2vSKCVbyJGehhiSnIicqp 8tgiKfw+imSCcaq5op8jkil0D6SHlcDxoawgOsuCwzcyvhbP4hcz5mMXPXLv2S7txWq+ efqAmjAhMiimCPOku53Y3in99vZt/nCOow6504sLDDBlUHfWHHm17+RBnPbF57QLu1Fp IW69c5ODhKb1v9qm/6PEy+8ib7Ubd6mWC7mQP2alLkwfB+cg6qzj1r2K6UVxw7Wq1Hlw +BHitU+H1ximpZ73YRyGaAg0NpI1ma9ITm4g30QxqYYrVh39bL/5rjL92bxwosPusygn M1Vw== X-Gm-Message-State: AJcUukdIDK6zSJ1DsOwOBKywRfiqe95H1Y+bj0runa5GwE0A88QTr1FL nxETlWNQKXZfRHouq71PsZ9KfKw68Ao= X-Google-Smtp-Source: ALg8bN6vuKKAzehf73W2AHTxZP850Lrjs6GOw/In9ngClJDX87BoWL7KWCN4phAPe87bfHk95M9tGA== X-Received: by 2002:a19:750a:: with SMTP id y10mr3771742lfe.43.1548610885827; Sun, 27 Jan 2019 09:41:25 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.84.150]) by smtp.gmail.com with ESMTPSA id j12-v6sm2619597ljh.66.2019.01.27.09.41.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Jan 2019 09:41:25 -0800 (PST) Subject: [PATCH 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: <fc43bfa2-4312-b52b-a749-e3e43e242a95@cogentembedded.com> Organization: Cogent Embedded Message-ID: <d69fa679-5ff0-7e1a-1035-be0f0f6a133c@cogentembedded.com> Date: Sun, 27 Jan 2019 20:41:24 +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: <fc43bfa2-4312-b52b-a749-e3e43e242a95@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: net-next/drivers/net/ethernet/renesas/sh_eth.c =================================================================== --- net-next.orig/drivers/net/ethernet/renesas/sh_eth.c +++ net-next/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(+)