Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1077669imi; Fri, 1 Jul 2022 02:33:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tEOXGpqcl+LbpnBLStRBG9HiWK56T9/uYpk0SV0fDN96qeD5Em9jxayC1sWsIXCZ+JUXJy X-Received: by 2002:a63:3409:0:b0:40c:9736:287 with SMTP id b9-20020a633409000000b0040c97360287mr11615201pga.14.1656668033609; Fri, 01 Jul 2022 02:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656668033; cv=none; d=google.com; s=arc-20160816; b=AxmVppk/3pT/8TjbF8oZSGbQuygnWiln9u40Kb1Tip/n+Gc2ymGZpwHTn8kdAtfsH3 ZU6ju3s2D99D+ZV+boC51NZ9zTVH9oVympRqdbIA0/RHx7CPXVpC/9Eb1DuZXjd4DMgh FpfTNMnenbFOMQXXhGarjxQiFBx2Z5HnV76YM3O2ortF3HtwFoM7K2f1IpaJ00HDzyOh xqRXWriKtr12pB5BpnFGlajCeFuq4u9RvrRGm7XPt4oSzK3lc5kqFxsZrykcgJ9Faj9T GXOfKSExO5MvokbtBvFa3bSsTV8A65uZbYo3xzYG100zwIXN20rFLXsRSiKIMdhfSvvu ZH0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=+TU9QJjGh4aLzrmjv55mJOJRzPq7psQE2qlu91bYDk8=; b=kDoz1zugtEjSsZcXDMtg82OZSEDqj0GVezA/QDsRfVGtet9fQj8jnzxHoLpL3tOEDw tnaVq1Wg85TmyYHyg4WnK4YjyAmhjpvDGVNNtXwq8AmRvD9ZaDE+MpCnaAIbmRUYRtVb gERUoVze4b2a107iO1ha0M/ktQvSFsIu2NDBpL8tkwDBV5vv54n8bKvH9hL5usZX3qpm Q0Jo0J2TMk61rh6vXoZ2dlgiLgMJklaBru4xbi8CrfQhOX/98kepxUrWVzjc/t9S22+t c1JLboQYTx3bAnNephEY3RT3bQ8rukiRfJnUO++s0vU8MqL7PJmIOj7ZepI801GH203Z 9caA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=Yay65tv8; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b28-20020a631b1c000000b003db2ab7cae4si612228pgb.688.2022.07.01.02.33.44; Fri, 01 Jul 2022 02:33:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@sipsolutions.net header.s=mail header.b=Yay65tv8; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234458AbiGAJ2B (ORCPT + 66 others); Fri, 1 Jul 2022 05:28:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236739AbiGAJ1t (ORCPT ); Fri, 1 Jul 2022 05:27:49 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 236ACC31 for ; Fri, 1 Jul 2022 02:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=+TU9QJjGh4aLzrmjv55mJOJRzPq7psQE2qlu91bYDk8=; t=1656667641; x=1657877241; b=Yay65tv8m5MgQBtBq4fLpl2umpvwA5yYQvTA5ksST1XTsYs CflsHpRXSKAeZR5Fc2AlihlQ/+zRGrCzypu58jU8ROc9iwtpS0n7d2eloijjkQ20dpOuA/h5tKlrU jfpMMEUkeuIGEWSqLQ+qfhcxiHOe3APNQVihFA8WIos7rcULAwZ/vAW5voG1k1GUElSgbucwR3Oaf TnyJcJijKy1fMfpMzvjsVnquIqUiu7yKATcRXbwGdwhHsRAZNOdbvJRJAjoff8Zu/jqGFq/jPjoW2 VMPH4zCbumNTTR0vl5g0pgBdqOEDjWMD4NvfMrPm88vfHLHXhSkiQA+9YJm1bx5w==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95) (envelope-from ) id 1o7Cvm-003QIV-6E; Fri, 01 Jul 2022 11:27:18 +0200 Message-ID: <9bce16843dcc698740d90d8963a1a55516fb1d39.camel@sipsolutions.net> Subject: Re: [PATCH 0/3] Mesh Fast xmit support From: Johannes Berg To: "Sriram R (QUIC)" , nbd@nbd.name Cc: "linux-wireless@vger.kernel.org" Date: Fri, 01 Jul 2022 11:27:17 +0200 In-Reply-To: References: <1654857639-12346-1-git-send-email-quic_srirrama@quicinc.com> <98e3a2743ab770fbd3f14dca14b62105c8457bf6.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.2 (3.44.2-1.fc36) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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-wireless@vger.kernel.org > =C2=A0=C2=A0Initially it was set it to a default size of 50 when RFC was = sent. > There was a suggestion to > make it configurable where users could configure this cache size > proportional to the required/anticipated network capacity. Oh, right, I missed that this was in the discussion earlier. The question is what are you afraid of? I mean, even setting it to 500 wouldn't be a huge amount of memory use (~50k), and probably mostly sufficient regardless of the network? And if you never see all those nodes, then it wouldn't use all that memory either. Timing out old entries will also keep memory usage down. So are you worried about worst-case behaviour in attacks, e.g. somebody attempting to join the mesh? But then if you're worried about that I guess you have bigger problems (and should be using secure mesh), such as the number of station entries? Or an attacker mutating their Ethernet address behind some gateway? But they still need to convince the station to even want to send traffic there... But even then, setting a much higher limit than 50 should cope with these cases, while giving enough breathing room for the real usage? johannes