fm10k_queue_mac_request(9)
π fm10k_queue_mac_request(9) π
okay so bestie, this is a page from the Kernel API Manual β yes, that Kernel API Manual β and it's all about fm10k_queue_mac_request, which is genuinely one of those little functions that just does its job and doesn't need a whole personality. but we're giving it one anyway π
β¨ NAME β¨
fm10k_queue_mac_request β queue a MAC update request π
πΈ SYNOPSIS πΈ
int fm10k_queue_mac_request (struct fm10k_intfc *interface , u16 glort ,
const unsigned char *addr , u16 vid , bool set );
like, that's the whole vibe check right there π
π¦ ARGUMENTS π¦
interfaceβ the fm10k interface structure. this is the main character, the context of everything π«Άglortβ the target glort for this update. it's au16, it's important, don't sleep on it βaddrβ the address to update. it's aconst unsigned char *, so like, you're not gonna be out here editing it β¨vidβ the vid to update. also au16, also iconic πsetβ whether to add or remove. it's abool, so it's giving simple, it's giving decisive, love that for you π
π₯ DESCRIPTION π₯
so here's the tea, bestie: this function queues up a MAC request for sending to the switch manager. that's the whole job. it slides your request into the queue and lets somebody else handle the actual sending π
and who's that somebody? a separate thread. not this function, not you β a whole other thread monitors the queue and sends updates to the switch manager. so like, this is very much a "drop it off and go" situation, no cap π§
return values, because we always check them:
0β success, we ate, periodt π- negative error code β failure, and yes it's a negative error code specifically, not just "an error", so pay attention π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_setup_tx_resources(9)fm10k_setup_all_tx_resources(9)fm10k_setup_rx_resources(9)fm10k_setup_all_rx_resources(9)fm10k_clean_tx_ring(9)fm10k_free_tx_resources(9)fm10k_clean_all_tx_rings(9)fm10k_free_all_tx_resources(9)fm10k_clean_rx_ring(9)fm10k_free_rx_resources(9)fm10k_clean_all_rx_rings(9)fm10k_free_all_rx_resources(9)fm10k_request_glort_range(9)fm10k_restore_udp_port_info(9)fm10k_udp_tunnel_sync(9)fm10k_open(9)fm10k_close(9)fm10k_tx_timeout(9)fm10k_host_mbx_ready(9)fm10k_queue_vlan_request(9)fm10k_clear_macvlan_queue(9)fm10k_get_stats64(9)
okay that's the page!! mwah π and for the sign-off β this one's sourced from ./drivers/net/ethernet/intel/f... and dated October 2026, and it's still out here being fm10k_queue_mac_request(9). slay, honestly ππ¦π
π¦ 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