fm10k_update_xc_addr_pf(9)
π fm10k_update_xc_addr_pf(9) π
okay so bestie, welcome to the Kernel API Manual corner of the group chat π this one's a single function page, and it's lowkey the vibe-checker that tells your network switch "hey, add/remove this address for me, mkay?" π
β¨ NAME β¨
fm10k_update_xc_addr_pf β literally just: Update device addresses π no cap, that's the whole assignment.
π¦ SYNOPSIS π¦
s32 fm10k_update_xc_addr_pf (struct fm10k_hw *hw , u16 glort , const u8
*mac , u16 vid , bool add , u8 flags );
it's giving "small signature, big responsibilities" ngl πΈ
π ARGUMENTS π
hwβ pointer to the HW structure π«Ά like, the hardware said "handle me gently" and this is the handle.glortβ the base resource tag for this request π (yes it's called glort, no we didn't pick the name, moving on βοΈ)macβ the MAC address to add/remove from the table π the actual star of the show fr fr.vidβ the VLAN ID to add/remove from the table π§ tag it or untag it, that's the assignment.addβ Indicates if this is an add or remove operation π iconic boolean behaviour, we love a yes/no moment.flagsβ the flags field, used to indicate add and secure π₯ security girlies rise.
π DESCRIPTION π
so the way that this works π this function generates a message to the Switch API asking, very politely but very insistently, that the given logical port add or remove the given L2 MAC/VLAN address from the table β¨
that's it. that's the whole plot. a request gets built, the Switch API gets it, the address gets added or removed, and everybody slays π
π₯ SEE ALSO π₯
first up, the kernel file this lives in, like literally check the source bestie:
./drivers/net/ethernet/intel/fm10k/fm10k_pf.c
and now, the whole entire extended universe π (yes we're listing every single one, grab a snack π):
fm10k_reset_hw_pf(9), fm10k_is_ari_hierarchy_pf(9), fm10k_init_hw_pf(9), fm10k_update_vlan_pf(9), fm10k_read_mac_addr_pf(9), fm10k_glort_valid_pf(9), fm10k_update_uc_addr_pf(9), fm10k_update_mc_addr_pf(9), fm10k_update_xcast_mode_pf(9), fm10k_update_int_moderator_pf(9), fm10k_update_lport_state_pf(9), fm10k_configure_dglort_map_pf(9), fm10k_iov_assign_resources_pf(9), fm10k_iov_configure_tc_pf(9), fm10k_iov_assign_int_moderator_pf(9), fm10k_iov_assign_default_mac_vlan_pf(9), fm10k_iov_reset_resources_pf(9), fm10k_iov_set_lport_pf(9), fm10k_iov_reset_lport_pf(9), fm10k_iov_update_stats_pf(9), fm10k_iov_msg_msix_pf(9), fm10k_iov_select_vid(9), fm10k_iov_supported_xcast_mode_pf(9), fm10k_iov_msg_lport_state_pf(9), fm10k_update_hw_stats_pf(9), fm10k_rebind_hw_stats_pf(9), fm10k_set_dma_mask_pf(9), fm10k_get_fault_pf(9), fm10k_request_lport_map_pf(9), fm10k_get_host_state_pf(9), fm10k_msg_lport_map_pf(9), fm10k_msg_update_pvid_pf(9), fm10k_record_global_table_data(9), fm10k_msg_err_pf(9)
mwah π that's the page. source/version vibes: this is the Kernel API Manual, straight out of the kernel source tree at ./drivers/net/ethernet/intel/f... (the path got a lil truncated in the footer, she's shy π), and the date on the footer says October 2026 ποΈβ¨ go forth and update those addresses bestie, iykyk π«Άπ
π¦ 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