__i40e_pf_next_veb(9)
π __i40e_pf_next_veb β like, the whole vibe π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little kernel function from the i40e driver and honestly? she's giving "small but essential" energy. let's get into it π«Ά
πΈ NAME πΈ
__i40e_pf_next_veb β get next valid VEB π
(yes that's the whole name, and yes she ate)
β¨ SYNOPSIS β¨
struct i40e_veb * __i40e_pf_next_veb (struct i40e_pf *pf , int *idx );
that's it. that's the whole signature. no cap. π₯
π ARGUMENTS π
pfβ pointer to the PF struct π like, the whole PF situation, you're passing her inidxβ pointer to start position number π’ a lil pointer to where you wanna start looking, iykyk
π¦ DESCRIPTION π¦
so what she does: she finds and returns the next non-NULL VEB pointer in the pf->veb array π and along the way she updates the idx position, so like, she's not just a finder, she's a mover-and-shaker, she keeps the receipt π§Ύβ¨
and if there's no VEB to be found? she returns NULL π not in a mean way, just in a "nothing here bestie" way. periodt. π
ngl this is the classic walk-the-array pattern β start atidx, skip the NULLs, hand back the next real one, and bumpidxso the next call can keep going π
π SEE ALSO π
kernel file: ./drivers/net/ethernet/intel/i40e/i40e.h π (go read it, she's iconic)
and the whole friend group π β literally the whole group chat:
__i40e_pf_next_vsi(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)
alright bestie, that's the page ππ she lives in ./drivers/net/ethernet/intel/i40e, dated October 2026, and her manual page handle is __i40e_pf_next_veb(9) β go forth and iterate responsibly, 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