dpni_get_qdid(9)
π dpni_get_qdid β from the Kernel API Manual
okay so literally welcome bestie, you've stumbled into dpni_get_qdid(9) and honestly? she's a glow-up of a function. this is a kernel API page, it lives in the Kernel API Manual, and she does exactly one thing but she does it flawlessly.
β¨ NAME β¨
dpni_get_qdid β get the Queuing Destination ID (QDID) that should be used for enqueue operations π―β¨
like, that's it. that's the whole vibe. you want the QDID so you can enqueue stuff? she's got you. π«Ά
πΈ SYNOPSIS πΈ
int dpni_get_qdid (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token ,
enum dpni_queue_type qtype , u16 *qdid );
one function, five arguments, zero drama. copied exactly, no cap. π
π ARGUMENTS π
mc_ioβ Pointer to MC portal's I/O object. this is the portal babe, the connection to the MC, you gotta hand her the I/O object so she knows where to talk. πcmd_flagsβ Command flags; one or more of'MC_CMD_FLAG_'. yes literally one or more, you can stack them, she said go off. π©tokenβ Token of DPNI object. that's your DPNI's little ID badge, she needs to see it before she does anything. π«qtypeβ Type of queue to receive QDID for. which queue are we talking about bestie, tell her the type. π§qdidβ Returned virtual QDID value that should be used as an argument in all enqueue operations. β this is the whole point. she writes the QDID back through this pointer, and then you use that value as an argument in all your enqueue operations. all of them. not some. all. π
π RETURN π
okay so the original page leaves this section literally, completely, totally empty. not me noticing that ππ β no return description is documented here, so I'm not about to make one up. the function returns an int per the synopsis, and that's genuinely all the page gives us. respect the mystery. π΅οΈββοΈ
π¦ SEE ALSO π¦
the kernel file, in all her glory:
- Kernel file
./drivers/net/ethernet/freescale/dpaa2/dpni.c
and then the entire friend group, who all also have pages, in the exact order the original lists them (yes, all of them, I would never do you like that):
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_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_get_api_version(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)
lowkey a whole squad, highkey iconic. read the whole group chat before you touch the QDID, iykyk. π
okay that's the page bestie, go get that Queuing Destination ID π β¨
and for the sign-off: this one came out of the kernel tree at ./drivers/net/ethernet/freesca... and she's dated October 2026 β so yeah, she's from the future and she's still serving. ππ¦πΈ
π¦ 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