From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Sun, 27 Jan 2019 17:33:43 +0000 Subject: [PATCH 0/7] sh_eth: implement simple RX checksum offload Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netdev@vger.kernel.org, "David S. Miller" Cc: linux-renesas-soc@vger.kernel.org, linux-sh@vger.kernel.org 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 was only tested on the R8A77980 SoC, 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E62DC282CB for ; Sun, 27 Jan 2019 17:33:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E50320881 for ; Sun, 27 Jan 2019 17:33:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=cogentembedded-com.20150623.gappssmtp.com header.i=@cogentembedded-com.20150623.gappssmtp.com header.b="FadV31Pl" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726926AbfA0Rds (ORCPT ); Sun, 27 Jan 2019 12:33:48 -0500 Received: from mail-lf1-f42.google.com ([209.85.167.42]:39560 "EHLO mail-lf1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726566AbfA0Rdr (ORCPT ); Sun, 27 Jan 2019 12:33:47 -0500 Received: by mail-lf1-f42.google.com with SMTP id n18so10183199lfh.6 for ; Sun, 27 Jan 2019 09:33:46 -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=yE1qOoOQEhglPvicWfa8996p8pD2c3a2E+EBI3n1ZVg=; b=FadV31Pl7gJth1FnH/xAU/v+YXTdRGscBCyzKumAilGKyo7eDHUIi5b8Oom2uiu2eG bLt0vVy7ulBL4Nl6DebadKchHdo6XNDpfgCE+og2RJHS/lZ6sxSNbBXkkNjgketN5UfD ux2gY72hQY9f3vccVUXrB18PQkc/lp7mjU+vEu05W2WuiSgnK4/5FTiZCIofzirUEvVn LgADexVRgD2+p6T9vsJ0Ul5OyQNOnHLxAXTVvejYojzC3pMWOKhlnJIPLNexb2aiYkE6 ZkzArrD+/D7znBIYLQVvzHW7ntkuAQ/8oCBnzJzbCx2gsL+Zy10Vbfc/LkNv5GYolY8b I8ww== 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=yE1qOoOQEhglPvicWfa8996p8pD2c3a2E+EBI3n1ZVg=; b=g7tpExVSvS9vpAsjGIv+KRjQYwzHyji3FW1qnwL+BEgDtLFstKCIi6mkWCWzLoy276 hMA8Mo8aKsvlVfTOLtGQbqOquSdeuBv9AfushAEpOSfYzXXMMrX0UcovhUP+D2gVnZ9Z ngTocSLeo2AfXk7pyxCtZbcBWUR4HhYlntPC02VrfRhftnUwo5fF/nQ+pCp/eNxBJ140 uuuyP3eOACjkk/mL6QWxbl9GKBPt+v6kRwi+9853vy1TDvd/rTQRxABOjSyHH7+m69A2 bMhVnF0XhaxgUYAPGuZ7Q2uOYvlYhyczOivSN3zUeGiYuV1ZWuGM68J1Xfm3HdLEvxIb E5HA== X-Gm-Message-State: AJcUukek5jexzqKGjNNA4jAdWXU+h43B9ij49i3bcInZMMBpfxpR+nSC cqbH2aSbsV+1vCyWVb0vb3g0Vg== X-Google-Smtp-Source: ALg8bN7MPMlWgHodQEIPKWAvEnmoZXJJnDchfPM4czcZARfkLds/K8cN9Zyr1OEHSh1nXyHTiFaOiA== X-Received: by 2002:a19:c345:: with SMTP id t66mr11801353lff.55.1548610425652; Sun, 27 Jan 2019 09:33:45 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.84.150]) by smtp.gmail.com with ESMTPSA id b128sm2580248lfe.91.2019.01.27.09.33.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Jan 2019 09:33:45 -0800 (PST) From: Sergei Shtylyov Subject: [PATCH 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: Sun, 27 Jan 2019 20:33:43 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-MW Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 was only tested on the R8A77980 SoC, 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