STRUCT NFP_BPF_VNIC(9)
β¨ struct nfp_bpf_vnic(9) β¨
okay bestie, gather round π this is a page from the Kernel API Manual about struct nfp_bpf_vnic β literally the per-vNIC BPF priv structure, and yes it's as iconic as it sounds π
πΈ NAME πΈ
struct nfp_bpf_vnic β the per-vNIC BPF priv structure, no cap π«Ά
π SYNOPSIS π
struct nfp_bpf_vnic {
struct bpf_prog *tc_prog;
unsigned int start_off;
unsigned int tgt_done;
};
that's the whole vibe right there, three members and she ate π
π¦ Members π¦
tc_progβ the currently loadedcls_bpfprogram. like, the prog that's on duty rn π₯start_offβ the address of the first instruction in the memory. the origin point, the main character β¨tgt_doneβ the jump target to get the next packet. where we yeet ourselves to for the next one πββοΈπ¨
π SEE ALSO π
Kernel file ./drivers/net/ethernet/netronome/nfp/bpf/main.h plus these besties, all linked up:
struct nfp_app_bpf(9)struct nfp_bpf_map(9)struct nfp_bpf_reg_state(9)struct nfp_insn_meta(9)struct nfp_bpf_subprog_info(9)struct nfp_prog(9)
go read them, iykyk π
fr fr bestie, that's the whole page β go forth and vibe-check your vNIC ππ
and that's a wrap π this lil gem comes from ./drivers/net/ethernet/netrono... and is dated October 2026 β slay, see u then βπ§π
π¦ 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