dpni_set_taildrop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 if CONGESTION_POINT is not 0. (so if you set index alongside 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