fm10k_tlv_attr_get_mac_vlan(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🫢:


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