fm10k_iov_set_lport_pf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 ngl
  • vf_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 a u16, it's the offset, and it's giving coordinates πŸ—ΊοΈ
  • flags β€” set of capability flags to extend port beyond basic functionality. a u8 full 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:


πŸ’€ 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