fbnic_tlv_parser_test_attr(9)
π fbnic_tlv_parser_test_attr β like, the whole manual page, bestie
Okay so welcome to the fbnic_tlv_parser_test_attr(9) page, part of the Kernel API Manual β¨ β yes it's a kernel function, no it's not scary, and yes we're gonna get through it together in like two minutes flat. Sit down, hydrate, let's go π
π NAME π
fbnic_tlv_parser_test_attr β she's the function that loads test attributes into a structure. That's her whole job. That's the vibe. π
β¨ SYNOPSIS β¨
void fbnic_tlv_parser_test_attr (struct fbnic_tlv_test *str , struct
fbnic_tlv_msg **results );
Notice the return type: void. She gives nothing back. She simply does and then leaves. Main character energy, honestly π
π¦ ARGUMENTS π¦
strβ the test structure you're loading stuff into. This is the destination, the home, the little apartment where the attributes are gonna move in πresultsβ a pointer to the results array. This is where the attributes are coming from. The source. The origin story π
π₯ DESCRIPTION π₯
So what actually happens? She copies attributes into the structure. That's it. That's the tea β
But here's the important little detail, and I need you to hear me on this one: any attribute that doesn't exist in the results array is not populated. Not defaulted, not zeroed, not invented β just... not there. Don't go looking for ghosts that were never in the results array, bestie π«Ά It's giving "if you're not on the list, you're not coming in" and honestly, respect.
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/meta/fbnic/fbnic_tlv.cβ literally the file, iykyk π fbnic_tlv_msg_alloc(9)fbnic_tlv_attr_put_flag(9)fbnic_tlv_attr_put_value(9)__fbnic_tlv_attr_put_int(9)fbnic_tlv_attr_put_mac_addr(9)fbnic_tlv_attr_put_string(9)fbnic_tlv_attr_get_unsigned(9)fbnic_tlv_attr_get_signed(9)fbnic_tlv_attr_get_string(9)fbnic_tlv_attr_nest_start(9)fbnic_tlv_attr_nest_stop(9)fbnic_tlv_attr_parse_array(9)fbnic_tlv_attr_parse(9)fbnic_tlv_msg_parse(9)fbnic_tlv_parser_error(9)fbnic_tlv_test_create(9)fbnic_tlv_parser_test(9)
That's the whole friend group, go say hi to all of them π
Aaaand scene π¬ This page lives over at ./drivers/net/ethernet/meta/fbnic, dated October 2026, and yes β she's still out here going by fbnic_tlv_parser_test_attr(9). Slay, no cap πΈπ
π¦ 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