dpni_set_con...notification(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_set_con...notification(9) β€” like, the Kernel API Manual page, but make it make sense πŸŽ€

okay bestie, so this is a page from the Kernel API Manual and honestly the title got cut off mid-word (dpni_set_con...notification β€” the manpage gremlins ate the middle, iykyk 😭), but the whole thing is about dpni_set_congestion_notification and it's lowkey iconic once you actually read it. Let's go ✨


🌸 NAME 🌸

dpni_set_congestion_notification β€” sets up the traffic class congestion notification configuration. That's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

okay so here's the signature, and yes you're gonna want to read it slowly because it's long, no cap:

int dpni_set_congestion_notification(struct fsl_mc_io *mc_io, u32 cmd_flags,
                                     u16 token, enum dpni_queue_type qtype,
                                     u8 tc_id,
                                     const struct dpni_congestion_notification_cfg *cfg);

she takes six arguments and returns an int. main character energy, honestly πŸ‘‘


🫢 ARGUMENTS 🫢

every single one of them, bestie, in order, no skips:

  • mc_io β€” pointer to the MC portal's I/O object. like, the actual doorway you're talking through πŸšͺ
  • cmd_flags β€” command flags; one or more of 'MC_CMD_FLAG_' (yes, it's written with that trailing underscore in the manual, don't come for me πŸ’€)
  • token β€” the token of the DPNI object. your little VIP pass 🎟️
  • qtype β€” the type of queue. Rx, Tx and Tx confirm types are supported. that's the whole list, periodt.
  • tc_id β€” traffic class selection, and the range is 0-7. only eight options, so choose wisely bb πŸ’–
  • cfg β€” the congestion notification configuration itself. this is the actual payload of the whole operation, the moment, the reason we're all here 🌟

πŸ”₯ RETURN πŸ”₯

so… the original page has a RETURN heading and then literally nothing under it. like, not a single value, not a sentence, nothing. it's giving blank notes app entry πŸ™ˆ so I can't tell you what it returns beyond the int in the synopsis β€” the page just doesn't say. respect the silence, I guess 😭


πŸ’œ SEE ALSO πŸ’œ

okay this list is long long, and you know what? we're keeping every single one, because they're all part of the family:

like, that's the friend group. every last one of them πŸ«ΆπŸ’–


ngl bestie, tc_id only goes 0-7 and yes that's a real constraint from the page, not me being dramatic for once πŸ’…

okay that's the whole page, and for the sign-off: this diva lives in ./drivers/net/ethernet/freesca... (the footer truncates the path just like the title, the drama never ends 😭), stamped October 2026, and it waves at you from the top and bottom of the page as dpni_set_con...notification(9). slay, goodbye, go configure your congestion notifications responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from