STRUCT NFP_TUN_MAC_ADDR_OFFLOAD(9)
π struct nfp_tun_mac_addr_offload(9)
okay bestie, welcome to the Kernel API Manual β¨ β today's hyperfixation is a lil struct called struct nfp_tun_mac_addr_offload, and its whole personality is configuring the MAC address of the tunnel EP on NFP. that's it, that's the job. iconic behavior honestly π
πΈ NAME
struct nfp_tun_mac_addr_offload β configure MAC address of tunnel EP on NFP π¦
like yes queen, go off, tell that NFP what MAC address the tunnel endpoint is rocking.
β¨ SYNOPSIS
struct nfp_tun_mac_addr_offload {
__be16 flags;
__be16 count;
__be16 index;
u8 addr[ETH_ALEN];
};
look at her. four members, all business, zero filler π
π«Ά Members
flagsβ MAC address offload options. it's the little settings girlie of the group, keeping track of what options are in play π₯countβ number of MAC addresses in the message. and the manpage is very specific here: it should be 1. so likeβ¦ don't be extra, bestie πindexβ index of MAC address in the lookup table. it's giving "where do i sit in the spreadsheet" energy πaddrβ interface MAC address. the actual MAC, the main character, the moment π
π§ SEE ALSO
peep the whole friend group π:
- Kernel file
./drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c struct nfp_tun_pre_tun_rule(9)struct nfp_tun_active_tuns(9)struct nfp_tun_active_tuns_v6(9)struct nfp_tun_req_route_ipv4(9)struct nfp_tun_req_route_ipv6(9)struct nfp_offloaded_route(9)struct nfp_tun_ipv4_addr(9)struct nfp_ipv4_addr_entry(9)struct nfp_tun_ipv6_addr(9)struct nfp_neigh_update_work(9)struct nfp_tun_offloaded_mac(9)
ngl that's a whole squad and honestly every single one of them ate ππ₯
no cap, this is a kernel struct so if you're reading it you're probably already in the source. go touch some tunnel_conf.c and slay π¦
and that's the whole page, bestie π β brought to you by the source at ./drivers/net/ethernet/netrono... and dated October 2026 β. mwah, stay hydrated, drink water, read your structs πππ
π¦ 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