fm10k_restore_udp_port_info(9)
π fm10k_restore_udp_port_info β from the Kernel API Manual (section 9, bestie) β¨
Okay so welcome to the glow-up era of the kernel docs. This page lives in the Kernel API Manual, section 9, and it's all about one lil function that has one job and does it slayfully.
π NAME π
fm10k_restore_udp_port_info β
(no cap, the original name line just trails off with a dash, so likeβ¦ the name IS the description here. main character energy. iykyk π )
β¨ SYNOPSIS β¨
void fm10k_restore_udp_port_info (struct fm10k_intfc *interface );
That's it. It returns void, it takes one pointer, and it has zero drama. periodt.
π«Ά ARGUMENTS π«Ά
interfaceβ the board private structure π literally the fm10k interface struct you're handing over so it can do its thing.
πΈ DESCRIPTION πΈ
So here's the vibe check: after a reset happens, this function restores the value in the tunnel_cfg register(s). That's the whole assignment, and it ate. π₯
Think of it like this β reset just wiped the tunnel_cfg register(s) back to factory settings (rude), and fm10k_restore_udp_port_info is the bestie who shows up after and puts your UDP tunnel port config back exactly how you had it. no cap, no notes. π¦
It's void, so don't be waiting around for a return value β there isn't one, she simply does the thing and dips. π
π SEE ALSO π
π§ the kernel file
./drivers/net/ethernet/intel/fm10k/fm10k_netdev.cβ the kernel file where all of this lives, go read it fr fr π
β the whole fm10k friend group (all section 9, all iconic)
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_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_queue_mac_request(9)fm10k_clear_macvlan_queue(9)fm10k_get_stats64(9)
Like, that's the entire group chat and they all said "add me to the SEE ALSO" π and honestly? love that for them.
π quick reminder bestie: this page is sourced from./drivers/net/ethernet/intel/f...(the truncated-looking one, yeah that's literally how it's printed, don't @ me) and it's dated October 2026. Drink some water, go readfm10k_netdev.c, and stan a kernel function that only does one thing. ππ§β¨
π¦ 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