fm10k_tlv_attr_parse(9)
π fm10k_tlv_attr_parse β like, the manual page, bestie
okay so this is fm10k_tlv_attr_parse(9) from the Kernel API Manual and honestly? she's a little parser with main character energy. let's get into it π
β¨ SYNOPSIS β¨
s32 fm10k_tlv_attr_parse (u32 *attr , u32 **results , const struct
fm10k_tlv_attr *tlv_attr );
π ARGUMENTS π
attrβ pointer to the attribute list. this is the raw stream, the source material, the moment before the glow-up β¨resultsβ pointer array where we stash pointers to the attributes. it's giving "hold my findings" π«Άtlv_attrβ the type and length info for the attributes. the rulebook, the vibe check, the blueprint π
π¦ DESCRIPTION π¦
so basically this function validates a stream of attributes and then parses them up into an array of pointers that lives in results. no cap, that's the whole plot π¬
here's the return-value tea β:
- returns
FM10K_ERR_PARAMon any input or message error π - returns
FM10K_NOT_IMPLEMENTEDfor any attribute that's outside of the array π - returns
0on success β slay, we love a clean zero π
and the iconic detail: any attributes not found in tlv_attr are silently ignored. literally no drama, no error, they just don't get invited to the party π€«β¨
π SEE ALSO π
okay the friend group is huge, here's everyone on the list:
- Kernel file
./drivers/net/ethernet/intel/fm10k/fm10k_tlv.cβ go read the source bestie, iykyk π
and the whole squad:
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_get_le_struct(9)fm10k_tlv_attr_nest_start(9)fm10k_tlv_attr_nest_stop(9)fm10k_tlv_attr_validate(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)
and that's the page, bestie π this one came from ./drivers/net/ethernet/intel/f... (yes, the filename is literally abbreviated with an ellipsis in the footer, love that for us π) and it's dated October 2026 β future icon behaviour fr fr π°οΈβ¨ 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