dpni_set_unicast_promisc(9)
π dpni_set_unicast_promisc(9) β from the Kernel API Manual, bestie β¨
Okay so this one's a little function from the Kernel API Manual, and honestly? She's short but she matters. Let's get into it π
πΈ NAME πΈ
dpni_set_unicast_promisc β turn unicast promiscuous mode on or off, that's the whole gig π
β SYNOPSIS β
int dpni_set_unicast_promisc (struct fsl_mc_io *mc_io , u32 cmd_flags ,
u16 token , int en );
There she is. Four arguments, returns an int, no cap. π¦
π ARGUMENTS π
mc_ioβ pointer to the MC portal's I/O object. Like, this is the doorway to the whole Management Complex situation, iykyk πcmd_flagsβ the command flags, and babe, you pass one or more of'MC_CMD_FLAG_'here π₯tokenβ the token of the DPNI object. That's your little VIP pass to this specific DPNI β¨enβ set it to'1'to enable,'0'to disable. Binary queen, slay π
π RETURN π
Okay so this section is literally empty in the original β no return values documented, no notes, nothing. She's giving mysterious. Not me making stuff up, I would never π«Ά
π SEE ALSO π
The kernel file lives at ./drivers/net/ethernet/freescale/dpaa2/dpni.c β go read the source if you want the full lore π
And now, the entire friend group, fr fr (no skipping, we love a complete list π):
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_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)
Ngl bestie, this page is short but it's important β flipping this flag changes how your NIC feels about unicast traffic. Use her responsibly π
Mwah π signing off β this came from ./drivers/net/ethernet/freesca..., dated October 2026, and the page itself is dpni_set_unicast_promisc(9). Iconic. Periodt. π§ββοΈβ¨
π¦ 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