fm10k_tlv_at...et_le_struct(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fm10k_tlv_at...et_le_struct(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” yes, this page is literally called fm10k_tlv_at...et_le_struct(9), and no, that's not a typo on my end, that's the actual truncated name the manpage gods gave us. slay. let's get into it 🫢


✨ NAME ✨

fm10k_tlv_attr_get_le_struct β€” get the little endian struct form of an attribute πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

s32 fm10k_tlv_attr_get_le_struct (u32 *attr , void *le_struct , u32 len );

that's it. that's the whole call. so clean, so iconic ✨

πŸŽ€ ARGUMENTS πŸŽ€

  • attr β€” pointer to the attribute πŸ”₯
  • le_struct β€” pointer to the structure that's gonna get written to. it's the destination, the moment, the main character 🌸
  • len β€” size of the structure. gotta know how big it is, no cap πŸ“

🌈 DESCRIPTION 🌈

so here's the vibe: this function places a little endian structure in the buffer pointed to by le_struct. that's it, that's the whole job πŸ’œ

and it returns success as long as two things check out:

  1. the pointers are valid πŸ‘‘
  2. the len value matches the attribute length βœ…

both gotta be true or it's not happening, fr fr. pointer checks and a length match β€” it's giving "vibe check before we proceed" πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

everything's in the kernel file right here:

./drivers/net/ethernet/intel/fm10k/fm10k_tlv.c

and here's the whole friend group of related calls, all of them, none skipped, i would never 🫢

like, the whole squad showed up πŸ’€πŸ”₯


and that's the page!! πŸŽ€ quick sign-off: this one comes from ./drivers/net/ethernet/intel/f... (the truncated source path, she's mysterious, we respect it) and it's dated October 2026 β€” so yes, this manual is from the future and it still looks exactly like fm10k_tlv_at...et_le_struct(9). periodt πŸ’…βœ¨

πŸ“¦ where this page comes from