From patchwork Mon Feb 4 18:01:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10796283 Return-Path: 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 A99EF6C2 for ; Mon, 4 Feb 2019 18:01:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A28F2BF4A for ; Mon, 4 Feb 2019 18:01:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E6952BF46; Mon, 4 Feb 2019 18:01:33 +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=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 3F0452BF0C for ; Mon, 4 Feb 2019 18:01:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728084AbfBDSBb (ORCPT ); Mon, 4 Feb 2019 13:01:31 -0500 Received: from mail-lf1-f41.google.com ([209.85.167.41]:44523 "EHLO mail-lf1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728037AbfBDSB3 (ORCPT ); Mon, 4 Feb 2019 13:01:29 -0500 Received: by mail-lf1-f41.google.com with SMTP id z13so565016lfe.11 for ; Mon, 04 Feb 2019 10:01:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:organization:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=bguRQTDMlMmqVCeW4DMBXahpO1jHxKyEum00RMTfNZc=; b=htwrS8i4ZBa3rvwAMLQjV6DadMcfCWlNZg3BhksKOnvzy2h7nORstKUUA9ni2Y5t3e rOGlM5SDRmVXD5GUeoqnsqgbAabUpkJFoFGcYsEVA2jWpTnQH4/heXcKZOs4rLP5UerJ cAkgAYAVDMhUlOKR3PNAkAidGemLMrw+eIHGvEV0tGWK73dShb1pOpm3bTE+lRUwQGXm Ks88Q9GK3enL9n+PDQtDPpKX8kBrmuJrFaPUxnctCBtAwBjbisvhKcW05pX5hht+sDky yUfX9C125kKUsQ3zLXDPcQwVMXR4cSD8p0x/VBUAFf0XQRL6oD0TS1G79i55MLJD8uBK a3KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:organization:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=bguRQTDMlMmqVCeW4DMBXahpO1jHxKyEum00RMTfNZc=; b=X3Mw8Jm5VJS2a6f+oTvtCqvPYn6oTNjmeAEoa/qTrFx4Ch646aTiRuowX+pfns75jY yo61O+jo2Zmglgf/oq8MGncnt4B2kXS45IUjfuFzqMUGURMh3sq/sxylws/ggP+jDO7v uZuq+eN7UdGz2xDvPrVha/MI+b1ct1zHf76sinP8JtHQLfoXyBvKhAugQ6+zyN7izek2 mC4j8zmoyjZ8oDJcG+ifrtlskIiQ5nh0CvjqiDTKyog015tWKIP3TRzBxHzGcCbGiHWA zEzbbpQlWzYieQQMEXuNR1gvDaRqYNREB4V5nhY2a3xENWDdkGQ73X+xXnFDmGPYUFYG eZEQ== X-Gm-Message-State: AHQUAuYhYvexzBkPLoWPfg3hevXOb4S1QrBhPz/QeKib89ECnUp4XKrI z1x+YuYXs2KdjmdN5Cp6tE+Z+uyouPY= X-Google-Smtp-Source: AHgI3IY4v3Dx/s9f1FpEZLFWnnH3VAg0aHVsjnDgejLnCvKqQbfwb/07eUnfIO50YK0GnVfOwzaC5Q== X-Received: by 2002:a19:c115:: with SMTP id r21mr385881lff.144.1549303287342; Mon, 04 Feb 2019 10:01:27 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.83.140]) by smtp.gmail.com with ESMTPSA id e19-v6sm2873087ljf.67.2019.02.04.10.01.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 10:01:25 -0800 (PST) From: Sergei Shtylyov Subject: [PATCH v2 0/7] sh_eth: implement simple RX checksum offload To: netdev@vger.kernel.org, "David S. Miller" Cc: linux-renesas-soc@vger.kernel.org, linux-sh@vger.kernel.org Organization: Cogent Embedded Message-ID: Date: Mon, 4 Feb 2019 21:01:25 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Language: en-MW Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello! Here's a set of 7 patches against DaveM's 'net-next.git' repo. I'm implemeting the simple RX checksum offload (like was done for the 'ravb' driver by Simon Horman); it has been only tested on the R8A7740 and R8A77980 SoCs, the other SoCs should just work (according to their manuals)... [1/7] sh_eth: rename sh_eth_cpu_data::hw_checksum [2/7] sh_eth: RX checksum offload support [3/7] sh_eth: offload RX checksum on R7S72100 [4/7] sh_eth: offload RX checksum on R8A7740 [5/7] sh_eth: offload RX checksum on R8A77980 [6/7] sh_eth: offload RX checksum on SH7734 [7/7] sh_eth: offload RX checksum on SH7763 MBR, Sergei