From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.208.47 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796301507; b=0lEcQGAS4bciL0sSX5BPzT1k//Zffp61rbGVUMavb+SMdcADRwq3Oie8z2OkKf/1BxJJ QAvJg4wEbOKbs2z6zzDRw7PMF8hXUAA4bLyF7l+rmkZvN/VODYjIyF9c0ALTv6Bm9bL7E ed3FdP3XjOz1ZlT8Xns/709apiuXajgM2OpNGiQ+aXVT1GUsPzu1pQeo7N35SAovQsn8t wjn62dL+udDplD9rTccFhcQlc2DobIWzuaKwUm1yQRKSz3cgdkEZ8Dqp8sD2css+Jw7qI frqLdTymp1kUv0vqCXfpWBU5aEElC1dkEpWit893oEGZsaQoQnLYQqq934RColunD6Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796301507; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=JTfI36G8U6YDKQ6muRzNGfMAKNRdhOHU89STQz8uD/0=; b=uyWvV/TAvbDj2x/SZ82avRMe9JdSgmwHWfgHDX+LytwA7RIamKT4ruBbe8C2VbUsT1Nl gSjEveJlNzuYyndl3KBe3CybDahiDmnXpjSMhq/v8LS5x2RgvQlz6x3pF36haY8bFL15d CxGflgM2cNen3GGXV48FF6QxTjwYSXpwVD7IuzmonWGtgkUNySyrEk67RZA5bC2tiTjwU Y8jKQ1ihyErIKxyaHR0LC+97Crw3HMVcrac90mZMdV1aQmgtVTkpNXwxP10US67KXm7eG ArDnXO51GVCJQXc0DSZ1DSE2WMa3FklNc5AIL7kN6gq4VTzdr+eHCeqI0BB8lx6JfLQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=jqomeRjK; arc=none smtp.remote-ip=209.85.208.47 Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E853D606A32F for ; Thu, 3 Dec 2026 12:38:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E853D606A32F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=jqomeRjK Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-6b87a1a2babso1473427a12.0 for ; Thu, 03 Dec 2026 04:38:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796301505; x=1796906305; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=JTfI36G8U6YDKQ6muRzNGfMAKNRdhOHU89STQz8uD/0=; b=jqomeRjKo/iWUD0BK+MpvNzApLW1XmktgDbQRkgmTFZ5fYLO7R9TPE/AO+K+squH75 XkQ/LFhr1a+/EXSOtfVH46+fRuPjYeYFCVr7sm3wUZfYkFH6NgbuT0kXI2dcVVmdfx4w AycAPlIn/VHGsz6s0rXfzWTACbx3RhkqkoDCtHK1SCjKAa5W2ifCBbb2PlJKViIDd3xm 19/E0GPlqhqv6rthUrPYm2xVAfD2jE9q22fbm1m6DCfoppPOEgxJ8ha0D57qcqABsT4P iE+65Q6m6F+YHh04JEjiGG9dYjdFMG7ukcII/D6xnHHMOtfcqvu4p0JPKl3Ozk9Cm4ny 3j/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796301505; x=1796906305; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=JTfI36G8U6YDKQ6muRzNGfMAKNRdhOHU89STQz8uD/0=; b=bmA5Ni5c5q653pIj7I5PcnkNR9qyzdEAh2xhlgX8pE54K2A66xEvKH/zcg+3Y5Y0Zu LMgGsEyY8YgJekodrsIbnTCp5bZfxMYCebhQ+X6H5ArKU3Zvyu2MH11swq4jxHLf5xzy FfCoJswa/w9Tigc3p1Oh5/awO/7SDOUwinPkH7+pCAUmL3yU58lQFSLGMayeZQwA3ywN WHZhQ231CYEpns+Sq8TYEwAUJ0JEhAF2Imu6uP0umANhTdTt+f9k2scjCXJWiHKeK2ES HcdtmoDEGQDMahDnXyrt74P6OQQoUBgUydZeRvJQOuchh2etVsmAhNURcfzoFBz7gImP utQg== X-Gm-Message-State: APuU4Z++D7VvsDfINUiic2o+ZP1KQV4PcKbMy+MEKHNf1vfCgU1IuN6A tQpPBvbt4qbVoE3aJXPyjirfzSV9U9AUmmoi083tBl++qS7400iQqS1M X-Gm-Gg: AZFdTZf7DxXrapxI4j3D7tCXchttsuWfAFNPXy5L/SLi6V5F94tJQt2IcnVBNGf83Ea e5mHX04Z5s4LtvwP7sRdGH4aJ+6ViA+VhCrBqEDa5Kfgw10Lz3/fJx08LHNSMnaVlR2tmk4SrnK BWO9hQB7cP5JjXajxFc0P317uzXtEqa+KuCjJS+bHA/S1nGxFVufA1zgOy7O3p04kGMsgCYzJHd c2ZVeurhJ9a/3cg6SSwpzsHbVcQH9QW5cNgEOOuYRVcgysg481UH84rWXzUc2GINuuuiJtW1omm RJ62pa2HYACFBQFpy2Il4rjkHQvXN68/x0TiG+8ACTN5qtYNBfxBDE21qJkafL25ILk+doFi5OQ VejeHUcTd6foZIJbP870EGvaBtWJAVh7NLhUe0BkLCS6+TIeZkqT4NoDCBYuCe101DfW3Mx20HK Zs3jJ91U0OFnPwbea1fsRttRgdjgrse6/+Cr2T5D3Fv0yboQdTiyOKJlKiivN/Dl1yb3D97XXYG 0rUvidp28kn8bguVVxwd/mmBj0rjFYWzlYCtgUDHbLYbgxKUtxxFEcqFWxJCCtQ+MXcZPs/YmjK ubCZGttLKOx4YWEG5Cu/nYgtyjMxgwZgW7N02ps/if9lGan9ET2kAOg= X-Received: by 2002:a17:907:6d0b:b0:c42:4f89:13 with SMTP id a640c23a62f3a-c5249083727mr169181266b.15.1796301505158; Thu, 03 Dec 2026 04:38:25 -0800 (PST) Received: from kordpc.lan ([80.248.138.39]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c513ae661b3sm1451411366b.16.2026.12.03.04.38.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 04:38:24 -0800 (PST) From: Kordian Chmielewski To: Florian Fainelli Cc: netdev@vger.kernel.org, Florian Fainelli , Jonas Gorski , Andrew Lunn , Vladimir Oltean , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: Re: [PATCH net] net: dsa: bcm_sf2: raise BCM4908 egress queue flow control thresholds Date: Thu, 3 Dec 2026 13:36:22 +0100 Message-ID: <20261203123622.210685-1-kudzo51@gmail.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <3e8ff762-c936-4197-980d-bb6f98816cf9@broadcom.com> References: <3e8ff762-c936-4197-980d-bb6f98816cf9@broadcom.com> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Florian, >> The router ran OpenWrt with Linux 6.12 and changes that are not in >> mainline: for the WAN port, the 2.5G PHY behind it and the SerDes >> between them, for the Wi-Fi chip, and for bcm4908_enet, among them >> earlier versions of most of its fixes now in net. > > Not sure if we need this paragraph in the commit message, it does and > will respond to Sashiko I presume? It is there so that nobody, Sashiko included, mistakes the numbers above for mainline results: each run needed the WAN port or the Wi-Fi, which only work with those out-of-tree changes. If there is a v2, I can move it below the --- line. > - ideally we should read the amount of pages from the mmu mem sel strap > (128KB = 512 pages, 384KB = 1536 pages) but IIRC 4908 is always going to > be strapped for 384KB In the WAN runs on this board, queue 0 alone went up to 802 pages, more than the 512 of the 128KB setting. > - the total ranges differ from the spec, which lists the defaults to > 0x5C7 but the commit says 1479, probably another 409 specific difference The commit message gives 1423-1527, the range over all eight queues of both pages. On this board, after boot, the total drop threshold on page 0x0B reads 1423 pages for queue 0 and 8 more for each queue after it, up to 1479 (0x5C7) for queue 7. Page 0x0D reads 1471 to 1527 the same way, so 0x5C7 is also the value of queue 1 there. The other fourteen values do differ from 0x5C7, and I cannot tell where that comes from. In any case, the total pause level of 1300 stays below all of them. Thanks for the review. Kordian