# Re: \[PATCH net 4/6\] net: stmmac: dwxgmac: Account for the primary MAC address for UC filtering

- From: Andrew Lunn \<andrew@lunn.ch\>
- Date: 2026-08-26 18:21:32 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/08/17466154
- Thread: https://ratatoskr.run/netdev/2026/08/17464948/t.md

```text
On Wed, Aug 26, 2026 at 04:04:56PM +0200, Maxime Chevallier wrote:
> The same filter slots are used to store the main MAC address as well as
> the address for the unicast filter. Let's account for that when deciding
> whether or not to use promisc when programming the UC list in hardware.
> 
> Fixes: 0efedbf11f07 ("net: stmmac: xgmac: Fix XGMAC selftests")
> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
```
