Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp122313pxv; Thu, 24 Jun 2021 04:23:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWsyetEBXMPjkM01OcCEbmtg7hQ5obVLjGJCpMBimURVN7pmXjLTsYX4JC9oZ5Qez450rW X-Received: by 2002:a6b:3119:: with SMTP id j25mr3539562ioa.64.1624533780983; Thu, 24 Jun 2021 04:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624533780; cv=none; d=google.com; s=arc-20160816; b=PLrOSgpscfMMpBRkRz6erAd+b1bsto/orH6q8TmTtYIGSwFgBLTa1q2Tn/JqH6jSX+ 4CGPtdSz2odOIKLubwov/NC4CaMAahmt1ofsR2JL02T4gf4NteLDAJrs16Sdo/JbmsJy bt2BmRzG3SRO+WPq7y+Rwg9rQTzCr3KCYFzfKzjvS/mes7O4Au5f24FYaIgEffmaXRYC tFuJz9fvGiZlSLrl5QWh9GDIaO6hO3U85OYGx8DYyZbNler7u1koOoTkxYNPwoK8qmHl 7TaiIe91ArMbm0oXs11uBBCLlIahQPX7yuU9a740vRSd0HQq4z9JwJHhYSgkW7Kod9Np KtPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:organization:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=WZ94MCj4P+1Tk4h3F6uSezgDTShoq+YXMzbRU4lNdl0=; b=QWBIejnSuAM1zIAkF6aVvmFGqBoFfNLiqiPsoDX2K4WR7VBIkf6dkh81oypmEy5Fnd Y+1UjIJQRcUse8zNuPV/4l0CGXLVUUpqMWjcKMHsyluSnSkeAoeVwlCtEgeLueZRkBTY g16qdPL16t1RzrhTkMOdL4Bbr0SKcNXmo1bveWCX0LmCch3TzzgQLuLOepzMhvnk1PdZ 7tp3DNNdpHFpjgDQmJEW/uvV5+HfNwrFTtSv9rfpX19XTOhWmxdIyg1sBXijC8O361lX AjMeVJqMX4KRoTh/jF+V/SOsiYZowVz216I9z0mf4TU8bDsPOGkiqJN3huvtw2tdeTiv OWgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=PQljBxM3; 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 p14si3177165ils.62.2021.06.24.04.22.43; Thu, 24 Jun 2021 04:23:00 -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; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=PQljBxM3; 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 S232355AbhFXLX6 (ORCPT + 99 others); Thu, 24 Jun 2021 07:23:58 -0400 Received: from phobos.denx.de ([85.214.62.61]:51020 "EHLO phobos.denx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232005AbhFXLX5 (ORCPT ); Thu, 24 Jun 2021 07:23:57 -0400 Received: from ktm (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 39BF58295B; Thu, 24 Jun 2021 13:21:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1624533696; bh=WZ94MCj4P+1Tk4h3F6uSezgDTShoq+YXMzbRU4lNdl0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PQljBxM3U7Mwv1StnBH3q2AmOPZ3PGkD6TS8yT3nkYx9SZVR5O4K7ITVan/aSo8Ee CWOik36TaaA2kTppomLMpshRTtqwtmzgircbjHrVMAnmz4VSXEiIulzI0BLFNDZCEK 7OdMhkg26Ge0LTHvdz6rz99rTvMO17wFbmSRb4vycBjd7V2HJA1ROp3CP7773T7iDR 7ih48a4UnB9YT2r2eq9EFRfryEpq02rw31Xnq69pw7+mnQaLGWhTdRk1C9I4bo8pzu UngHAd4NdV5y3RxgW8QXx/GrH1XNVctHG7nwmBIyl5quSX54yJYU/IPfnf76mda+Wt cV3wS6JvSRKCg== Date: Thu, 24 Jun 2021 13:21:29 +0200 From: Lukasz Majewski To: Joakim Zhang , Florian Fainelli , Andrew Lunn Cc: "David S . Miller" , Jakub Kicinski , "Madalin Bucur (OSS)" , Nicolas Ferre , Vladimir Oltean , "netdev@vger.kernel.org" , Arnd Bergmann , Mark Einon , dl-linux-imx , "linux-kernel@vger.kernel.org" Subject: Re: [RFC 1/3] ARM: dts: imx28: Add description for L2 switch on XEA board Message-ID: <20210624132129.1ade0614@ktm> In-Reply-To: References: <20210622144111.19647-1-lukma@denx.de> <20210622144111.19647-2-lukma@denx.de> <20210622225134.4811b88f@ktm> <20210623172631.0b547fcd@ktm> <76159e5c-6986-3877-c0a1-47b5a17bf0f1@gmail.com> Organization: denx.de X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/kZDyde/N75IDMut=SSq/AH7"; protocol="application/pgp-signature" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/kZDyde/N75IDMut=SSq/AH7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Joakim, > Hi Lukasz, Florian, Andrew, >=20 > > > Maybe somebody from NXP can provide input to this discussion - for > > > example to sched some light on FEC driver (near) future. =20 > >=20 > > Seems like some folks at NXP are focusing on the STMMAC controller > > these days (dwmac from Synopsys), so maybe they have given up on > > having their own Ethernet MAC for lower end products. =20 >=20 > I am very happy to take participate into this topic, but now I have > no experience to DSA and i.MX28 MAC, so I may need some time to > increase these knowledge, limited insight could be put to now. Ok. No problem :-) >=20 > Florian, Andrew could comment more and I also can learn from it :-), > they are all very experienced expert. The main purpose of several RFCs for the L2 switch drivers (for DSA [1] and switchdev [2]) was to gain feedback from community as soon as possible (despite that the driver lacks some features - like VLAN, FDB, etc). >=20 > We also want to maintain FEC driver since many SoCs implemented this > IP, and as I know we would also use it for future SoCs. > =20 Florian, Andrew, please correct me if I'm wrong, but my impression is that upstreaming the support for L2 switch on iMX depends on FEC driver being rewritten to support switchdev? If yes, then unfortunately, I don't have time and resources to perform that task - that is why I have asked if NXP has any plans to update the FEC (fec_main.c) driver. Joakim, do you have any plans to re-factor the legacy FEC driver (fec_main.c) and introduce new one, which would support the switchdev? If NXP is not planning to update the driver, then maybe it would be worth to consider adding driver from [2] to mainline? Then I could finish it and provide all required features. Links: [1] - https://source.denx.de/linux/linux-imx28-l2switch/-/commits/imx28-v5.12-L2-= upstream-DSA-RFC_v1 [2] - https://source.denx.de/linux/linux-imx28-l2switch/-/commits/imx28-v5.12-L2-= upstream-switchdev-RFC_v1 > Best Regards, > Joakim Zhang Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/kZDyde/N75IDMut=SSq/AH7 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAmDUarkACgkQAR8vZIA0 zr06nwf9G3OmyXuWlJdIM3Nl2cegkp7d1CLCHKra/d6RG6rtaMZEoF/bWU6XLAf2 +F+8UwamTxsqNgH0MYQ28KYoGjOTdq6fhN5tJbwin30oUkTfMzsWfANVSaZL3WLL LR9EOWZ2e9qzFnq5608+WIwEe8VPg3TxmeiDctM7vZ0cOqL9jOeMcoI73DTfNTRB wOEu6Pu6NjQeXEPJQ/+JJfw1KGHinFXc2RJRpPM5cW6QM+3FbmIe5y8KhEu8tD2x UFPOfYSi9dck8IeFVk40Eo/2OXpSi0arPJMoH7K2Pxtcg8zreXLAjsU+0azNBfl6 Y85uaWBHWTBnPPiLLqY2WCgX8rBwZg== =zkQk -----END PGP SIGNATURE----- --Sig_/kZDyde/N75IDMut=SSq/AH7--