Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1639160pxb; Thu, 28 Oct 2021 07:25:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgKbQziC5JjS7YS5p2gQCH3dnISRCE1j3498V6+Mee5hYRp4gG9Lmd/PADgKzuPdrlG8eS X-Received: by 2002:a17:902:d2c6:b0:140:5025:44f7 with SMTP id n6-20020a170902d2c600b00140502544f7mr4102023plc.50.1635431139974; Thu, 28 Oct 2021 07:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635431139; cv=none; d=google.com; s=arc-20160816; b=OVBAMwWvXjs5a2xyafU1fl9tAQ+K38oOgXZqI6eUcCDrh/8EytcU6lFW+httA739Tn 2xBIHDHkKYkwKDHilIZHLnyNztRqTKWbjsrG9/Micd3BfLj3aEBFtBYo3MLswR1ssNaV lnhorN/CCDvVB+MBg+0xkQTt4rT87vJguKslsSe/jHp/H9CHpDGmJNb5QLRF3GePPp8b XX8jHis4MJZvCAfp2Ddgzp3Ni/NoQjN7TzjMtBm0RDfICAkEm4DfFLgq9ybfPKF3WdJq tlvrAyJe1RFDPc9pMpjecG/G7mngWLUXm+L2k8ZzYn1C0X7MVXl3YW1d6Rk8UqOBaPHj hjug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=o8/LhBU9MOD47Z+g56u0v1cGDtGfMpFMaZVn184prrk=; b=ISD0z2fYXgRKqL+EuBaH/sQlt02zNN08SeMr+lI7LNigMW45hGRCkr9b79gapnvpex VEyZCu9Dgr4FUvkMrIqZNCajFo/zGR1euiGGnX5DQSb2GozVcg1inPj6ZqFC1Vp0iXZV YmQALrZZSXkoVQJzhbgS2AmgYNLXbXmxFGpYazOiRYb2Q4VYjlRKIJVRPltOen77+1MR pZXHOVk6NSIRosXXAVyvKtDlNESi/Rt8nLG1Is7cms98qfRRRnUaHs60C47OuPFsy/5z nPvvLyCeccO0BZU7jTYoNZCG5yEmMs7AHU0iVH6qA8O8V5ABofc5fVTwlh8dZANmJ2i/ eQWA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t11si4922429pgl.309.2021.10.28.07.25.01; Thu, 28 Oct 2021 07:25:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231163AbhJ1O0E convert rfc822-to-8bit (ORCPT + 99 others); Thu, 28 Oct 2021 10:26:04 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:46711 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231282AbhJ1OZz (ORCPT ); Thu, 28 Oct 2021 10:25:55 -0400 Received: (Authenticated sender: clement.leger@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 1D99B100006; Thu, 28 Oct 2021 14:23:20 +0000 (UTC) Date: Thu, 28 Oct 2021 16:23:20 +0200 From: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= To: Vladimir Oltean Cc: "David S. Miller" , Jakub Kicinski , Rob Herring , Claudiu Manoil , Alexandre Belloni , "UNGLinuxDriver@microchip.com" , Andrew Lunn , "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 0/3] Add FDMA support on ocelot switch driver Message-ID: <20211028162320.7c07fdf3@xps-bootlin> In-Reply-To: <20211028140738.4mozxpgltezu6zsm@skbuf> References: <20211028134932.658167-1-clement.leger@bootlin.com> <20211028140738.4mozxpgltezu6zsm@skbuf> Organization: Bootlin X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le Thu, 28 Oct 2021 14:07:39 +0000, Vladimir Oltean a écrit : > On Thu, Oct 28, 2021 at 03:49:29PM +0200, Clément Léger wrote: > > This series adds support for the Frame DMA present on the VSC7514 > > switch. The FDMA is able to extract and inject packets on the > > various ethernet interfaces present on the switch. > > > > While adding FDMA support, bindings were switched from .txt to .yaml > > and mac address read from device-tree was added to allow be set > > instead of using random mac address. > > > > Clément Léger (3): > > net: ocelot: add support to get mac from device-tree > > dt-bindings: net: convert mscc,vsc7514-switch bindings to yaml > > net: ocelot: add FDMA support > > > > .../bindings/net/mscc,vsc7514-switch.yaml | 183 ++++ > > .../devicetree/bindings/net/mscc-ocelot.txt | 83 -- > > drivers/net/ethernet/mscc/Makefile | 1 + > > drivers/net/ethernet/mscc/ocelot.h | 2 + > > drivers/net/ethernet/mscc/ocelot_fdma.c | 811 > > ++++++++++++++++++ drivers/net/ethernet/mscc/ocelot_fdma.h | > > 60 ++ drivers/net/ethernet/mscc/ocelot_net.c | 30 +- > > drivers/net/ethernet/mscc/ocelot_vsc7514.c | 20 +- > > include/linux/dsa/ocelot.h | 40 +- > > include/soc/mscc/ocelot.h | 2 + > > 10 files changed, 1140 insertions(+), 92 deletions(-) > > create mode 100644 > > Documentation/devicetree/bindings/net/mscc,vsc7514-switch.yaml > > delete mode 100644 > > Documentation/devicetree/bindings/net/mscc-ocelot.txt create mode > > 100644 drivers/net/ethernet/mscc/ocelot_fdma.c create mode 100644 > > drivers/net/ethernet/mscc/ocelot_fdma.h > > > > -- > > 2.33.0 > > > > Oh yes, finally some care and attention for the ocelot switchdev > driver. I'll review this soon, but I can't today. > Will you be keeping the hardware for some extended period of time, and > do you have some other changes planned as well? Yes I'll keep the hardware for some time but I do not have other changes planned yet. Maybe there will be additional changes later but nothing sure. Clément