dpni_set_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_set_queue β€” from the Kernel API Manual ✨

Okay bestie, gather round, because this one is dpni_set_queue(9) from the Kernel API Manual and she's here to set queue parameters. That's the whole vibe. Let's get into it πŸŽ€


✨ NAME ✨

dpni_set_queue β€” Set queue parameters πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int dpni_set_queue (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token
, enum dpni_queue_type qtype , u8 tc , u8 index , u8 options , const
struct dpni_queue *queue );

She returns an int, she takes eight arguments, and yes the commas are living their own life. We don't judge. πŸ’€


🌸 ARGUMENTS 🌸

  • mc_io β€” pointer to the MC portal's I/O object. Your entry point, your main character portal 🫢
  • cmd_flags β€” command flags; one or more of the 'MC_CMD_FLAG_' values, iykyk
  • token β€” the token of the DPNI object. Gotta have the right token or you're not getting in πŸ‘‘
  • qtype β€” type of queue. All queue types are supported, although the command is ignored for Tx. Not me calling a function just for it to ignore me 😭
  • tc β€” traffic class, in range 0 to NUM_TCS - 1
  • index β€” selects the specific queue out of the set allocated for the same TC. Value must be in range 0 to NUM_QUEUES - 1 ⭐
  • options β€” a combination of DPNI_QUEUE_OPT_ values that control what configuration options are set on the queue. Mix and match, she's flexible πŸ’…
  • queue β€” the queue structure πŸ“

πŸ’€ RETURN πŸ’€

The original page has the heading and then... nothing. Crickets. A whole empty section. Not me refreshing the manpage looking for the return values πŸ™ˆ

So fr fr: no return-value description is given on this page. That's just how it is.


πŸ”₯ SEE ALSO πŸ”₯

Everything she's friends with πŸ’œ β€” and the kernel file itself:

  • ./drivers/net/ethernet/freescale/dpaa2/dpni.c

Then the whole squad, in order:

That's a lot of friends. She's popular. Periodt. 🌈


./drivers/net/ethernet/freesca... October 2026

That's the source path (truncated as shown, bestie β€” that's genuinely how it appears) and the date, October 2026, and that's the footer of dpni_set_queue(9). Go set some queue parameters, you got this πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from