dpni_set_buffer_layout(9)
π dpni_set_buffer_layout(9) β like, the Kernel API Manual one π
Okay bestie, so this is dpni_set_buffer_layout(9) from the Kernel API Manual, and it's literally the glow-up button for your buffer layout config β¨ like the function that sets the whole vibe of how buffers are laid out. Let's go π«Ά
πΈ NAME πΈ
dpni_set_buffer_layout β Set buffer layout configuration. That's it, that's the whole thing, no cap π
β¨ SYNOPSIS β¨
int dpni_set_buffer_layout (struct fsl_mc_io *mc_io , u32 cmd_flags ,
u16 token , enum dpni_queue_type qtype , const struct dpni_buffer_layout
*layout );
She takes five arguments and returns an int β iconic signature, no notes π
π ARGUMENTS π
mc_ioβ Pointer to MC portal's I/O object. Your little doorway into the MC portal, fr fr πͺcmd_flagsβ Command flags; one or more of'MC_CMD_FLAG_'. Yes bestie, one or more, stack 'em πtokenβ Token of DPNI object. It's the DPNI's little ID badge πͺͺqtypeβ Type of queue this configuration applies to. Which queue are we doing a makeover on? πlayoutβ Buffer layout configuration. The actual fit check, the outfit itself π
π₯ RETURN π₯
So the RETURN section is just... sitting there. Nothing in it. The manpage gives it a heading and then dips π no description, no exit codes, nothing β not me noticing the silence π
π¦ DESCRIPTION π¦
- warning β
Allowed only when DPNI is disabled. Read that again, bestie π¨ the DPNI has to be off before you touch the buffer layout. Do not come for this while she's running, that's the whole rule π
π SEE ALSO π
The kernel file lives right here, go peek: ./drivers/net/ethernet/freescale/dpaa2/dpni.c π
And the whole friend group, in order, every single one of them:
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_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_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, all of them. Every last one. I counted, she counted, we all counted π
And that's the page, bestie β sourced from ./drivers/net/ethernet/freesca... and dated October 2026 ποΈβ¨ mwah, go set those buffer layouts (with the DPNI disabled, obviously) π§ββοΈπ
π¦ 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