From patchwork Sun Jan 27 17:33:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10782937 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 D0F521390 for ; Sun, 27 Jan 2019 17:33:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBF9228BF3 for ; Sun, 27 Jan 2019 17:33:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACBCF28D2B; Sun, 27 Jan 2019 17:33: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=-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 6E6B628BF3 for ; Sun, 27 Jan 2019 17:33:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726566AbfA0Rds (ORCPT ); Sun, 27 Jan 2019 12:33:48 -0500 Received: from mail-lf1-f48.google.com ([209.85.167.48]:34979 "EHLO mail-lf1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726863AbfA0Rds (ORCPT ); Sun, 27 Jan 2019 12:33:48 -0500 Received: by mail-lf1-f48.google.com with SMTP id e26so10200137lfc.2 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=K+5bf0fYis1mGdLsZ2YHBGg55o69wLCjBF46O2O4Zv2D/lVitk2xg9evm2mfrhT5Kg +ny4WeVbiXbNT5aq+shxTzKaVSGQSUPVp/f6fZV69yQ30cid2RnfccZ4lMLiwW+PRsNt kjRXBPJcdz8m/ghwDa/fn6OmMOdAJ0dHe6dl0knnZaQonjripZOxOQk0bsSaIPb4laTK YbV96Dh832saVHjv6a5S/F05iL/Ne6ygYPsg9gVFfeudOq4G4/Toz9y1C2ZLcCze2FoJ 5kKLtquDDOZDOP6OddvMs4uEVJKKTsmQFJ53Kj1JOBNG6yNm0B0qoB/bNWVgzg5Abu6d 62mQ== X-Gm-Message-State: AJcUuke5kKLeo0thrNHWdRQ1oAK6ShyjGxobS7MCiUX7DkrBoT3RgwB6 +V9RNrx60Dd5WzhOkp/QYRxXTqpzr30= 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-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 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