dpni_set_queue(9)
π dpni_set_queue β from the Kernel API Manual β¨
Okay bestie, gather round, because this one is dpni_set_queue(9) from the Kernel API Manual and she's here to set queue parameters. That's the whole vibe. Let's get into it π
β¨ NAME β¨
dpni_set_queue β Set queue parameters π
π¦ SYNOPSIS π¦
int dpni_set_queue (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token
, enum dpni_queue_type qtype , u8 tc , u8 index , u8 options , const
struct dpni_queue *queue );
She returns an int, she takes eight arguments, and yes the commas are living their own life. We don't judge. π
πΈ ARGUMENTS πΈ
mc_ioβ pointer to the MC portal's I/O object. Your entry point, your main character portal π«Άcmd_flagsβ command flags; one or more of the'MC_CMD_FLAG_'values, iykyktokenβ the token of the DPNI object. Gotta have the right token or you're not getting in πqtypeβ type of queue. All queue types are supported, although the command is ignored for Tx. Not me calling a function just for it to ignore me πtcβ traffic class, in range0toNUM_TCS - 1indexβ selects the specific queue out of the set allocated for the same TC. Value must be in range0toNUM_QUEUES - 1βoptionsβ a combination ofDPNI_QUEUE_OPT_values that control what configuration options are set on the queue. Mix and match, she's flexible πqueueβ the queue structure π
π RETURN π
The original page has the heading and then... nothing. Crickets. A whole empty section. Not me refreshing the manpage looking for the return values π
So fr fr: no return-value description is given on this page. That's just how it is.
π₯ SEE ALSO π₯
Everything she's friends with π β and the kernel file itself:
./drivers/net/ethernet/freescale/dpaa2/dpni.c
Then the whole squad, in order:
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_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)
That's a lot of friends. She's popular. Periodt. π
./drivers/net/ethernet/freesca... October 2026
That's the source path (truncated as shown, bestie β that's genuinely how it appears) and the date, October 2026, and that's the footer of dpni_set_queue(9). Go set some queue parameters, you got this πβ¨π
π¦ 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