mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arend van Spriel <arend.vanspriel@broadcom.com>
To: Andre Eikmeyer <dev@deq.rocks>
Cc: linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev,
	brcm80211-dev-list.pdl@broadcom.com,
	linux-kernel@vger.kernel.org,
	Yossef Osman <Yossef.Osman@proton.me>,
	Aditya Garg <aditya.garg@linux.dev>,
	Arend van Spriel <arend.vanspriel@broadcom.com>
Subject: Re: [PATCH wireless v2] wifi: brcmfmac: keep ARP and ND offload off on Apple BCM4355 and BCM4364
Date: Tue, 24 Nov 2026 21:13:31 +0100	[thread overview]
Message-ID: <20261124201331.3492571-1-arend.vanspriel@broadcom.com> (raw)
In-Reply-To: <20261118123933.74517-1-dev@deq.rocks>

On Wed, 18 Nov 2026 13:39:33 +0100, Andre Eikmeyer <dev@deq.rocks> wrote:
> brcmfmac enables the firmware's ARP and IPv6 ND offload (ndoe) whenever
> the interface is up and not promiscuous. On the Apple firmware for the
> BCM4355 and BCM4364, ndoe makes downloads collapse.

[...]

> Fixes: 52f22fb21764 ("brcmfmac: add neighbor discovery offload ip address table configuration")
> Cc: stable@vger.kernel.org
> Closes: https://github.com/t2linux/kernel/issues/34
> Closes: https://github.com/t2linux/T2-Debian-and-Ubuntu-Kernel/issues/227
> Link: https://github.com/t2linux/linux-t2-patches/pull/85
> Tested-by: Yossef Osman <Yossef.Osman@proton.me>
> Tested-by: Aditya Garg <aditya.garg@linux.dev>
> Co-developed-by: Aditya Garg <aditya.garg@linux.dev>
> Signed-off-by: Aditya Garg <aditya.garg@linux.dev>
> Signed-off-by: Andre Eikmeyer <dev@deq.rocks>
> ---
>  .../broadcom/brcm80211/brcmfmac/core.c        | 27 +++++++++++++++++++
>  1 file changed, 27 insertions(+)

[...]

> @@ -103,6 +120,16 @@ void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable)
>  		return;
>  	}
>  
> +	/* With ND offload on while awake, the Apple firmware for the BCM4355
> +	 * and BCM4364 makes IPv6 downloads drop to low rates. macOS runs ARP
> +	 * and ND offload only in sleep, keep both off on these chips.
> +	 */
> +	if (enable && brcmf_is_apple_nd_offload_broken(ifp->drvr)) {
> +		brcmf_dbg(TRACE, "Skip ARP/ND offload enable on Apple BCM%x\n",
> +			  ifp->drvr->bus_if->chip);
> +		enable = false;
> +	}
> +
>  	if (enable)
>  		mode = BRCMF_ARP_OL_AGENT | BRCMF_ARP_OL_PEER_AUTO_REPLY;
>  	else

The comment says IPv6 downloads drop, but according to the commit message
and Blaž's test report IPv4 downloads drop too on the BCM4355. Please
reword the comment to match.

Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>

Regards,
Arend

      parent reply	other threads:[~2026-11-24 20:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-04 15:16 [PATCH] wifi: brcmfmac: keep ARP and ND offload off on the BCM4364 Andre Eikmeyer
2026-11-06 12:06 ` Aditya Garg
2026-11-16 20:37 ` Arend van Spriel
2026-11-18  7:08   ` Aditya Garg
2026-11-18  9:42   ` André Eikmeyer
2026-11-18 12:39 ` [PATCH wireless v2] wifi: brcmfmac: keep ARP and ND offload off on Apple BCM4355 and BCM4364 Andre Eikmeyer
2026-11-18 21:10   ` Blaž Zupan
2026-11-24 20:13   ` Arend van Spriel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261124201331.3492571-1-arend.vanspriel@broadcom.com \
    --to=arend.vanspriel@broadcom.com \
    --cc=Yossef.Osman@proton.me \
    --cc=aditya.garg@linux.dev \
    --cc=brcm80211-dev-list.pdl@broadcom.com \
    --cc=brcm80211@lists.linux.dev \
    --cc=dev@deq.rocks \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®