dwmac1000_va...cast_entries(9)
π dwmac1000_validate_ucast_entries β like, the whole Kernel API Manual page, bestie π
okay so picture this: you're deep in the Kernel API Manual, right, and you bump into dwmac1000_validate_ucast_entries(9). iconic name, honestly. it's giving "i'm the bouncer at the unicast address club" and honestly? it ate. let's get into it β¨
β¨ NAME β¨
dwmac1000_validate_ucast_entries β validate the Unicast address entries. that's it. that's the job. she checks the vibes on your unicast entries and decides if they're valid π
πΈ SYNOPSIS πΈ
int dwmac1000_validate_ucast_entries (struct device *dev , int
ucast_entries );
look at her. returns an int, takes a struct device *dev and an int ucast_entries. simple. clean. main character energy fr fr π¦
π ARGUMENTS π
devβ thestruct deviceof the platform device. like, which device are we even talking about bestie, this is how you tell her πucast_entriesβ the number of Unicast address entries. just a count. a little guy. a number. π
π DESCRIPTION π
okay so here's the tea β β this function validates the number of Unicast address entries supported by a particular Synopsys 10/100/1000 controller. very specific, very particular, she knows what she likes.
and what she likes is this: the Synopsys controller supports 1..32, 64, or 128 Unicast filter entries for its Unicast filter logic. those are the numbers. no cap. π₯
so the function validates that a valid, supported configuration is selected. and if you hand her something unsupported? she doesn't yell, she doesn't ghost you β she just defaults to 1 Unicast address. one. a single solitary entry. the humble beginning. periodt π
ngl bestie, that's the whole safety net: pick a supported number or get quietly dropped back down to 1. not dramatic, just firm. π«Ά
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.cβ the source, go read her π dwmac1000_validate_mcast_bins(9)stmmac_axi_setup(9)stmmac_mtl_setup(9)stmmac_of_get_mdio(9)stmmac_mdio_setup(9)stmmac_of_get_mac_mode(9)stmmac_probe_config_dt(9)devm_stmmac_probe_config_dt(9)stmmac_pltfr_get_irq_array(9)stmmac_pltfr_init(9)stmmac_pltfr_exit(9)stmmac_pltfr_probe(9)devm_stmmac_pltfr_probe(9)stmmac_pltfr_remove(9)
the whole friend group honestly. go say hi to all of them π
aaaand that's the page!! mwah π this little gem came from ./drivers/net/ethernet/stmicro... and it's dated October 2026, so jot that down bestie. stay valid, stay supported, and remember β unsupported configs get defaulted to 1, and that's on periodt πΈπ§ββοΈβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms