dpni_get_attributes(9)
π dpni_get_attributes β the Kernel API Manual, but make it cute
okay bestie, so you know how we've been living our lives in the DPNI cinematic universe? this is the part where we just... ask the hardware how it's doing. it's dpni_get_attributes from the Kernel API Manual, and it is lowkey the vibe check of the whole DPNI saga. π¦
πΈ NAME πΈ
dpni_get_attributes β retrieve DPNI attributes, periodt.
Like, it reaches into the DPNI object and pulls out its whole personality. No cap.
β¨ SYNOPSIS β¨
int dpni_get_attributes (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , struct dpni_attr *attr );
she takes four things and gives you back an int, that's the whole dynamic π
π ARGUMENTS π
mc_ioβ pointer to the MC portal's I/O object. this is the group chat you're sending the message through, fr fr π«Άcmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'. yes, plural, you can stack them, go off πtokenβ token of the DPNI object. her little ID badge, iconic π«attrβ object's attributes. this is the main character of the whole function β it's where the tea gets poured π
π₯ RETURN π₯
the original page just leaves this section sitting there, empty, like a read receipt with no reply π no return values listed, no description, nothing β so I'm not gonna invent any, that's not the move. ngl the manpage just didn't feel like it. we respect the silence π
π§ SEE ALSO π§
first up, the source itself, bestie:
- Kernel file
./drivers/net/ethernet/freescale/dpaa2/dpni.c
and now the whole extended fam β every single one, because we don't skip people in this house π β¨
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_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_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, the whole friend group showed up to the function's birthday party π that's loyalty fr
fair warning bestie: attr is listed as "Object's attributes" and nothing else, so the manpage is not out here explaining what's inside. don't come for me, I only report what the page says π
that's the whole page, no filler, no gatekeeping, every flag and every cross-reference intact π stay hydrated, go read dpni.c, and remember: attributes are just vibes with a token. πβ¨
β with love from the Kernel API Manual, dated October 2026, spanning ./drivers/net/ethernet/freesca... (yes the source column got cut off in the footer, she's a little mysterious like that π) π
π¦ 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