dpni_get_api_version(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dpni_get_api_version(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual 🌸 β€” yes we're in the kernel docs now, and yes this one is genuinely useful, no cap. This page is literally just dpni_get_api_version(9), and it does exactly what it says on the tin: it goes and asks for the Data Path Network Interface API version. That's it. That's the whole vibe check. ✨

Think of it as sliding into the DPNI's DMs and being like "hey bestie, what version are we on" and it tells you, like the icon it is. πŸ‘‘


✨ NAME ✨

dpni_get_api_version β€” Get Data Path Network Interface API version πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

int dpni_get_api_version (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
       *major_ver , u16 *minor_ver );

πŸ’… ARGUMENTS πŸ’…

  • mc_io β€” Pointer to MC portal's I/O object. This is the portal handle you're working through, bestie β€” it's giving "your main character connector" 🫢
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'. Pick your flags, stack 'em however the flags allow, and slay. πŸ”₯
  • major_ver β€” Major version of data path network interface API. It's a pointer to the u16 where the major number gets dropped. πŸ“Œ
  • minor_ver β€” Minor version of data path network interface API. Same situation, but the u16 for the minor number. πŸ“Œ

πŸ’€ RETURN πŸ’€

Not gonna lie, the original page is literally empty here β€” no return value description, nothing, a whole void. 😭 So I'm not gonna sit here and invent one for you (that would be lying, and lying is not the vibe). The page says nothing, so we say nothing. The section stays because it's part of the classic manpage lineup, periodt. ✨


🌈 SEE ALSO 🌈

okay first, the source of truth, the actual file for this one:

  • Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.c πŸ“‚

and now the whole friend group πŸ’œ β€” every single one of these is on the list, so here they all are, in order, no skipping, we don't do that here:


πŸ’‘ friendly reminder: this page only covers grabbing the version. Every actual do-something call lives in that big ol' list above β€” that's your reading list, bestie, go off. 🧚

🌸 that's the whole page, you ate it up 🌸

and before you go β€” cute little sign-off moment πŸŽ€: this one comes from ./drivers/net/ethernet/freesca... (yep, the source path in the footer is literally truncated like that in the original, we don't edit it, we respect it πŸ™ˆ) and it's dated October 2026. mwah, bye bestie πŸ’œπŸ¦‹

πŸ“¦ where this page comes from