fm10k_tlv_at...et_le_struct(9)
π 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:
- the pointers are valid π
- the
lenvalue 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 π«Ά
fm10k_tlv_msg_init(9)fm10k_tlv_attr_put_null_string(9)fm10k_tlv_attr_get_null_string(9)fm10k_tlv_attr_put_mac_vlan(9)fm10k_tlv_attr_get_mac_vlan(9)fm10k_tlv_attr_put_bool(9)fm10k_tlv_attr_put_value(9)fm10k_tlv_attr_get_value(9)fm10k_tlv_attr_put_le_struct(9)fm10k_tlv_attr_nest_start(9)fm10k_tlv_attr_nest_stop(9)fm10k_tlv_attr_validate(9)fm10k_tlv_attr_parse(9)fm10k_tlv_msg_parse(9)fm10k_tlv_msg_error(9)fm10k_tlv_msg_test_generate_data(9)fm10k_tlv_msg_test_create(9)fm10k_tlv_msg_test(9)
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
- 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