dpni_remove_mac_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dpni_remove_mac_addr(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– β€” this is the page for dpni_remove_mac_addr, and yes it's exactly what it sounds like: it takes a MAC address filter off the list. bye-bye filter, we hardly knew ye πŸ¦‹


🌸 NAME 🌸

dpni_remove_mac_addr β€” Remove MAC address filter πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

int dpni_remove_mac_addr (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , const u8 mac_addr[6] );

that's the whole vibe: returns an int, takes an MC portal I/O object, flags, a token, and a 6-byte MAC address. iconic signature, no notes ✨


πŸ’œ ARGUMENTS πŸ’œ

  • mc_io β€” Pointer to MC portal's I/O object. like, the handle to the MC portal's I/O stuff, that's the one πŸ‘‘
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_' πŸ”₯ (yes, the quote marks are literally in the original, keep them, they're part of the lore)
  • token β€” Token of DPNI object. your DPNI object's token, gotta have it fr fr 🫢
  • mac_addr β€” MAC address to remove. the actual u8 mac_addr[6] that's getting yeeted out of the filter list πŸ˜­πŸ’€

🌈 RETURN 🌈

not gonna lie bestie, the original page has this heading and then... literally nothing under it πŸ™ˆ no return values documented, no error codes, nothing. so I'm not gonna make anything up β€” if you need the return semantics, go read the source, because this page is giving silent treatment πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

okay this list is LONG, grab a snack πŸ“ β€” here's every single one, in order, exactly as it appears:

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.c

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_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 I said. LONG. but we got through it together 🫢✨

ngl the original also has these two bits dangling around the bottom, so here they are verbatim: the source is ./drivers/net/ethernet/freesca... (that's the truncated version the page shows, don't come for me) and the date is October 2026 ⭐

and that's the whole page!! mwah πŸ’‹ β€” signed off with source ./drivers/net/ethernet/freesca..., dated October 2026, and still titled dpni_remove_mac_addr(9) because consistency is the moment πŸ‘‘πŸ’–

πŸ“¦ where this page comes from