Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1480316pxb; Wed, 2 Feb 2022 06:02:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzw1xLtRJUzK2YAh90mpVMhVTNxdwxScIiCTsXbutgbMQWFw8Xk0j7Soj5Mw9Sn4ii+lnHf X-Received: by 2002:a17:902:a505:: with SMTP id s5mr30711625plq.157.1643810556066; Wed, 02 Feb 2022 06:02:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643810556; cv=none; d=google.com; s=arc-20160816; b=HAX8h9FSzthMo6v43B6X7sYE2zAJyloKWkCCt35xuxLrhiOXDMGhLZFX9/JFtajTbs 7P/0fxQC3mPpM9AeXJrAH2IpDywCAa5PtHnKtcbHmGUB2cJDR9eUurdoVbLqtVNoZsof 9BYFSTtb2mEqmC3XTT1uwA6L+4V+1WDy87DQuTalCV5ltelyGTO7TKNs2BAaBpk6L7fZ 1QPkasA5QUDJ3lVixSd5MnbCKbdDzmKNynrKcdyy/MpswaltLjr3vQezmC4LFuy0yjRn bL0q13eHHDSljKK1ciTyu/dRiwGfUQlalBxb33zvcLxGjwwhUKFE/SLT1gKtUVU7qnkO m4kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bnZYfSNhzo/fFfS+vptl3+YaNnxhQy/Mqz99bEg1grw=; b=jvgZgWQHbAbbn8t/sjs/EbMZZRZSQZu4LRdE9QoGvNedjAh0u6ju7mwo3nSwIzyOls FaBkx94Ob3y1k0iw4cRmTTy9oRRcOl/clX3LM/9cCWpHUSnDPwjCsCd+kwtADcYfV0TO dwYx7KtyVNbNd54nH4iN2zJiytZWUslj2h5B3DVJHvHIYU22g4rIxdjPdmsoEpuRDAXX TxbB8t+x+dz+rBDjUWDd0HaeeGEZAAN4sMyI8BTeDquN2EH7scd1qj+Ck+bMVyGROGVY 37HPkzRFOuu7jJBkwefOUV9h+dpYvc86seLgyL08tSQL8LxPnMCslyBxzhlrx1PfBDA+ JtGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hLz+1cWN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2si19725368plg.43.2022.02.02.06.02.22; Wed, 02 Feb 2022 06:02:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hLz+1cWN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233084AbiBARUT (ORCPT + 99 others); Tue, 1 Feb 2022 12:20:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229836AbiBARUS (ORCPT ); Tue, 1 Feb 2022 12:20:18 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E5D8C061714; Tue, 1 Feb 2022 09:20:18 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id j2so55629337ejk.6; Tue, 01 Feb 2022 09:20:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bnZYfSNhzo/fFfS+vptl3+YaNnxhQy/Mqz99bEg1grw=; b=hLz+1cWNRmbI3pEYWMnxQJOyR/t9YVf4/1zhxVFNmFOPszui0cU2GAqpZFrsHA4eH8 wh52oRdS79xUB/32be9znffUXgzE0B9JuDZmF9YJHZMNNBH29zIuQrnOaU5kbchffcWh M5XPGxBgLLeUKVPTqPGYsMlrYM2DXN+9FE1ck2HqROZ1LDgu8pJm9dQ91GOrtC8VRvTF BCNGna6Vc8GOyya8zDjATN7IGXIQlFNePvDBfhDEXEr1HS3+Hwcbxw1esQmKMqWDyEAl vwyr43jetFDA9SdjrwwIKgq7JM0GUSSQsmx7A0C45rKzihPx5Rhtob67RFuqvyfnoBQC cOqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bnZYfSNhzo/fFfS+vptl3+YaNnxhQy/Mqz99bEg1grw=; b=Eu4HKhzuKWjN8beRoOmdXUtEAg6ywxeG2opbxFkKyV1aswIvF5PzcGhkSl7uqQfka/ TIL0ghxr3vnfPzt3NnT8Uofl8UxCN4lyfTLOujNIaDK0LVzyXSD9RiK7crvD0Ip14b6c OGYqE/z1O2nA3iBviJmEPqG8qhtN2hlC4ttYF/TC0rXfHbDkiCpeq05wCGieQ7dq+Dbd r/rA1gWSW1N5fGfKsfb7eVo+TxIsicnEkbQanUyJV6+ARabD0tEfyTUlF2QaCopzGOZc 6FY5qUL//BJ7XjhK+goF1YkR0r9ZaOigc3l4ca7CEfgqDRC37hrj2RiMdzpRmo+PBzhh UAWw== X-Gm-Message-State: AOAM5333JLjuzj0dXm9PPCJ83S9YT9pV0EJyV3SF1h+WPa3wc75zxR8I 3Fh31v99cDU1JQimOawAzoM= X-Received: by 2002:a17:906:364f:: with SMTP id r15mr22250898ejb.473.1643736016616; Tue, 01 Feb 2022 09:20:16 -0800 (PST) Received: from skbuf ([188.27.184.105]) by smtp.gmail.com with ESMTPSA id d16sm14893704eje.131.2022.02.01.09.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 09:20:15 -0800 (PST) Date: Tue, 1 Feb 2022 19:20:14 +0200 From: Vladimir Oltean To: Tobias Waldekranz Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Andrew Lunn , Vivien Didelot , Florian Fainelli , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/5] net: dsa: mv88e6xxx: Improve isolation of standalone ports Message-ID: <20220201172014.v7amuqqksp4jl34x@skbuf> References: <20220131154655.1614770-1-tobias@waldekranz.com> <20220131154655.1614770-2-tobias@waldekranz.com> <20220201170634.wnxy3s7f6jnmt737@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220201170634.wnxy3s7f6jnmt737@skbuf> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 01, 2022 at 07:06:34PM +0200, Vladimir Oltean wrote: > Question: can we disable learning per FID? I searched for this in the > limited documentation that I have, but I didn't see such option. > Doing this would be advantageous because we'd end up with a bit more > space in the ATU. With your solution we're just doing damage control. Answering my own question... Your patch 4/5 does disable learning for packets coming from standalone ports, but not by FID, but by VTU policy. So that's good. Reading on...