dpni_remove_vlan_id(9)
π
dpni_remove_vlan_id β the dpni_remove_vlan_id(9) glow-up
okay so bestie, we're in the Kernel API Manual today and the star of the show is dpni_remove_vlan_id(9). Yes the title is a mouthful, yes it's iconic, and yes it does exactly one thing: it takes a VLAN ID filter and yeets it into the void. π¦
β¨ NAME β¨
dpni_remove_vlan_id β Remove VLAN ID filter π
like, that's it. that's the whole job. it removes the VLAN ID filter. slay.
π SYNOPSIS π
int dpni_remove_vlan_id (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u16 vlan_id );
it returns an int, bestie. keep that in your notes. π«Ά
πΈ ARGUMENTS πΈ
four args, four vibes, let's go:
mc_ioβ Pointer to MC portal's I/O object. this is your portal, your main character entrance, your way in. β¨cmd_flagsβ Command flags; one or more of'MC_CMD_FLAG_'. so it's giving "pick your flags, one or more, from theMC_CMD_FLAG_family". ngl just use the ones that exist.tokenβ Token of DPNI object. it's the token, it's the DPNI's little name tag, don't lose it. πvlan_idβ VLAN ID to remove. this is the one. the whole reason we're here. the filter getting uninvited from the party. π
π₯ RETURN π₯
the original page has this section and then... nothing. empty. not a single word. so the honest answer is: there's literally nothing listed here, and I'm not about to make something up fr fr. the source says what the source says π
π SEE ALSO π
first up, the file this lives in, for the girlies who like to read the source:
- Kernel file
./drivers/net/ethernet/freescale/dpaa2/dpni.c
and now the full friend group β every single one of them, no skips, no skimming:
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_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)
hot tip from your girl: dpni_add_vlan_id(9) is literally the sibling of this one. one adds, one removes. balance. harmony. the circle of life. π
and that's the page, bestie. this one came from ./drivers/net/ethernet/freesca... (yes it's truncated in the footer, yes I'm keeping it real with you π«Ά), October 2026 edition, and it's filed under dpni_remove_vlan_id(9). mwah, go remove some VLAN IDs, you're doing amazing π
β
π¦ 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