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=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no 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 015C6C3A59E for ; Sat, 24 Aug 2019 17:58:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B3E7321897 for ; Sat, 24 Aug 2019 17:58:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=nic.cz header.i=@nic.cz header.b="ucohJOfc" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726810AbfHXR6P (ORCPT ); Sat, 24 Aug 2019 13:58:15 -0400 Received: from mail.nic.cz ([217.31.204.67]:41592 "EHLO mail.nic.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726390AbfHXR6P (ORCPT ); Sat, 24 Aug 2019 13:58:15 -0400 Received: from localhost (unknown [172.20.6.135]) by mail.nic.cz (Postfix) with ESMTPSA id 00C15140BDC; Sat, 24 Aug 2019 19:58:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1566669494; bh=2p0CPHOejSu6fQOALJB/rhrZz4VqsDnMlZoFZs/SYgs=; h=Date:From:To; b=ucohJOfcOBAsTM3/LmHSp13TKThPxbxNV3nXR2fpD2Eo/Y++stl8XH3/Mi2s2AqMa fVDKWaeIPT0/hv98hbnPv0nwb4cWf3vjrvfWdov5vrJS8bxc3j7TrGF8wSz76NQ1Ra ENaBVmnacBiKuC/5wTXjbUtL93OOc3LUHn7atJns= Date: Sat, 24 Aug 2019 19:58:13 +0200 From: Marek Behun To: Andrew Lunn Cc: Vladimir Oltean , netdev , Vivien Didelot , Florian Fainelli , David Ahern , Stephen Hemminger Subject: Re: [PATCH RFC net-next 0/3] Multi-CPU DSA support Message-ID: <20190824195813.43349620@nic.cz> In-Reply-To: <20190824155636.GD8251@lunn.ch> References: <20190824024251.4542-1-marek.behun@nic.cz> <20190824155636.GD8251@lunn.ch> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.100.3 at mail.nic.cz X-Virus-Status: Clean Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sat, 24 Aug 2019 17:56:36 +0200 Andrew Lunn wrote: > I expect bad things will happen if frames are flooded to multiple CPU > ports. For this to work, the whole switch design needs to support > multiple CPU ports. I doubt this will work on any old switch. > > Having a host interface connected to a user port of the switch is a > completely different uses case, and not what this patchset is about. In the next proposal I shall also add a guard to all DSA drivers, that if more than one CPU port is set, the driver will not probe. After that the next patch will try to add multi-CPU support to mv88e6xxx (while removeing the guard for that driver). qca8k should also be possible to do, since we used it in such a way in openwrt. I shall look into that afterwards. Marek