call_switchdev_notifiers(9)
β¨ call_switchdev_notifiers β a kernel API manual, but make it group chat β¨
okay so this is call_switchdev_notifiers(9) from the Kernel API Manual β yes bestie, we're reading kernel docs for fun now, that's just who we are π
πΈ NAME πΈ
call_switchdev_notifiers β the icon that calls notifiers. literally it's right there in the name π
π¦ SYNOPSIS π¦
int call_switchdev_notifiers (unsigned long val , struct net_device *dev
, struct switchdev_notifier_info *info , struct netlink_ext_ack *extack
);
four arguments, one int coming back at you, no cap β¨
π ARGUMENTS π
okay so here's who's who in the group chat π«Ά
valβ the value, and it gets passed unmodified to the notifier function. no editing, no remixing, no "let me just tweak this real quick" β it goes through exactly as given, periodt πdevβ the port device. that's the one πinfoβ the notifier information data. the lore, basically πextackβ netlink extended ack. Call all network notifier blocks. π
π₯ SEE ALSO π₯
go look at the kernel file ./net/switchdev/switchdev.c and also these besties, they all know each other iykyk:
switchdev_deferred_process(9)switchdev_port_attr_set(9)switchdev_port_obj_add(9)switchdev_port_obj_del(9)switchdev_port_obj_act_is_deferred(9)register_switchdev_notifier(9)unregister_switchdev_notifier(9)
ngl if you made it this far you're genuinely kinda iconic ππ
so yeah β that's the page π source and version: ./net/switchdev β dated October 2026, and it lives at call_switchdev_notifiers(9) forever. slay, bye bestie πβ
π¦ 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