dpni_set_con...notification(9)
π dpni_set_con...notification(9) β like, the Kernel API Manual page, but make it make sense π
okay bestie, so this is a page from the Kernel API Manual and honestly the title got cut off mid-word (dpni_set_con...notification β the manpage gremlins ate the middle, iykyk π), but the whole thing is about dpni_set_congestion_notification and it's lowkey iconic once you actually read it. Let's go β¨
πΈ NAME πΈ
dpni_set_congestion_notification β sets up the traffic class congestion notification configuration. That's the whole vibe. π¦
β¨ SYNOPSIS β¨
okay so here's the signature, and yes you're gonna want to read it slowly because it's long, no cap:
int dpni_set_congestion_notification(struct fsl_mc_io *mc_io, u32 cmd_flags,
u16 token, enum dpni_queue_type qtype,
u8 tc_id,
const struct dpni_congestion_notification_cfg *cfg);
she takes six arguments and returns an int. main character energy, honestly π
π«Ά ARGUMENTS π«Ά
every single one of them, bestie, in order, no skips:
mc_ioβ pointer to the MC portal's I/O object. like, the actual doorway you're talking through πͺcmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'(yes, it's written with that trailing underscore in the manual, don't come for me π)tokenβ the token of the DPNI object. your little VIP pass ποΈqtypeβ the type of queue. Rx, Tx and Tx confirm types are supported. that's the whole list, periodt.tc_idβ traffic class selection, and the range is0-7. only eight options, so choose wisely bb πcfgβ the congestion notification configuration itself. this is the actual payload of the whole operation, the moment, the reason we're all here π
π₯ RETURN π₯
soβ¦ the original page has a RETURN heading and then literally nothing under it. like, not a single value, not a sentence, nothing. it's giving blank notes app entry π so I can't tell you what it returns beyond the int in the synopsis β the page just doesn't say. respect the silence, I guess π
π SEE ALSO π
okay this list is long long, and you know what? we're keeping every single one, because they're all part of the family:
- the 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_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)
like, that's the friend group. every last one of them π«Άπ
ngl bestie,tc_idonly goes0-7and yes that's a real constraint from the page, not me being dramatic for once π
okay that's the whole page, and for the sign-off: this diva lives in ./drivers/net/ethernet/freesca... (the footer truncates the path just like the title, the drama never ends π), stamped October 2026, and it waves at you from the top and bottom of the page as dpni_set_con...notification(9). slay, goodbye, go configure your congestion notifications responsibly πβ¨π
π¦ 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