Commit 94a8e4a8 authored by Nikunj Kela's avatar Nikunj Kela Committed by Jakub Kicinski
Browse files

net: stmmac: extend use of snps,multicast-filter-bins property to xgmac



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: default avatarNikunj Kela <nikunj.kela@sima.ai>
Reviewed-by: default avatarYanteng Si <si.yanteng@linux.dev>
Link: https://patch.msgid.link/20250610200411.3751943-1-nikunj.kela@sima.ai


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 8e16170a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment