ice_vc_vlan_action(9)
π ice_vc_vlan_action β the Kernel API Manual β¨
okay so first things first, bestie: this page is from the Kernel API Manual, section 9, and the star of the show is literally ice_vc_vlan_action. she's a little function, she does one thing, and she does it well π
πΈ NAME πΈ
ice_vc_vlan_action β the action to perform on the virthcnl_vlan
(and yes, virthcnl_vlan is spelled exactly like that in the source, don't come for me, I'm just the messenger π)
β¨ SYNOPSIS β¨
ok so here's her whole signature, character for character, no edits, no vibes-based corrections:
int ice_vc_vlan_action (struct ice_vsi *vsi , int (*vlan_action)(struct
ice_vsi *, struct ice_vlan *) , struct ice_vlan *vlan );
she takes three things and she returns an int. that's the whole personality. lowkey iconic π
π¦ ARGUMENTS π¦
three parameters, three besties, let's meet them:
vsiβ the VF's VSI, and she's the one actually used to perform the action. like, she's the venue. the action happens at her. π«Άvlan_actionβ the function to perform the action with (i.e. add/del). yep, you're passing in a function pointer, she's calling it, it's giving callback energy fr fr πvlanβ the VLAN filter to perform the action with. this is the actual thing getting added or deleted, no cap.
so real talk: vsi = where, vlan_action = what operation, vlan = which filter. three-part harmony. ate. π₯
π SEE ALSO π
okay this list is long and I'm not skipping a single one of them because every single reference is part of the lore π
- Kernel file
./drivers/net/ethernet/intel/ice/virt/virtchnl.c
and now the whole crew, in order, no crumbs left behind:
ice_vc_vf_broadcast(9),ice_set_pfe_link(9),ice_vc_notify_vf_link_state(9),ice_vc_notify_link_state(9),ice_vc_notify_reset(9),ice_vc_send_msg_to_vf(9),ice_vc_get_ver_msg(9),ice_vc_get_vlan_caps(9),ice_vc_get_vf_res_msg(9),ice_vc_reset_vf_msg(9),ice_vc_isvalid_vsi_id(9),ice_vc_get_qos_caps(9),ice_vc_cfg_promiscuous_mode_msg(9),ice_vc_get_stats_msg(9),ice_can_vf_change_mac(9),ice_vc_ether_addr_type(9),ice_is_vc_addr_legacy(9),ice_is_vc_addr_primary(9),ice_vfhw_mac_add(9),ice_is_mc_lldp_eth_addr(9),ice_vc_can_add_mac(9),ice_vc_add_mac_addr(9),ice_is_legacy_umac_expired(9),ice_update_legacy_cached_mac(9),ice_vfhw_mac_del(9),ice_vc_del_mac_addr(9),ice_vc_handle_mac_addr_msg(9),ice_vc_add_mac_addr_msg(9),ice_vc_del_mac_addr_msg(9),ice_vf_vlan_offload_ena(9),ice_is_vlan_promisc_allowed(9),ice_vf_ena_vlan_promisc(9),ice_vf_dis_vlan_promisc(9),ice_vf_has_max_vlans(9),ice_vc_process_vlan_msg(9),ice_vc_add_vlan_msg(9),ice_vc_remove_vlan_msg(9),ice_vsi_is_rxq_crc_strip_dis(9),ice_vc_ena_vlan_stripping(9),ice_vc_dis_vlan_stripping(9),ice_vc_query_rxdid(9),ice_vf_init_vlan_stripping(9),ice_vf_outer_vlan_not_allowed(9),ice_vc_set_dvm_caps(9),ice_vc_set_svm_caps(9),ice_vc_get_offload_vlan_v2_caps(9),ice_vc_validate_vlan_tpid(9),ice_vc_is_valid_vlan(9),ice_vc_validate_vlan_filter_list(9),ice_vc_to_vlan(9),ice_vc_del_vlans(9),ice_vc_remove_vlan_v2_msg(9),ice_vc_add_vlans(9),ice_vc_validate_add_vlan_filter_list(9),ice_vc_add_vlan_v2_msg(9),ice_vc_valid_vlan_setting(9),ice_vc_valid_vlan_setting_msg(9),ice_vc_get_tpid(9),ice_vc_ena_vlan_offload(9),ice_vc_ena_vlan_stripping_v2_msg(9),ice_vc_dis_vlan_stripping_v2_msg(9),ice_vc_ena_vlan_insertion_v2_msg(9),ice_vc_dis_vlan_insertion_v2_msg(9),ice_virtchnl_set_dflt_ops(9),ice_vc_repr_add_mac(9),ice_vc_repr_del_mac(9),ice_virtchnl_set_repr_ops(9),ice_is_malicious_vf(9),ice_vc_process_vf_msg(9)
that's the whole group chat. you're welcome. π«Άπ
ngl, if you're here, you're probably already deep in the virtchnl files. drink some water, bestie. and remember: every reference above keeps its exact (9) suffix, I did not touch a single character of them. π§
and that's the page!! source lives over at ./drivers/net/ethernet/intel/i... (yes, truncated in the original, I'm not gonna pretend otherwise π) and the date on this whole moment is October 2026. mwah, go read some kernel code, you got this πβπ
π¦ 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