dpni_set_qos_table(9)
β¨ dpni_set_qos_table π
Okay bestie, welcome to the dpni_set_qos_table(9) glow-up, live from the Kernel API Manual β¨ This one's a kernel function, so grab your matcha and let's get into it π
πΈ NAME πΈ
dpni_set_qos_table β the function that sets the QoS mapping table, periodt π
It's giving "I configure quality-of-service and I'm the main character" energy fr fr.
π SYNOPSIS π
int dpni_set_qos_table (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , const struct dpni_qos_tbl_cfg *cfg );
Like, it returns an int, bestie. That's the vibe check on the return type π
π¦ ARGUMENTS π¦
Every arg matters, no cap:
mc_ioβ pointer to the MC portal's I/O object π«Ά literally the portal handle, don't lose itcmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'π you can stack them, iykyktokenβ token of the DPNI object ποΈ it's the DPNI's little identity token, iconiccfgβ QoS table configuration π§ the actual config you're pushing in, main character energy
π DESCRIPTION π
So this function β and like, all the QoS-related functions β require that... hmm, bestie, I'm gonna be honest, the source page just says they "require that" and then dips π but here's the important part:
β οΈ WARNING: Before calling this function, calldpkg_prepare_key_cfgto prepare thekey_cfg_iovaparameter π«Ά do NOT skip this step, I'm begging you, prepare your key_cfg first or it's gonna be a mess fr fr
Like, seriously, prep the key_cfg_iova first. That's the whole warning. Don't come at me if you skip it π
π RETURN π
Real talk? The original page's RETURN section is... empty bestie. It's giving nothing. Blank. Void. The way that the manpage just has a RETURN heading and then β¨ silence β¨ π so there's no documented return value info to pass along here β not me staring at an empty section π
π SEE ALSO π
Okay so there is a LOT of friends in this list and I'm not gonna leave a single one out, we don't do that here π«Ά all the DPNI besties:
Kernel file: ./drivers/net/ethernet/freescale/dpaa2/dpni.c π¦
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_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_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)
Like, that's the whole squad, ate and left no crumbs π
~ cute little sign-off ~ π
This slay of a page comes from the Kernel API Manual (the dpni_set_qos_table(9) page, dated October 2026), sourced from ./drivers/net/ethernet/freesca... (it got cut off in the footer bestie, not my fault π). Anyway, go prep your key_cfg and set that QoS table β 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