call_switchdev_notifiers(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:


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