i40e_set_promiscuous(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i40e_set_promiscuous β€” set promiscuous mode πŸ’–

okay so bestie, welcome to the i40e_set_promiscuous(9) page from the Kernel API Manual ✨ this is a tiny one β€” it's basically a one-job function β€” but it lives in a huge friend group, and you're gonna meet all of them at the end, so buckle up πŸŽ€


🌸 NAME 🌸

i40e_set_promiscuous β€” set promiscuous mode. that's it. that's the job. no cap πŸ’…


✨ SYNOPSIS ✨

int i40e_set_promiscuous (struct i40e_pf *pf , bool promisc );

it returns an int (the page tells us 0 on success β€” hold that thought), takes a struct i40e_pf * and a bool. simple. iconic. very demure πŸ¦‹


🫢 ARGUMENTS 🫢

  • pf β€” the board private structure. yes, the board private structure β€” that's your whole PF's personal little world, and you're handing it over πŸ”₯
  • promisc β€” promisc on or off. that's the entire vibe check: true = on, false = off 🌈

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea β˜• setting promiscuous mode on a PF is not one-size-fits-all β€” there are different ways of doing it depending on what state/environment we're in bestie, and it's giving "different doors, same destination" πŸšͺ✨

so what this function does is: it identifies which situation we're in and sets it appropriately. that's the whole assignment. it figures out the vibe and then matches it πŸ’…

Returns 0 on success. that's the only return value this page promises you, so don't come for me about the rest πŸ™ˆ


🌟 SEE ALSO 🌟

the squad. the whole squad. i'm not exaggerating β€” this is the entire i40e family reunion and everyone showed up 🫢✨

Kernel file: ./drivers/net/ethernet/intel/i40e/i40e_main.c

and now, the roll call πŸ“‹πŸ’–

like. that's the whole tree. every single one of them πŸ˜­πŸ’€ genuinely iconic that a function that flips one bool has this many friends. iykyk 🫢


and that's the page bestie!! πŸŽ€ this little cutie lives in ./drivers/net/ethernet/intel/i40e, dated October 2026 β€” go say hi to the whole squad for me πŸ’œβœ¨

πŸ“¦ where this page comes from