Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp164206imw; Fri, 8 Jul 2022 00:02:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sb1ADpah+XZssqhVrr5URXAdazodloSDzy4I2EAb1jfpnW7Z2F3t4Sz5C67KP80YnaGKEJ X-Received: by 2002:a05:6402:2936:b0:43a:711c:7c9b with SMTP id ee54-20020a056402293600b0043a711c7c9bmr2864579edb.144.1657263748260; Fri, 08 Jul 2022 00:02:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657263748; cv=none; d=google.com; s=arc-20160816; b=rVXs8R5DZgJ3sAtxVUKjWoI8HTeQus7lydzLWPL7oP33WPRKEwhNN/DZZlqTJwk2VY hkVHYJfXSOAsjiHNXfSsFnX1ANAU7fiWRERmgFSE3cy5AemSsUm/FTG7VBGtZvCUfpcE a7w6mViHPA8I/QuSI3c5z1BpEdbkl8jlKIVeFmRKDuKnYTAwZ4cuaFJ32W8fd9c6DHUg f8pfnXCgjqzJVcEVf8X0y6tYqzOAgKZBvsjok0rXpC77+yrzAGjO5rZKPDRT2RUSx/YG ug0Bv0SWHn0OKyUa6aab08MvYjaDJNS65eoFVdW9vZBKHLV/0sxpvU9rsX3nUZTAPXOU vxpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6MNY7diHJ+MnWxKcDHqJkKosV/mr66iz8oydZliBRmQ=; b=dOXUV5eSLwsqo6USt5u/8SSRqJoE5STtogbazS5aDGFfTGc+L/SPMmObsd//h37Tzj 697RLrr2CpzrF7wavMR7LfEON731YYkT0TZsjOPrd2VaBCGNwUfYmhReW1SNGPYuwD1q 2QCXEZ6eb5lih/qKJK7cGhHmpKj8/k8H5CGtRWHx7mgR5TuVW25RHjR9RyHVp5WSfsMy WijZw6AM7VDf9lkDLQdbNRN9N097GQtFtt6d5pmkHoU7yIvHxXG5fSqIGBIZnxLFMlOe bZqhjkzZUWqO6PsT6ZnoKGxcupDBIu7kekXeHuSbiNvKoAenTyabG86h0rRQKBdmG/T3 fIRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Y+HfLILv; 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 go16-20020a1709070d9000b00726429a7f5asi8983255ejc.491.2022.07.08.00.02.00; Fri, 08 Jul 2022 00:02:28 -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=Y+HfLILv; 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 S237300AbiGHGiq (ORCPT + 99 others); Fri, 8 Jul 2022 02:38:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236525AbiGHGio (ORCPT ); Fri, 8 Jul 2022 02:38:44 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D62D51836B; Thu, 7 Jul 2022 23:38:43 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id a5so14500310wrx.12; Thu, 07 Jul 2022 23:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6MNY7diHJ+MnWxKcDHqJkKosV/mr66iz8oydZliBRmQ=; b=Y+HfLILvoGNJKQwKFAtwItKF+nCU+J9436rxhfgzKj8LxGXYwEyhG9L5pC/GGnKcdD OakYQ5yA1HWawR+S2zFE2a6CJG4WW0xpCZKA5ZEAV9jE47k/LUyRUKiGiG3uKwijbCKU NV4KIyrtkEqVcSyMJch5SBJa58tVqjxP7xToKLhCOPnCSfhpg/F4B2xs7hIpHmVkommW Zt5rqJZpPIpwTgHyjxaWFhu27gs5QHkOPa6NnNwBF2l0y4vu0P+y0lmOKc7ZRKyjNWMK XqtyfkLnqIfI219BNbG+a7HAZwfByoQoCrQ64uSG9r8XWGu9IW0ObRyJKSPD5Zg8lGq9 iG2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6MNY7diHJ+MnWxKcDHqJkKosV/mr66iz8oydZliBRmQ=; b=LvAnNhhRwwmE7+KgAmDNl65kp1hvs4McITf6RqhYKf3fN9OfYRLN2sUoZKWSPsStyc eb5WVX/nrQ3uxBfsPNexdU9w7RuV10z0gDQ8v5sshRMrnPHxHy1zOd7bVX9bWkDHR4MC slHKXpduiXEnKzfGZtNPNszGUHFbXDvloTNQHc77yvGxlErt7KxD642iiIyVqbntvr7p ZdLr8vgtJPGXoB/wR6zZA+4n51GdlZ6fuPxzGoPMBDh+4VJASLG8SqkeUT6EXphZRgid nr7w3PvWdB1SPO8AUD/txfYT4oqOvsmVh3NiK1B+GZ2H9fO/yTXjThJJZF+dn15lsFoK Fs/A== X-Gm-Message-State: AJIora8imOKBU0rxa4q0UO/gWMlwmO0VJOJHQCQF5Y83sA5yFb68rIIy 92zxWaWSHaJ1NMKNRdfmBXDTu2+DncIeUJR4aUU= X-Received: by 2002:adf:dc0d:0:b0:21d:ea5:710f with SMTP id t13-20020adfdc0d000000b0021d0ea5710fmr1684518wri.48.1657262322403; Thu, 07 Jul 2022 23:38:42 -0700 (PDT) MIME-Version: 1.0 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> <37d59561-6ce8-6c5f-5d31-5c37a0a3d231@blackwall.org> In-Reply-To: <37d59561-6ce8-6c5f-5d31-5c37a0a3d231@blackwall.org> From: Hans S Date: Fri, 8 Jul 2022 08:38:31 +0200 Message-ID: Subject: Re: [PATCH V3 net-next 1/4] net: bridge: add fdb flag to extent locked port feature To: Nikolay Aleksandrov Cc: Vladimir Oltean , "David S. Miller" , Jakub Kicinski , 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 Content-Type: text/plain; charset="UTF-8" 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,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 Thu, Jul 7, 2022 at 4:08 PM Nikolay Aleksandrov wrote: > > 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). > Sounds good, I will just limit the number of locked entries in the driver as they are not controllable from the bridge. :-)