ice_fltr_prepare_vlan(9)
π ice_fltr_prepare_vlan(9) β from the Kernel API Manual, bestie π
okay so picture this: you're deep in the Intel ice driver, and you need to add or remove a VLAN filter. that's literally it. that's the whole vibe of ice_fltr_prepare_vlan β add or remove VLAN filter. it's giving "small function, big responsibility" ngl. β¨
β¨ SYNOPSIS β¨
int ice_fltr_prepare_vlan (struct ice_vsi *vsi , struct ice_vlan *vlan ,
int (*vlan_action)(struct ice_vsi *, struct list_head *) );
yes queen, that's a function pointer in the parameter list. we love a callback moment. π
π«Ά ARGUMENTS π«Ά
vsiβ pointer to VSI struct. it's the VSI, bestie. everything happens in it.vlanβ VLAN filter details. all the deets for the VLAN filter live here. πvlan_actionβ pointer to add or remove VLAN function. you hand it the actual function that does the adding-or-removing, and it does its thing. main character energy fr fr. π₯
π SEE ALSO π
like, go read these next, iykyk:
- Kernel file
./drivers/net/ethernet/intel/ice/ice_fltr.cβ the source file, the origin story, the whole lore π ice_fltr_free_list(9)ice_fltr_add_entry_to_list(9)ice_fltr_set_vlan_vsi_promisc(9)ice_fltr_clear_vlan_vsi_promisc(9)ice_fltr_clear_vsi_promisc(9)ice_fltr_set_vsi_promisc(9)ice_fltr_add_mac_list(9)ice_fltr_remove_mac_list(9)ice_fltr_add_vlan_list(9)ice_fltr_remove_vlan_list(9)ice_fltr_add_eth_list(9)ice_fltr_remove_eth_list(9)ice_fltr_remove_all(9)ice_fltr_add_mac_to_list(9)ice_fltr_add_vlan_to_list(9)ice_fltr_add_eth_to_list(9)ice_fltr_prepare_mac(9)ice_fltr_prepare_mac_and_broadcast(9)ice_fltr_prepare_eth(9)ice_fltr_add_mac(9)ice_fltr_add_mac_and_broadcast(9)ice_fltr_remove_mac(9)ice_fltr_add_vlan(9)ice_fltr_remove_vlan(9)ice_fltr_add_eth(9)ice_fltr_remove_eth(9)
like, that's the whole friend group. no cap. π
okay that's the page!! π¦ this lil legend lives in ./drivers/net/ethernet/intel/ice, dated October 2026, so when you cite it, cite it right β slay. 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