fm10k_tlv_attr_get_mac_vlan(9)
π fm10k_tlv_attr_get_mac_vlan(9) π
okay so bestie, welcome to the Kernel API Manual entry for fm10k_tlv_attr_get_mac_vlan β yes the name is a whole mouthful, we're gonna get through it together, hand in hand π«Ά
β¨ NAME β¨
fm10k_tlv_attr_get_mac_vlan β get the MAC/VLAN that's stored in an attribute π
πΈ SYNOPSIS πΈ
s32 fm10k_tlv_attr_get_mac_vlan (u32 *attr , u8 *mac_addr , u16 *vlan );
like, look at her. three args. she's stunning. no cap π
π¦ ARGUMENTS π¦
attrβ pointer to the attribute, bestie. it's the source of truth, the main character of this whole operation πmac_addrβ the location of the buffer where we're gonna store the MAC address. bring a buffer, she's filling it πvlanβ the location of the buffer where the VLAN goes. yes, a second buffer. yes, she's worth it πΈ
π DESCRIPTION π
so what does she actually do? this function pulls the MAC address back out of the attribute and places it in the array that mac_addr points at. that's the whole vibe πβ¨
and get this β it will return success if it's provided with valid pointers. so, like, give her valid pointers and she'll slay. periodt π―
π SEE ALSO π
the kernel file is right here: ./drivers/net/ethernet/intel/fm10k/fm10k_tlv.c β go read it, iykyk π
and now, the whole friend group, alphabetically-ish, all here, nobody left out π«Ά:
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_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_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)
and that's the page, bestie!! π sign-off time: this one's from source ./drivers/net/ethernet/intel/f... (yes it's cut off like that, don't come for me π), dated October 2026, and it's the fm10k_tlv_attr_get_mac_vlan(9) manual page. slay, bye, go read your pointers πππ
π¦ 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