dpni_set_unicast_promisc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_set_unicast_promisc(9) β€” from the Kernel API Manual, bestie ✨

Okay so this one's a little function from the Kernel API Manual, and honestly? She's short but she matters. Let's get into it πŸŽ€


🌸 NAME 🌸

dpni_set_unicast_promisc β€” turn unicast promiscuous mode on or off, that's the whole gig πŸ’–


⭐ SYNOPSIS ⭐

int dpni_set_unicast_promisc (struct fsl_mc_io *mc_io , u32 cmd_flags ,
u16 token , int en );

There she is. Four arguments, returns an int, no cap. πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • mc_io β€” pointer to the MC portal's I/O object. Like, this is the doorway to the whole Management Complex situation, iykyk πŸ’…
  • cmd_flags β€” the command flags, and babe, you pass one or more of 'MC_CMD_FLAG_' here πŸ”₯
  • token β€” the token of the DPNI object. That's your little VIP pass to this specific DPNI ✨
  • en β€” set it to '1' to enable, '0' to disable. Binary queen, slay πŸ‘‘

πŸ’€ RETURN πŸ’€

Okay so this section is literally empty in the original β€” no return values documented, no notes, nothing. She's giving mysterious. Not me making stuff up, I would never 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file lives at ./drivers/net/ethernet/freescale/dpaa2/dpni.c β€” go read the source if you want the full lore πŸ“–

And now, the entire friend group, fr fr (no skipping, we love a complete list πŸ“):


Ngl bestie, this page is short but it's important β€” flipping this flag changes how your NIC feels about unicast traffic. Use her responsibly πŸ’œ

Mwah πŸ’‹ signing off β€” this came from ./drivers/net/ethernet/freesca..., dated October 2026, and the page itself is dpni_set_unicast_promisc(9). Iconic. Periodt. πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from