fm10k_iov_set_lport_pf(9)
π fm10k_iov_set_lport_pf(9) β the glamourous little kernel manual π
okay so bestie, welcome to the fm10k_iov_set_lport_pf(9) page from the Kernel API Manual β¨ this is the one where we hand a virtual function its very own logical port and turn the lights on. she's a kernel function, she's a PF-side queen, and she's lowkey the reason your VF can actually receive packets. let's get into it π
πΈ NAME πΈ
fm10k_iov_set_lport_pf β assign and enable a logical port for a given VF π
β¨ SYNOPSIS β¨
s32 fm10k_iov_set_lport_pf (struct fm10k_hw *hw , struct fm10k_vf_info
*vf_info , u16 lport_idx , u8 flags );
she takes four args and returns an s32, that's the whole vibe π«Ά
π¦ ARGUMENTS π¦
hwβ pointer to hardware structure. this is the hardware struct, the main character of the whole operation nglvf_infoβ pointer to VF information structure. this is where the VF's info lives, and yes it's about to get updated πlport_idxβ logical port offset from the hardware glort. it's au16, it's the offset, and it's giving coordinates πΊοΈflagsβ set of capability flags to extend port beyond basic functionality. au8full of potential, we love a flexible icon β¨
π DESCRIPTION π
so what does she actually do? this function allows enabling a VF port by assigning it a GLORT and setting the flags so that it can enable an Rx mode. that's it, that's the whole slay π
like, literally: give the port a GLORT, set the flags, and now it can turn on an Rx mode. no cap, that's the entire job and she does it well π
π SEE ALSO π
kernel file ./drivers/net/ethernet/intel/fm10k/fm10k_pf.c β yes bestie, here's where she lives π‘
and the whole friend group, fr fr:
fm10k_reset_hw_pf(9)fm10k_is_ari_hierarchy_pf(9)fm10k_init_hw_pf(9)fm10k_update_vlan_pf(9)fm10k_read_mac_addr_pf(9)fm10k_glort_valid_pf(9)fm10k_update_xc_addr_pf(9)fm10k_update_uc_addr_pf(9)fm10k_update_mc_addr_pf(9)fm10k_update_xcast_mode_pf(9)fm10k_update_int_moderator_pf(9)fm10k_update_lport_state_pf(9)fm10k_configure_dglort_map_pf(9)fm10k_iov_assign_resources_pf(9)fm10k_iov_configure_tc_pf(9)fm10k_iov_assign_int_moderator_pf(9)fm10k_iov_assign_default_mac_vlan_pf(9)fm10k_iov_reset_resources_pf(9)fm10k_iov_reset_lport_pf(9)fm10k_iov_update_stats_pf(9)fm10k_iov_msg_msix_pf(9)fm10k_iov_select_vid(9)fm10k_iov_supported_xcast_mode_pf(9)fm10k_iov_msg_lport_state_pf(9)fm10k_update_hw_stats_pf(9)fm10k_rebind_hw_stats_pf(9)fm10k_set_dma_mask_pf(9)fm10k_get_fault_pf(9)fm10k_request_lport_map_pf(9)fm10k_get_host_state_pf(9)fm10k_msg_lport_map_pf(9)fm10k_msg_update_pvid_pf(9)fm10k_record_global_table_data(9)fm10k_msg_err_pf(9)
π reminder bestie: that SEE ALSO list is long for a reason β go read the siblings if you're confused, iykyk
k bye ily, this page came from ./drivers/net/ethernet/intel/f... and it's dated October 2026, and the manual name is fm10k_iov_set_lport_pf(9) in case you forgot already π go assign those ports, you gorgeous kernel dev πΈπ¦π
π¦ 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