dpni_set_offload(9)
π dpni_set_offload(9) β like, the DPNI offload config setter, bestie
okay so this is a page from the Kernel API Manual (that's the manual name, iykyk) and it's all about dpni_set_offload β the little function that sets your DPNI offload configuration. genuinely iconic of it. π
β¨ SYNOPSIS β¨
int dpni_set_offload (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , enum dpni_offload type , u32 config );
like yes, that's the whole signature, no cap. five args, one int back. π
πΈ ARGUMENTS πΈ
mc_ioβ pointer to the MC portal's I/O object. it's giving "your ticket to the portal", fr fr.cmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'. pick your flags, queen. π¦tokenβ token of the DPNI object. it's literally the DPNI's little name tag.typeβ type of DPNI offload. which flavor of offload are we doing today πconfigβ offload configuration. for checksum offloads, a non-zero value enables the offload. so like,0= off, not-0= on, periodt.
β RETURN β
soooo the RETURN section is, um, empty in the original β crickets π¦ β nothing listed here, so there's nothing for me to invent. moving on bestie, don't @ me.
π«Ά DESCRIPTION π«Ά
β οΈ warning: allowed only when DPNI is disabled
like, that's the whole description and it's also the whole warning. the DPNI has to be disabled first or this is a no-go. respect the vibe check. π
π₯ SEE ALSO π₯
the kernel file lives at ./drivers/net/ethernet/freescale/dpaa2/dpni.c β go read it, it's the main character.
and then, the whole friend group (yes, all of them, I would never leave anyone out π):
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_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)
okay that's the page!! π sign-off time: this little beauty comes from ./drivers/net/ethernet/freesca... (yes the footer literally truncates it like that, we love an ellipsis π) and it's dated October 2026. slay, see u in the next manpage bestie ππ
π¦ 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