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=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 autolearn=ham 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 469E1C433F5 for ; Thu, 23 Sep 2021 15:12:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2EF43611B0 for ; Thu, 23 Sep 2021 15:12:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241943AbhIWPNc (ORCPT ); Thu, 23 Sep 2021 11:13:32 -0400 Received: from mxout04.lancloud.ru ([45.84.86.114]:51212 "EHLO mxout04.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241865AbhIWPNb (ORCPT ); Thu, 23 Sep 2021 11:13:31 -0400 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout04.lancloud.ru DE20A20A0312 Received: from LanCloud Received: from LanCloud Received: from LanCloud Subject: Re: [RFC/PATCH 00/18] Add Gigabit Ethernet driver support To: Biju Das , "David S. Miller" , Jakub Kicinski CC: Lad Prabhakar , Andrew Lunn , Sergei Shtylyov , "Geert Uytterhoeven" , Adam Ford , Yoshihiro Shimoda , , , Chris Paterson , Biju Das References: <20210923140813.13541-1-biju.das.jz@bp.renesas.com> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: Date: Thu, 23 Sep 2021 18:11:49 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210923140813.13541-1-biju.das.jz@bp.renesas.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT01.lancloud.ru (fd00:f066::141) To LFEX1907.lancloud.ru (fd00:f066::207) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello! On 9/23/21 5:07 PM, Biju Das wrote: > The DMAC and EMAC blocks of Gigabit Ethernet IP found on RZ/G2L SoC are > similar to the R-Car Ethernet AVB IP. > > The Gigabit Ethernet IP consists of Ethernet controller (E-MAC), Internal > TCP/IP Offload Engine (TOE) and Dedicated Direct memory access controller > (DMAC). > > With a few changes in the driver we can support both IPs. > > This patch series aims to add Gigabit ethernet driver support to RZ/G2L SoC. > > Please provide your valuable comments. Note to Dav: I will, in the coming couple days... > Ref:- > * https://lore.kernel.org/linux-renesas-soc/TYCPR01MB59334319695607A2683C1A5E86E59@TYCPR01MB5933.jpnprd01.prod.outlook.com/T/#t > > > Biju Das (18): > ravb: Rename "ravb_set_features_rx_csum" function to > "ravb_set_features_rcar" > ravb: Rename the variables "no_ptp_cfg_active" and "ptp_cfg_active" > ravb: Initialize GbEthernet dmac > ravb: Enable aligned_tx and tx_counters for RZ/G2L > ravb: Exclude gPTP feature support for RZ/G2L > ravb: Add multi_tsrq to struct ravb_hw_info > ravb: Add magic_pkt to struct ravb_hw_info > ravb: Add mii_rgmii_selection to struct ravb_hw_info > ravb: Add half_duplex to struct ravb_hw_info > ravb: Initialize GbEthernet E-MAC > ravb: Add rx_2k_buffers to struct ravb_hw_info > ravb: Add timestamp to struct ravb_hw_info > ravb: Add rx_ring_free function support for GbEthernet > ravb: Add rx_ring_format function for GbEthernet > ravb: Add rx_alloc helper function for GbEthernet > ravb: Add Packet receive function for Gigabit Ethernet > ravb: Add carrier_counters to struct ravb_hw_info > ravb: Add set_feature support for RZ/G2L > > drivers/net/ethernet/renesas/ravb.h | 91 +++- > drivers/net/ethernet/renesas/ravb_main.c | 631 ++++++++++++++++++++--- > 2 files changed, 630 insertions(+), 92 deletions(-) There's a lot of new code.... MBR, Sergey