Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp520881imi; Thu, 21 Jul 2022 06:01:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vG76mfLckq4cfgnC8IAeiZejtBVUosKcRGvhuWP4yM0R4NhUsPCcxaOZ8QViOLGhhM9soi X-Received: by 2002:aa7:8e0e:0:b0:52b:49ca:a7d6 with SMTP id c14-20020aa78e0e000000b0052b49caa7d6mr30222898pfr.77.1658408462837; Thu, 21 Jul 2022 06:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658408462; cv=none; d=google.com; s=arc-20160816; b=Tx8rSKHwIaibPG9T27ODNElCO+SRTMcXeqr1eMs2F7s/idDXLq+L5sN+TQhggMe+Al EwTF+81MmlrSXkwSqP7DcPHaiI3uabuEqsYbM7AvT5baoLmAdGh1WY5EqKwTSpU9uAbH GYhaWBUAdz7ta8qWpN3JxR97+e/mY8s7uMKhv33rLYTL3voyYaeROpTMAzA+nz8D4UPP pN4OYQ3sFnAqTsIszfE6ALOWs0ORYP7gtPnUibE4IxoBFPhNt0mhHXwTM/29TQifg7Fz GmnDCm6PM9PIXXEdkO5EGcAvD19+yTQUpp/nzRxdx598rF9VY+8OVqANZizuiJDkVdGo C2Zw== 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=c2k9Gs9aq7wD8Q/GIeDAjL6HQrb7wXOBzG+CfyfPzhY=; b=nCFUKaBk4dHxvFQmO1DRbn7NYkgdeF1m3bhVXgYwD+7OiC+vcvJy0upFDYZBjG1UYZ Mv5XgNjpPTb34cjaZGbkO9rLVfm8VJ2lmtObUTYd8vmLLqMTPAUyY5Q8t6ssOW8ue42P +B5t25FGQ0AMxu2Pb+udp7u/HSiho3E1Yckio4xovNO9bMnTwGF0/4rapCiyZhCRnwB8 G5oXS6qgVog46KgL/qt6kJdWh3F8F7Cmxr9z91cAWc+eE95q+jKdUJtFPhbP5+FETHIS bW5eOUYMyjWzrVNN4xa8iYZkKpUEqmKkb2QNVgRnHIsUcbT3qtHrBBamVqyWBt0xwyxZ UMvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ACF8TqJG; 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 v184-20020a6389c1000000b0041a77ebb731si1995965pgd.294.2022.07.21.06.00.45; Thu, 21 Jul 2022 06:01:02 -0700 (PDT) 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=ACF8TqJG; 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 S233304AbiGULy6 (ORCPT + 99 others); Thu, 21 Jul 2022 07:54:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232932AbiGULyx (ORCPT ); Thu, 21 Jul 2022 07:54:53 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39B2883234; Thu, 21 Jul 2022 04:54:52 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id fy29so2662470ejc.12; Thu, 21 Jul 2022 04:54:52 -0700 (PDT) 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=c2k9Gs9aq7wD8Q/GIeDAjL6HQrb7wXOBzG+CfyfPzhY=; b=ACF8TqJG/PCVXLN/DfmbuzxuxGjPaw8maXBAuewHlJ9tumjTSGSDkhS2sVl3mLiHWH gCsWXSI0FmZsI34OPo09XlR6d0q73kcocEcWWkKGjzE3a/SnNxwefEu0fWJe685Ee1bh hr76tigPIOAmzmWMQbOcJl98m4kLXsEmHlFrh8NsMF6Wgk180kD1qEg0trdSvLAXMwBy m3yuAKekMn8UkwpXDJcG2Vu9OTQUQp0DWYtTLeXC54pTyG2QSdPeVLqWSbJ9mZD+WR0E Kn3/kl+f8xFbpe2MgcBwchwQdpRzPAIdytrWqM4CVkxx1m25gChgQcEbUAhWaqWj8AxP RQNg== 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=c2k9Gs9aq7wD8Q/GIeDAjL6HQrb7wXOBzG+CfyfPzhY=; b=qCgm7MaxHxLo3Ey3mle0KhbZk2GtVcJBYIo6qF9+lVEQpTkOrHGFIQGBij8Y8ZCbxC 62tspZQWRvhCN6MfKEGaAjdObTkgToQZWvWAyUFdOonaSmv8K0dtKLZPwrFB5Pz/9Xp/ Qr5mgpe8aBo/wmQ6FTPLALvjhwGDtvWKln7Wta059YLMZGUmWF9J0gR+JSkSuixnkm3L 3z18pn7vSyZRPB6YKdyXaPC6XCJVlNlBUgFl9B11hQIjC3FjZgfqb+aoHRHpNxpfwa88 JUlHsWwBzK3QtiKJH+75FMBWK0lV9R73e8fYksparxYmA/rL1mYnxUAUPZFr7djxXHL6 IthA== X-Gm-Message-State: AJIora//RBrwzxzjHtWTBEGgnlwnLa0i0Evxt03WqP8Ilvfd3UIG5HVa 4w8GI+wMogaPNL1wlMzJSrw= X-Received: by 2002:a17:906:730a:b0:72f:6ce7:8acd with SMTP id di10-20020a170906730a00b0072f6ce78acdmr7574235ejc.233.1658404490767; Thu, 21 Jul 2022 04:54:50 -0700 (PDT) Received: from skbuf ([188.25.231.115]) by smtp.gmail.com with ESMTPSA id g2-20020a170906538200b0072b1bb3cc08sm788567ejo.120.2022.07.21.04.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 04:54:50 -0700 (PDT) Date: Thu, 21 Jul 2022 14:54:47 +0300 From: Vladimir Oltean To: netdev@kapio-technology.com Cc: Ido Schimmel , davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Andrew Lunn , Vivien Didelot , Florian Fainelli , Eric Dumazet , Paolo Abeni , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Shuah Khan , Daniel Borkmann , linux-kernel@vger.kernel.org, bridge@lists.linux-foundation.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v4 net-next 3/6] drivers: net: dsa: add locked fdb entry flag to drivers Message-ID: <20220721115447.cxfiromwtxw4ukv4@skbuf> References: <648ba6718813bf76e7b973150b73f028@kapio-technology.com> <20220717125718.mj7b3j3jmltu6gm5@skbuf> <20220717135951.ho4raw3bzwlgixpb@skbuf> <20220717150821.ehgtbnh6kmcbmx6u@skbuf> <480c7e1e9faa207f37258d8e1b955adc@kapio-technology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <480c7e1e9faa207f37258d8e1b955adc@kapio-technology.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 17, 2022 at 06:10:22PM +0200, netdev@kapio-technology.com wrote: > Okay, I see the problem you refer to. I think that we have to accept some > limitations unless you think that just zeroing the specific port bit in the > DPV would be a better solution, and there wouldn't be caveats with that > besides having to do a FDB search etc to get the correct DPV if I am not too > mistaken. No, honestly I believe that what we should do to improve the limitation is to have proper ATU database separation between one VLAN-unaware bridge and another (i.e. what is now MV88E6XXX_FID_BRIDGED to be one FID per bridge).