ice_vf_get_promisc_masks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ™ˆ):

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