ice_vf_get_promisc_masks(9)
π ice_vf_get_promisc_masks β Kernel API Manual β¨
okay so real talk, bestie, you're looking at ice_vf_get_promisc_masks(9), straight out of the Kernel API Manual. she's a little void function with a big job and honestly? she ate. let's get into it π«Ά
πΈ NAME πΈ
ice_vf_get_promisc_masks β literally calculates the masks for promiscuous modes. that's it, that's the vibe. β¨
π SYNOPSIS π
void ice_vf_get_promisc_masks (struct ice_vf *vf , struct ice_vsi *vsi ,
u8 *ucast_m , u8 *mcast_m );
no return value, she just does her thing and leaves π
(it's void, we love a queen who doesn't need to report back).
π¦ ARGUMENTS π¦
vfβ the VF pointer. yeah. that one. π§vsiβ the VSI you're trying to configure, bestie. she's the main character here.ucast_mβ the promiscuous mask to apply to unicast. keep up πββοΈmcast_mβ the promiscuous mask to apply to multicast. two masks, two destinies π«
π₯ DESCRIPTION π₯
so what does she actually do? she decides which mask should be used for the unicast filter and which one for the multicast filter β and the whole decision is based on whether VLANs are present or not. that's the entire plot. VLANs in the picture? masks change. no VLANs? masks change the other way. either way, our girl figured it out for you ππ
no cap, it's giving "quietly essential utility function" energy and we stan.
π SEE ALSO π
first things first, she lives here, in the kernel file:
./drivers/net/ethernet/intel/ice/ice_vf_lib.c
and the whole extended friend group (say hi to everyone, don't skip anyone, they will notice π):
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_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_cfg_mac_antispoof(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. big friend group. iykyk π
that's the whole page, bestie β go forth and get those promiscuous masks, you absolute icon πβ
source: ./drivers/net/ethernet/intel/ice Β· dated October 2026 Β· manual page ice_vf_get_promisc_masks(9) π
π¦ 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