ad_port_selection_logic(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ad_port_selection_logic(9) ✨

okay so welcome to the Kernel API Manual, bestie πŸ’– this page is all about ad_port_selection_logic and honestly it's giving "the friend who does the group project seating chart" energy β€” it literally picks the aggregation groups 🫢


πŸŽ€ NAME

ad_port_selection_logic β€” select aggregation groups πŸ’…


πŸ¦‹ SYNOPSIS

void ad_port_selection_logic (struct port *port , bool *update_slave_arr );

bestie it returns nothing (void), it just does the thing and mutates stuff in place, periodt ✨


🌸 ARGUMENTS

  • port β€” the port we're looking at πŸ‘€ like, this one, the one in front of you.
  • update_slave_arr β€” a bool * that answers the question: "Does slave array need update?" πŸ™ˆ so yes, it's the little flag that tells everyone whether the slave array needs updating.

πŸ’œ DESCRIPTION

So here's the vibe: this function selects aggregation groups, and then assigns each port to its aggregator πŸ’… that's the whole job, no cap.

When does the selection logic get called? Two moments, ikyk:

  • during initialization β€” specifically after all the handshakes 🀝 (yes, all of them, don't skip them)
  • after every lacpdu receive β€” but only if selected is off πŸ”₯

that's it, that's the function, iconic behavior honestly πŸ‘‘


🌈 SEE ALSO

Kernel file ./drivers/net/bonding/bond_3ad.c β€” and like, the entire extended universe of related functions, buckle up bestie 😭


ngl the whole bonding crew lives under ./drivers/net/bonding and they're all main characters 🧚

and that's the page, babes πŸ’– this came out of ./drivers/net/bonding, dated October 2026 β€” slay, go read some kernel source, ily, bye πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from