dpsw_set_egress_flood(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpsw_set_egress_flood β€” the kernel API manual, bestie edition πŸŽ€

okay so real talk, this one is a kernel manpage, manual section 9 (that's the kernel API girlies ✨), and yes it's literally called dpsw_set_egress_flood. Say that five times fast, I dare you. πŸ™ˆ


✨ NAME ✨

dpsw_set_egress_flood β€” set egress parameters associated with an FDB ID. That's the whole vibe: you're setting the egress flooding config that's tied to an FDB ID. periodt. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int dpsw_set_egress_flood (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , const struct dpsw_egress_flood_cfg *cfg );

like, it returns an int, bestie. keep that in mind (or don't, the RETURN section is gonna be a jump scare 😭).


🌸 ARGUMENTS 🌸

  • mc_io β€” pointer to the MC portal's I/O object. your little doorway into the MC world, no cap 🫢
  • cmd_flags β€” command flags; one or more of MC_CMD_FLAG_ πŸ”₯ (yes, it's one of those arguments)
  • token β€” token of the DPSW object, iykyk πŸ’œ
  • cfg β€” egress flooding configuration. this is the actual payload, the main character energy of the whole call πŸ‘‘

πŸ’€ RETURN πŸ’€

so… this section is literally empty in the original. nothing. not a single word. the void. the silence. 🫠

I'm not gonna make up a return value for you because that would be lying to my bestie β€” the page gives you an int in the synopsis and then says nothing else. iconic behaviour, honestly. not me defending it. 😭


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpsw.c β€” that's the source, and here's the whole friend group, every single one of them, no skipping:


okay that's the whole page, bestie πŸ’– one last thing though β€” the footer said the source/version is ./drivers/net/ethernet/freesca... (yes, it's cut off like that in the original, don't come for me 🫠) and the date is October 2026, so… from the future, with love. πŸ¦‹βœ¨ bye bestie, go forth and flood some egress πŸ’…

πŸ“¦ where this page comes from