dpni_get_taildrop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_get_taildrop β€” Kernel API Manual, bestie edition ✨

okay so real talk, this page is from the Kernel API Manual, and it's for dpni_get_taildrop(9). the whole vibe is "just go get the taildrop info, queen," and honestly? she ate. let's get into it πŸŽ€


🌸 NAME 🌸

dpni_get_taildrop β€” Get taildrop information. that's it, that's the whole name section, but it's iconic so we're keeping it πŸ’–


✨ SYNOPSIS ✨

here's the whole signature, and yes you have to type all of it. character for character. no cap:

int dpni_get_taildrop (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , enum dpni_congestion_point cg_point , enum dpni_queue_type qtype
, u8 tc , u8 index , struct dpni_taildrop *taildrop );

like, it's giving "long function signature" energy but she returns an int so we respect her 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

every single one of these matters, so here's the full roster β€” no skipping, we don't do that here:

  • mc_io β€” Pointer to MC portal's I/O object. you need this, it's like the portal to the whole thing, so bring it 🌈
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_' . yes literally one or more, you got options bestie ✨
  • token β€” Token of DPNI object. it's the DPNI's little name tag, lowkey important πŸ’…
  • cg_point β€” Congestion point. which congestion point we're talking about, fr fr 🌸
  • qtype β€” Queue type on which the taildrop is configured. Only Rx queues are supported for now β€” so don't come at her with Tx, she's not ready for that yet πŸ™ˆ
  • tc β€” Traffic class to apply this taildrop to. the specific TC, don't be vague about it πŸŽ€
  • index β€” Index of the queue if the DPNI supports multiple queues for traffic distribution. Ignored if CONGESTION_POINT is not 0 β€” periodt, that's the rule ⭐
  • taildrop β€” Taildrop structure. the actual structure where the info lands, main character behavior honestly πŸ‘‘

πŸ’« RETURN πŸ’«

so bestie… this section is literally blank in the source. like, not me checking twice 😭 no return values are documented here, so I'm not gonna invent any for you. we just vibe with what we've got πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives right here, go look at the real source if you want the tea:

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.c

and now the friend group. the whole entire friend group. seriously, there are so many and they're all slaying in their own way 🧚:

iykyk, that's a lot of cross-references and every last one is here 🫢


heads up bestie: nothing on this page is marked dangerous or deprecated, so you're free to read the taildrop info to your heart's content. but do keep your args straight β€” index gets ignored when CONGESTION_POINT is not 0, and only Rx queues are supported for qtype for now 🌈

and that's the page! πŸŽ€ cute little sign-off for you: the footer source/version line got truncated down to ./drivers/net/ethernet/freesca... and the date on it is October 2026 β€” so yeah, mark your calendar, this manpage is from the future, slay πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from