bond_3ad_update_lacp_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bond_3ad_update_lacp_rate(9) β€” from the Kernel API Manual πŸŽ€

okay so first things first, bestie: the manual name is bond_3ad_update_lacp_rate(9) and it lives in the Kernel API Manual β€” that's the vibe. this is a kernel function page, section 9, and it's all about changing the LACP rate. let's get into it ✨


✨ NAME ✨

bond_3ad_update_lacp_rate β€” literally just "change the lacp rate" πŸ’« no cap, that's the whole job.


πŸ¦‹ SYNOPSIS πŸ¦‹

void bond_3ad_update_lacp_rate (struct bonding *bond );

it returns void (so, nothing, she gives nothing back and that's iconic), and it takes exactly one argument. periodt.


🌸 ARGUMENTS 🌸

  • bond β€” the bonding struct 🫢 that's it, that's the parameter. it's your struct bonding * and she's the main character of this whole function.

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” when you modify the lacp_rate parameter via sysfs, this function goes in and updates actor_oper_port_state of each port. every single one. she's thorough like that πŸ’…

and the important bit, do not skip this: it holds bond->mode_lock, so we can modify port->actor_oper_port_state β€” no matter whether bond is up or down. up? down? doesn't matter, the lock's got it covered πŸ”₯

bestie pls note: the bond->mode_lock hold is the whole reason this is safe regardless of the bond's up/down state, so don't go thinking you can skip it πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

all the sibling functions, in the order the page gives them β€” Kernel file ./drivers/net/bonding/bond_3ad.c:

like, that's the whole 3ad friend group and they all showed up to the party 🌈


🧚 sign-off 🧚

this lil page came from ./drivers/net/bonding (that's the source, bestie πŸ“) and it's dated October 2026 β€” so mark your calendars, she's from the future ⭐ anyway ily, go hold that mode_lock πŸ’œπŸŽ€

πŸ“¦ where this page comes from