dpni_set_taildrop(9)
π dpni_set_taildrop β the "Kernel API Manual" page, bestie edition π
okay so you found a section 9 (kernel API) page, congrats, it lives in the Kernel API Manual and it's all about one little function. it's called dpni_set_taildrop and it does exactly one (1) thing. let's go β¨
β¨ NAME β¨
dpni_set_taildrop β set that taildrop per queue or per TC, no cap π«Ά
πΈ SYNOPSIS πΈ
int dpni_set_taildrop (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , enum dpni_congestion_point cg_point , enum dpni_queue_type qtype
, u8 tc , u8 index , struct dpni_taildrop *taildrop );
like, look at all those parameters. she's got range π
π¦ ARGUMENTS π¦
mc_ioβ pointer to the MC portal's I/O object. the lil handle to the door you're knocking on, iykyk.cmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'. yes, the manpage literally just says that, so we're not gonna pretend there's more tea to spill.tokenβ token of the DPNI object. your lil VIP wristband for this DPNI β¨cg_pointβ congestion point. where the congestion drama is happening.qtypeβ queue type on which the taildrop is configured. only Rx queues are supported for now β so like, don't come at her with Tx, she's not ready for that conversation πtcβ traffic class to apply this taildrop to.indexβ index of the queue if the DPNI supports multiple queues for traffic distribution. ignored ifCONGESTION_POINTis not 0. (so if you setindexalongside a nonzero congestion point, it's just... sitting there, unread, like an unopened text π)taildropβ taildrop structure. the actual payload, the main character of the parameter list π
π RETURN π
so bestie. the original page has this heading and then... nothing. no return values, no error codes, not a single crumb. we are NOT gonna make something up β that would be lying and lying is not slay. consider this section a vibe check that got skipped fr fr.
π₯ SEE ALSO π₯
the kernel file for this one is ./drivers/net/ethernet/freescale/dpaa2/dpni.c β that's where the source actually lives, go peek π§
and here's the whole group chat, every single one, we do not leave anyone on read:
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_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)
and yeah, dpni_get_taildrop(9) is right there β she's the getter, this page is the setter. they're a matching set, obsessed π
and that's the whole page, bestie!! π official sign-off time: this one's stamped October 2026 and the source path got truncated in the footer as ./drivers/net/ethernet/freesca... β you already know the full path from SEE ALSO, go be great π«Άπ
π¦ 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