dsa_tree_notify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME

okay so bestie, welcome to dsa_tree_notify(9) from the Kernel API Manual β€” this one is literally about executing code for all switches in a DSA switch tree. slay.

✨ SYNOPSIS

int dsa_tree_notify (struct dsa_switch_tree *dst , unsigned long e ,
       void *v );

πŸ’… ARGUMENTS

  • dst β€” the collection of struct dsa_switch devices you wanna notify. like, the whole squad.
  • e β€” the event, and bestie it must be of type DSA_NOTIFIER_*. no cap.
  • v β€” the event-specific value. it's giving "this one depends on the event," iykyk.

πŸ¦‹ DESCRIPTION

Given a struct dsa_switch_tree, this can be used to run a function once for each member DSA switch. iconic behavior, honestly.

The other alternative for traversing the tree is only through its ports list β€” and that does not uniquely list the switches. so yeah, that's the whole reason this exists. periodt.

🌈 SEE ALSO


xoxo, this cutie came from ./net/dsa, dated October 2026 πŸ’–βœ¨

πŸ“¦ where this page comes from