dpni_set_tx_shaping(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_set_tx_shaping β€” the Kernel API Manual page your fave netdev bestie wrote for you

Hiii so this is a page from the Kernel API Manual, and it's all about dpni_set_tx_shaping(9) β€” like, setting the transmit shaping on a DPNI object. Yes queen, we're doing traffic shaping today. πŸŽ€


✨ NAME ✨

dpni_set_tx_shaping β€” Set the transmit shaping 🌸


πŸ”₯ SYNOPSIS πŸ”₯

int dpni_set_tx_shaping (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , const struct dpni_tx_shaping_cfg *tx_cr_shaper , const struct
dpni_tx_shaping_cfg *tx_er_shaper , int coupled );

It returns an int, bestie. That's the whole vibe. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

Okay so here's the roster, and every single one of them matters:

  • mc_io β€” Pointer to MC portal's I/O object. Like, the portal. The I/O object. You know the one. ✨
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'. Lowkey just pick your flags and go.
  • token β€” Token of DPNI object. It's giving "your ticket to the DPNI show". 🎟️
  • tx_cr_shaper β€” TX committed rate shaping configuration. The committed one. The main character one. πŸ‘‘
  • tx_er_shaper β€” TX excess rate shaping configuration. The excess one, also invited to the party.
  • coupled β€” Committed and excess rate shapers are coupled. They're linked. They're a package deal. iykyk πŸ’œ

πŸ’€ RETURN πŸ’€

Not meβ€” the original page literally leaves this section empty. No return values listed. Nothing. Nada. The void. πŸ™ˆ So that's exactly what you get here too: nothing. I refuse to make up facts, bestie. Not today. βœ‹


🌈 SEE ALSO 🌈

First up, the source of truth herself:

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

And now the entire friend group β€” every one of these, no skipping, periodt:

Slay. That's 55 cross-references and I did not drop a single one. πŸ’…


Go shape that transmit traffic, bestie. Committed rate, excess rate, coupled or not β€” you've got the whole toolkit. ✨

Sign-off time πŸŽ€ this page came from ./drivers/net/ethernet/freesca... (yes, that's literally how the footer truncates it, don't come for me) and it's dated October 2026. Mwah, love you, bye! πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from