dpni_get_api_version(9)
π 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 theu16where the major number gets dropped. πminor_verβ Minor version of data path network interface API. Same situation, but theu16for 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:
dpni_prepare_key_cfg(9)dpni_open(9)dpni_close(9)dpni_set_pools(9)dpni_enable(9)dpni_disable(9)dpni_is_enabled(9)dpni_reset(9)dpni_set_irq_enable(9)dpni_get_irq_enable(9)dpni_set_irq_mask(9)dpni_get_irq_mask(9)dpni_get_irq_status(9)dpni_clear_irq_status(9)dpni_get_attributes(9)dpni_set_errors_behavior(9)dpni_get_buffer_layout(9)dpni_set_buffer_layout(9)dpni_set_offload(9)dpni_get_qdid(9)dpni_get_tx_data_offset(9)dpni_set_link_cfg(9)dpni_get_link_cfg(9)dpni_get_link_state(9)dpni_set_max_frame_length(9)dpni_get_max_frame_length(9)dpni_set_multicast_promisc(9)dpni_get_multicast_promisc(9)dpni_set_unicast_promisc(9)dpni_get_unicast_promisc(9)dpni_set_primary_mac_addr(9)dpni_get_primary_mac_addr(9)dpni_get_port_mac_addr(9)dpni_enable_vlan_filter(9)dpni_add_vlan_id(9)dpni_remove_vlan_id(9)dpni_add_mac_addr(9)dpni_remove_mac_addr(9)dpni_clear_mac_filters(9)dpni_set_rx_tc_dist(9)dpni_set_congestion_notification(9)dpni_set_queue(9)dpni_get_queue(9)dpni_get_statistics(9)dpni_set_taildrop(9)dpni_get_taildrop(9)dpni_set_rx_fs_dist(9)dpni_set_rx_hash_dist(9)dpni_add_fs_entry(9)dpni_remove_fs_entry(9)dpni_set_qos_table(9)dpni_add_qos_entry(9)dpni_remove_qos_entry(9)dpni_clear_qos_table(9)dpni_set_tx_shaping(9)dpni_get_single_step_cfg(9)dpni_set_single_step_cfg(9)
π‘ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms