__i40e_pf_next_vsi(9)
π« NAME π«
ok so bestie, this is the Kernel API Manual entry for __i40e_pf_next_vsi β and what it does is get next valid VSI. that's it. that's the whole vibe. she finds the next VSI that actually exists π
β¨ SYNOPSIS β¨
struct i40e_vsi * __i40e_pf_next_vsi (struct i40e_pf *pf , int *idx );
like, literally the whole signature. no cap. π¦
πΈ ARGUMENTS πΈ
pfβ pointer to thePFstruct. she's the main character here, the big one you're digging through π₯idxβ pointer to the start position number. this is where you tell her to start looking, and she'll update it for you as she goes π
π§ DESCRIPTION π§
ok so picture this: you hand her a pf, you hand her an idx, and she goes digging through the pf->vsi array looking for the next non-NULL VSI pointer. when she finds one, she returns it β and she updates the idx position too, so you know where she landed π
and if there's literally nothing there to find? she returns NULL. no VSI found, no VSI returned, no drama. periodt. π
ngl, always check for that NULL before you go dereferencing it, bestie β that's just good manners π«Ά
π SEE ALSO π
Kernel file: ./drivers/net/ethernet/intel/i40e/i40e.h
and the whole friend group, obvi β go say hi to all of these:
__i40e_pf_next_veb(9)i40e_addr_to_hkey(9)i40e_info_nvm_ver(9)i40e_info_eetrack(9)i40e_info_civd_ver(9)i40e_nvm_version_str(9)i40e_netdev_to_pf(9)i40e_get_fd_cnt_all(9)i40e_read_fd_input_set(9)i40e_write_fd_input_set(9)i40e_get_pf_count(9)i40e_find_vsi_by_type(9)i40e_irq_dynamic_enable(9)i40e_is_tc_mqprio_enabled(9)i40e_hw_to_pf(9)i40e_pf_get_vsi_by_seid(9)i40e_pf_get_main_vsi(9)i40e_pf_get_veb_by_seid(9)i40e_pf_get_main_veb(9)
and that's the whole page, bestie!! π this one came straight out of./drivers/net/ethernet/intel/i40e, dated October 2026, and it's filed under__i40e_pf_next_vsi(9). mwah, go read some kernel headers, ily πβ¨
π¦ 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