Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp202515pxu; Wed, 25 Nov 2020 17:35:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJyERkjBautGxaWjiKC1r6JD+WCBstSxv15vdhK/Q9rPZ3RVrzcKngy/H3wCF3WifWBo6gNt X-Received: by 2002:a50:fd8d:: with SMTP id o13mr420856edt.248.1606354551588; Wed, 25 Nov 2020 17:35:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606354551; cv=none; d=google.com; s=arc-20160816; b=FgMdX4mD9A6qctwXpayNRBBqPHIjIDOOgih8nByn4yNFf/j9vgDVeV1ndShuTkCxTv 9KOCri9Cu2GGCUYfHoeSsf1yyEUsfUMbv6O0MJwrC/u8QH10KYUUBPAnqnSDgvk7+/YB jmP4r7DLPajM1xdNqdG9Uflau8Xm6FnuDTDmPlSsxH1L0aYctlR3nkNwBTsfG9U8n4K3 cjpt57os7GdTQJNvtwPytnwQfd6UaUaQ28AE4B7iztAG1Ngg+1l3Vbe4sBTKkwO+apaX stRKlqW4HuEGvlXH+SOTwN6leKo+mMgE8D7+btsi4lXkVOUr8rT5iYo4Cm1couSjLL/p m3tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=7Wvzm+8lvRf1crH0kVSlHEeSP3AC7RZpdjWMOjFrfc0=; b=kj++qq9zruOcqGYC+EYnPq2ATYhkSr0rgT2V2Om+srS499HNYej2BxCPBMjdBeiPfX w7bQurN+4OmG0VnoY4aTA/dTc96Ob3h7VQ54Wta/Wz/P2qAvSWrCgXNhOXyf+QGcRWzs 4pLFhxk0IQXuQFVOclkT6dElv/M2f1yFwRZpaa7uQr247oitCpB3oxlTp3/S0HhXRm26 aNGgPHSvm4RZfIyTD7nDwQMilZAmvUCHxvgevo+TmetWxBrvWad0wHCGJFeCQLjbdj0R hafK+5GPJZS3TeylYtYAb9rf5GKGx+vDPf8GpCsqqBr4t5FaPyWrqO4CtZ+QEtzmrIO4 H95w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VlJmQqw5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s19si1597994ejz.621.2020.11.25.17.35.29; Wed, 25 Nov 2020 17:35:51 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=VlJmQqw5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731985AbgKZBaK (ORCPT + 99 others); Wed, 25 Nov 2020 20:30:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730646AbgKZBaK (ORCPT ); Wed, 25 Nov 2020 20:30:10 -0500 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2A23C061A52; Wed, 25 Nov 2020 17:30:09 -0800 (PST) Received: by mail-pf1-x444.google.com with SMTP id e8so166687pfh.2; Wed, 25 Nov 2020 17:30:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=7Wvzm+8lvRf1crH0kVSlHEeSP3AC7RZpdjWMOjFrfc0=; b=VlJmQqw5CyQNDdKTuVy5mY/62KO26UDN3VEAWM4bxt6Znu3rF9zL4LNjPsxbngin3P hLGxGWTsffQVJ9ntVX0zEXnKibMhzR2hq3cJ1Z0k0pjVmvQiF1I162+DiEiTHYtny6ak vFdFVzApOHp6ZGeq8iqccWSKeqAtJuSicn3JHUNfK1UEium9lEja/KkNwjkvKaExV66d GkmcdbvLNK2obo1qGR0h841zuoJfkszlMZzD9t3H1WdmBIOuLp8EGZtRgJoAMdr1kadl Ew+83OjlAIc44R7zygQYFxHTEk8TNR35RnRmu1aAyavUeJMiG+K4aVdtuOSRERQcnkUG yIqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7Wvzm+8lvRf1crH0kVSlHEeSP3AC7RZpdjWMOjFrfc0=; b=Q+YXMjXNbpvUmd12NufHFBBeO7vT1vgnoKammODQcwoId3beUd8ZG9SHQqvVFckoOr SpT0lHGiMsjd/FIbXjQPhF+4G/eLV4evhZ+0ZthStpT2l5waTp3jWeAfkxWcw05OMnt+ IO5nXUSbrr5eS/Ao6csedaISd0UjS3O8/Pf8Sk323+YQ/6BsrnNGFU3qOU7/2xYqgbdV oPZrAptg5qHpVJazoWtd1wEU7m/YojMNmISc6akBhx8svUwVi3onk0PFBicDC1kP8xXI f0rFT1bEvVTVflrDnJSrSnB+qFBC95krBEB2YwFF8ybr+p3hwNiaan5eNx7c9p9cCl4j 6CcA== X-Gm-Message-State: AOAM533hLWg1ukYOKmcCjek54hE5Uh4T40LvaY0BKyi2PlVp6tJHT9XJ Vk7vNY7mddZT1Gy3BscmK+k= X-Received: by 2002:a17:90a:be0a:: with SMTP id a10mr731610pjs.15.1606354209452; Wed, 25 Nov 2020 17:30:09 -0800 (PST) Received: from [10.230.28.242] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id s26sm2989081pgv.93.2020.11.25.17.30.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Nov 2020 17:30:08 -0800 (PST) Subject: Re: [RFC 0/4] net: l2switch: Provide support for L2 switch on i.MX28 SoC To: Andrew Lunn , Lukasz Majewski Cc: Peng Fan , Fugang Duan , Shawn Guo , stefan.agner@toradex.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, krzk@kernel.org, "David S . Miller" , NXP Linux Team , Jakub Kicinski , Vladimir Oltean , Fabio Estevam , Vivien Didelot , linux-arm-kernel@lists.infradead.org References: <20201125232459.378-1-lukma@denx.de> <20201126000049.GL2073444@lunn.ch> From: Florian Fainelli Message-ID: Date: Wed, 25 Nov 2020 17:30:04 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201126000049.GL2073444@lunn.ch> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/25/2020 4:00 PM, Andrew Lunn wrote: > On Thu, Nov 26, 2020 at 12:24:55AM +0100, Lukasz Majewski wrote: >> This is the first attempt to add support for L2 switch available on some NXP >> devices - i.e. iMX287 or VF610. This patch set uses common FEC and DSA code. > > Interesting. I need to take another look at the Vybrid manual. Last > time i looked, i was more thinking of a pure switchdev driver, not a > DSA driver. So i'm not sure this is the correct architecture. But has > been a while since i looked at the datasheet. Agreed the block diagram shows one DMA for each "switch port" which definitively fits more within the switchdev model than the DSA model that re-purposes an existing Ethernet MAC controller as-is and bolts on an integrated or external switch IC. -- Florian