ice_cfg_mac_antispoof(9)
π ice_cfg_mac_antispoof(9) β kernel API manual, bestie edition π
okay so we're in the ice section of the Kernel API Manual and today's main character is ice_cfg_mac_antispoof, a little function with a big job. no cap, it's giving "quietly keeps the network honest" energy. π¦
β¨ NAME β¨
ice_cfg_mac_antispoof β configure MAC antispoof checking behavior
like, it's the switch-flipper for whether a VSI gets to pretend to be a MAC address it is not. rude behavior, honestly. π
πΈ SYNOPSIS πΈ
int ice_cfg_mac_antispoof (struct ice_vsi *vsi , bool enable );
that's it. that's the whole vibe. two arguments, one int coming back at you. π
π ARGUMENTS π
vsiβ the VSI to configure. literally the thing you're doing the configuring to, bestie. it's the star of the show. βenableβ whether to enable or disable the spoof checking.true-ish = checking is ON, the other one = checking is OFF. you're the DJ of spoof checking. π§
π DESCRIPTION π
Configure a VSI to enable (or disable) spoof checking behavior.
that's the whole plot, and honestly? it ate. you point it at a VSI, you tell it enable, and the spoof checking behavior is now configured. periodt. π
no secret twist, no hidden lore, the function does exactly what the name says, which is honestly iconic of it.
lowkey a slay that a kernel function is this straightforward. not every icon needs a 40-line description. π«Ά
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/ice/ice_vf_lib.c
and now, the friend group. the whole squad. the entire ice VF cinematic universe, in order, because we do NOT skip anyone at this table: π
ice_get_vf_by_id(9),ice_release_vf(9),ice_put_vf(9),ice_has_vfs(9),ice_get_num_vfs(9),ice_get_vf_vsi(9),ice_is_vf_disabled(9),ice_wait_on_vf_reset(9),ice_check_vf_ready_for_cfg(9),ice_trigger_vf_reset(9),ice_vf_pre_vsi_rebuild(9),ice_vf_reconfig_vsi(9),ice_vf_rebuild_vsi(9),ice_vf_rebuild_host_vlan_cfg(9),ice_vf_rebuild_host_tx_rate_cfg(9),ice_vf_set_host_trust_cfg(9),ice_vf_rebuild_host_mac_cfg(9),ice_vf_rebuild_aggregator_node_cfg(9),ice_vf_rebuild_host_cfg(9),ice_set_vf_state_qs_dis(9),ice_vf_set_initialized(9),ice_vf_post_vsi_rebuild(9),ice_is_any_vf_in_unicast_promisc(9),ice_vf_get_promisc_masks(9),ice_vf_clear_all_promisc_modes(9),ice_vf_set_vsi_promisc(9),ice_vf_clear_vsi_promisc(9),ice_reset_vf_mbx_cnt(9),ice_reset_all_vfs(9),ice_notify_vf_reset(9),ice_reset_interrupts(9),ice_reset_vf(9),ice_set_vf_state_dis(9),ice_initialize_vf_entry(9),ice_dis_vf_qs(9),ice_err_to_virt_err(9),ice_check_vf_init(9),ice_vf_get_port_info(9),ice_vsi_ena_spoofchk(9),ice_vsi_dis_spoofchk(9),ice_vsi_apply_spoofchk(9),ice_is_vf_trusted(9),ice_vf_has_no_qs_ena(9),ice_is_vf_link_up(9),ice_vf_ctrl_invalidate_vsi(9),ice_vf_ctrl_vsi_release(9),ice_vf_ctrl_vsi_setup(9),ice_vf_init_host_cfg(9),ice_vf_invalidate_vsi(9),ice_vf_vsi_release(9),ice_get_vf_ctrl_vsi(9),ice_vf_update_mac_lldp_num(9)
like I said. the whole squad. fifty-one of them. not one left on read. ππ₯
fr fr if you're reading this page you should probably also go readice_vsi_ena_spoofchk(9)andice_vsi_dis_spoofchk(9)andice_vsi_apply_spoofchk(9)β they're right there in the list, and they're literally the spoof-checking trio. iykyk. β¨
and that's the page, bestie!! go forth and configure your MAC antispoof checking behavior responsibly π
kisses from the ./drivers/net/ethernet/intel/ice directory β see you in October 2026, mwah ππ
π¦ 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