dpni_close(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_close(9) β€” like, the Kernel API Manual page you've been waiting for πŸŽ€

okay bestie, sit down, hydrate, and let me introduce you to dpni_close from the Kernel API Manual. yes it's a kernel function, yes it's from the (9) section, no it's not scary, i promise. this is the girlypop that hangs up the phone on your DPNI object πŸ’–


✨ NAME ✨

dpni_close β€” closes the control session of the object. that's it. that's the whole vibe. she's the "ok bye" of the DPNI world 🫢


🌸 SYNOPSIS 🌸

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

look at her. three arguments, returns an int, absolute main character energy πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mc_io β€” a pointer to the MC portal's I/O object. like, the doorway she walks out of πŸšͺ
  • cmd_flags β€” the command flags, bestie! this is one or more of 'MC_CMD_FLAG_' (yes, with the quotes and the trailing underscore, that's literally how it's written, no cap)
  • token β€” the token of the DPNI object. her little ID bracelet so the kernel knows exactly which object is getting the goodbye πŸ’…

🌈 DESCRIPTION 🌈

okay so here's the tea πŸ“ after this function gets called, no further operations are allowed on the object unless you open a brand-new control session. like, she's gone. doors closed. lights off. you cannot just text her again without a whole new conversation, iykyk 😭

so like, be sure you're done with your DPNI object before you call this, because this is a real "session over" moment, not a "brb" moment. no further operations, fr fr πŸ’€


⭐ RETURN ⭐

the original page leaves this section, like, completely empty 😭 nothing, nada, blank. so i'm not gonna invent a return value for you β€” that's not my job, that would be lying, and we don't do that here. just know the section exists and it's giving mysterious silence πŸŽ€


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file, right here, go look at the source bestie: ./drivers/net/ethernet/freescale/dpaa2/dpni.c

and then the whole squad, in exactly this order, no skipping, we love a complete list 🫢


🧚 quick vibe check: dpni_close is a closer, so it pairs iconically with dpni_open(9). open the session, do your little tasks, then close it. the circle of life, kernel edition πŸ’œ

and that's the page, bestie!! before you go β€” the little footer at the bottom of the original says the source file is ./drivers/net/ethernet/freesca... and the date is October 2026. so yeah, October 2026, cut off path and all, we keep it exactly as it is πŸ’– slay, go close some sessions responsibly πŸŽ€βœ¨

πŸ“¦ where this page comes from