Re: [PATCH] net: stmmac: extend use of snps,multicast-filter-bins property to xgmac

From: Yanteng Si
Date: Thu Jun 12 2025 - 05:28:27 EST


在 6/11/25 4:04 AM, Nikunj Kela 写道:
Hash based multicast filtering is an optional feature. Currently,
driver overrides the value of multicast_filter_bins based on the hash
table size. If the feature is not supported, hash table size reads 0
however the value of multicast_filter_bins remains set to default
HASH_TABLE_SIZE which is incorrect. Let's extend the use of the property
snps,multicast-filter-bins to xgmac so it can be set to 0 via devicetree
to indicate multicast filtering is not supported.

Signed-off-by: Nikunj Kela <nikunj.kela@xxxxxxx>
Reviewed-by: Yanteng Si <si.yanteng@xxxxxxxxx>

Thanks,
Yanteng