dpni_get_unicast_promisc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

Okay so this is dpni_get_unicast_promisc(9), and the whole ~vibe~ is: it reads the unicast promiscuous mode setting off a DPNI object. That's it. That's the assignment. She's a getter, she's lowkey iconic for it, and she doesn't need to do anything else πŸŽ€


✨ NAME ✨

dpni_get_unicast_promisc β€” get unicast promiscuous mode πŸ¦‹


🌸 SYNOPSIS 🌸

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

Like, she returns an int, and you hand her four things. Respect the signature, fr fr πŸ’…


🫢 ARGUMENTS 🫢

  • mc_io β€” pointer to the MC portal's I/O object. Bestie, this is your whole portal situation, don't lose it πŸ™ˆ
  • cmd_flags β€” command flags; one or more of 'MC_CMD_FLAG_'. Pick your flags, no cap.
  • token β€” the token of the DPNI object. It's giving "VIP wristband for the specific DPNI" πŸ‘‘
  • en β€” returns '1' if enabled; '0' otherwise. Yes she writes the answer into your pointer, main character energy ⭐

πŸ”₯ RETURN πŸ”₯

Okay so the manpage literally has the RETURN heading and then... nothing. No content. Empty. The way this section is just standing there with no notes πŸ˜­πŸ’€ What I can tell you is that the synopsis shows an int return type β€” that's all the source gives us, and I'm not out here inventing facts. Periodt.


🌈 SEE ALSO 🌈

The kernel file lives at ./drivers/net/ethernet/freescale/dpaa2/dpni.c β€” go say hi, she's got the receipts πŸ“

And now the full squad, in the order the page lists them (I would never rearrange my besties):

πŸ’œ Note that dpni_set_unicast_promisc(9) is right there in the list β€” she's the setter, this page's whole counterpart. Go read her too, iykyk.

🧚 Sign-off 🧚

Sourced from ./drivers/net/ethernet/freesca... (yeah it's truncated in the footer, that's just how it is, don't come for me πŸ™ˆ) and dated October 2026. Stay promiscuous (in the unicast sense only, obviously), slay your getters, and remember: pointers are a love language πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from