fm10k_tlv_attr_put_value(9)
β¨ fm10k_tlv_attr_put_value β¨
Okay bestie, welcome to the fm10k_tlv_attr_put_value page β it's a section 9 Kernel API Manual situation, and honestly it's giving "tiny function, big responsibility" energy. Let me put you on. π«Ά
πΈ NAME πΈ
fm10k_tlv_attr_put_value β store an integer value attribute in a message. That's it, that's the whole vibe. π
π¦ SYNOPSIS π¦
s32 fm10k_tlv_attr_put_value (u32 *msg , u16 attr_id , s64 value , u32
len );
Like, that's the exact signature, character for character, no notes. π₯
π ARGUMENTS π
msgβ pointer to the message block. It's the canvas, the main character of this whole operation. πΌοΈattr_idβ the attribute ID, aka which attribute you're targeting. iykyk.valueβ the value to be written. This is the actual star of the show. βlenβ size of the value. Spoiler: it's gotta be one of the blessed sizes, more on that below. π
π DESCRIPTION π
So here's the tea: this function places an integer value of up to 8 bytes in size into a message attribute. Up to 8 bytes. Like, that's the ceiling, don't push it. π
And the function will return success provided that:
msgis a valid pointer, andlenis1,2,4, or8.
That's it. Those are the four iconic numbers. 1, 2, 4, 8 β no cap, no in-between sizes, periodt. β¨
π SEE ALSO π
First up, the kernel file this whole thing lives in:
./drivers/net/ethernet/intel/fm10k/fm10k_tlv.c
And now the whole friend group β every single one of them, bestie, I'm not skipping anybody: π§
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_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_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)
Genuinely obsessed with how many of these there are. Go read them all, they ate. π
And that's the page, bestie! π A lil sign-off moment for the fine print: this beauty is sourced from ./drivers/net/ethernet/intel/f... and dated October 2026, and it's fm10k_tlv_attr_put_value(9) all the way down. Slay. π
π
π¦ 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