Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3757375imw; Thu, 7 Jul 2022 07:10:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vyfz54Xn1/s4rcyTgnstQ+XvQjqwuwOkzzqPchejiPD5BhYZdTnEtQ8OKKEZMpgET3l6Tc X-Received: by 2002:a17:902:d2c8:b0:16c:58d:7278 with SMTP id n8-20020a170902d2c800b0016c058d7278mr7802973plc.45.1657203017317; Thu, 07 Jul 2022 07:10:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657203017; cv=none; d=google.com; s=arc-20160816; b=d9VGPcGtJIzMQGaR24jMIdTI8X/ayCw7Fqu6Y0iMPqC3KlUefXuWnSCtqG31lX83AU aifQp+bFHAeT3Ws4Xjr/LRwfMK9miGW+zozIXStCfgDax6NPqY2uRTSB45d8JJ//X/Y6 tzOFah8kk6q0XFgDocsQm5qxDW7APCYictnSU6AUxkeR3r3lCIp9a/xy/GckRsSunAvX 2JjI0Iy/bLcyn3ES/Zui8mjXG8RuUIq2aWem1ubA4W0rR2okv3UseomBpOYB2nqLuLGj 9ZkJ7DKXXnz1Tkj3sAP+HZNVC4nTvKIiZ+9wZeQQTFFzLzLFXtn1h8Hqcko1MwLl7urs OMOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=6rY/dl2MwiNlzvD+cvp/Yehm/zk9+xvHGZcTY6Q3tHo=; b=L7vPyakuInIa90/+fzMonXbNZAxDJefZA+Zv7cIXUNqf9uCDwLDU2fr+zTD6bi9OZ9 X8w4cHnOBYQBIjNwuj8vO/ewl+sW+6caT4RqKWbFZuiIqnS/wsKF4q54r5YycBRjq6Zz AZKftShlqwEqMTveJXoaHlL2zAGhxyK1POjL1HUnaVuftIpGKPbY4Ier76ZSRxI8C/xx cpMHtYxa9YObSVPhF/CuTa1e2O92SOcGinsfwDf8f/aGebv4gevD7NI/7b6+GWdndh65 VRZ4voPvRmPke1vD8krd8vWbb0thZo5ULUGcqbjYZnfDJI+ZmjboRUx5WxrCPmDovkCP qdAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@blackwall-org.20210112.gappssmtp.com header.s=20210112 header.b=t2gX55YR; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r131-20020a632b89000000b00410702fee9dsi42528683pgr.346.2022.07.07.07.10.01; Thu, 07 Jul 2022 07:10:17 -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=@blackwall-org.20210112.gappssmtp.com header.s=20210112 header.b=t2gX55YR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234585AbiGGOIW (ORCPT + 99 others); Thu, 7 Jul 2022 10:08:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231579AbiGGOIV (ORCPT ); Thu, 7 Jul 2022 10:08:21 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90A322A278 for ; Thu, 7 Jul 2022 07:08:19 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id j22so6383288ejs.2 for ; Thu, 07 Jul 2022 07:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackwall-org.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=6rY/dl2MwiNlzvD+cvp/Yehm/zk9+xvHGZcTY6Q3tHo=; b=t2gX55YR3zd30kvhnujoohIF5s3d5CO/xyZejpLQSF+S5o/KrNLttMvJGTX1oeAjn9 vUCeZ3TJi/rcNK7qQ1Ct4cYa2MdcUQ5w3TAQWCzbegoVLC9jJUqhZsuk6UC9qRFYK0Jq 4Pa/LZd9tsDU9Smmw84BbYJ60cIMADLrUl16WWi4ggOr+WMPbloLywj0iIASQzgtvL+W twSlbGH2fS+itudRcqd43RuWsrM5v+Zi/wuYlFYG7umyfM8/7pMf2mkdyeF2eMljZLjd 3h+JBbNnjz573UvruSiquB6tfr6VgxiQdqKw/qQLBOn3YYt16vK+C8JF0HVcIuu7SsYb Tvuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=6rY/dl2MwiNlzvD+cvp/Yehm/zk9+xvHGZcTY6Q3tHo=; b=fDeoASGToHvEnkbTFMHtObRnq33ZV5ZHGIJDvjahfXUHY2oqo13juMn/ssF1nVJsbF S6XOZTh8nMqBeODcJgdmJV1X40knj2ygaNCNzauMSzpuFHh8F+VRbcV1Q0f6GNvF+YNR 0TxkDnh3njj8Vn/7Y26XImStiyDj7rY5OMcGSbejaEPn1H8ruWi6Gr6WiVwVEuu5Uckj 0vfCWsrJzSNiubW2fe0XZ7tSUEZGK+T/x+U9P0BiXev8M/oWXqjWPFcQFe0SPmVnh2Wu ZwX8fVVS8ij+mO2IymWKYx3rPnbXq8Rosioeg/Ht/Ld6n7dj6qcqZrG9zQXfAVSPQc7G xyVA== X-Gm-Message-State: AJIora/4ix29U2cGXImWRFfrJsbIxYoqHpHVf6/cz0TC205OW2of8aWh Oem4RIeqll8+2dHZyINT13uOPw== X-Received: by 2002:a17:906:a3ca:b0:726:2bd2:87bc with SMTP id ca10-20020a170906a3ca00b007262bd287bcmr44834471ejb.226.1657202898091; Thu, 07 Jul 2022 07:08:18 -0700 (PDT) Received: from [192.168.0.111] (87-243-81-1.ip.btc-net.bg. [87.243.81.1]) by smtp.gmail.com with ESMTPSA id d11-20020a170906304b00b0072abb95c9f4sm6590052ejd.193.2022.07.07.07.08.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Jul 2022 07:08:17 -0700 (PDT) Message-ID: <37d59561-6ce8-6c5f-5d31-5c37a0a3d231@blackwall.org> Date: Thu, 7 Jul 2022 17:08:15 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH V3 net-next 1/4] net: bridge: add fdb flag to extent locked port feature Content-Language: en-US From: Nikolay Aleksandrov To: Vladimir Oltean Cc: Hans Schultz , 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 , Shuah Khan , Daniel Borkmann , Ido Schimmel , linux-kernel@vger.kernel.org, bridge@lists.linux-foundation.org, linux-kselftest@vger.kernel.org References: <20220524152144.40527-2-schultz.hans+netdev@gmail.com> <01e6e35c-f5c9-9776-1263-058f84014ed9@blackwall.org> <86zgj6oqa9.fsf@gmail.com> <86fskyggdo.fsf@gmail.com> <040a1551-2a9f-18d0-9987-f196bb429c1b@blackwall.org> <86v8tu7za3.fsf@gmail.com> <4bf1c80d-0f18-f444-3005-59a45797bcfd@blackwall.org> <20220706181316.r5l5rzjysxow2j7l@skbuf> <7cf30a3e-a562-d582-4391-072a2c98ab05@blackwall.org> <20220706202130.ehzxnnqnduaq3rmt@skbuf> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 07/07/2022 00:01, Nikolay Aleksandrov wrote: > On 06/07/2022 23:21, Vladimir Oltean wrote: >> On Wed, Jul 06, 2022 at 10:38:04PM +0300, Nikolay Aleksandrov wrote: [snip] > I already said it's ok to add hard configurable limits if they're done properly performance-wise. > Any distribution can choose to set some default limits after the option exists. > Just fyi, and to avoid duplicate efforts, I already have patches for global and per-port software fdb limits that I'll polish and submit soon (depending on time availability, of course). If I find more time I might add per-vlan limits as well to the set. They use embedded netlink attributes to config and dump, so we can easily extend them later (e.g. different action on limit hit, limit statistics etc).