dpsw_lag_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpsw_lag_set β€” like, the Kernel API Manual one, bestie

okay so picture this: you're deep in kernel-land, you got a DPSW object, and you wanna configure its LAG. That's it. That's the function. Let me introduce you 🫢


✨ NAME ✨

dpsw_lag_set β€” sets the LAG configuration. Slay, that's literally the whole job πŸ’–


🌸 SYNOPSIS 🌸

int dpsw_lag_set (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token ,
const struct dpsw_lag_cfg *cfg );

She takes four things and hands you back an int. Iconic signature, no notes πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mc_io β€” pointer to the MC portal's I/O object. Yes, that's your portal. Gotta have it πŸ’«
  • cmd_flags β€” the command flags, bestie; it's one or more of 'MC_CMD_FLAG_'. Pick your faves 🌈
  • token β€” the token of the DPSW object, iykyk. Gotta know which switch you're talking to πŸŽ€
  • cfg β€” pointer to the LAG configuration. This is the actual vibe you're setting, so get it right πŸ™ˆ

🌈 RETURN 🌈

ngl, the page just... doesn't list any return values here. That's not me being lazy, that's genuinely how it is β€” the section is there and it's empty. Respect the mystery πŸ’€βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

Okay this is the part where she name-drops literally everyone at the party. The kernel file is ./drivers/net/ethernet/freescale/dpaa2/dpsw.c, and here's the whole friend group, no cap:

That's the whole squad, everyone showed up πŸ”₯


lowkey a whole ecosystem in here β€” like, dpsw_lag_set is one little function but the family is HUGE and they all live in ./drivers/net/ethernet/freescale/dpaa2/dpsw.c 🧚

mwah, that's the page! πŸ’œ Coming at you from the source ./drivers/net/ethernet/freesca... (you know the rest, she's long), dated October 2026, and yes this is dpsw_lag_set(9) signing off β€” stay configured, bestie πŸŽ€πŸ’…βœ¨

πŸ“¦ where this page comes from