STRUCT VPORT_UPCALL_STATS_PERCPU(9)
π struct vport_upcall_stats_percpu β Kernel API Manual β¨
okay so bestie, welcome to the manual page for struct vport_upcall_stats_percpu β it's the per-cpu packet upcall statistics for a given vport. yes, that's a lot of words, but it's literally just a little bookkeeping struct that keeps track of how your upcalls went. we stan a tidy data structure π
πΈ SYNOPSIS πΈ
struct vport_upcall_stats_percpu {
struct u64_stats_sync syncp;
u64_stats_t n_success;
u64_stats_t n_fail;
};
that's the whole thing, bestie. three members, no drama. π¦
β¨ Members β¨
π the fields, one by one
syncpβ the synchronization point for the 64bit counters. it's giving "line up, besties, no chaotic reads in this house" π₯n_successβ the number of packets whose upcall to userspace succeeded. slay, the packets made it ππn_failβ the number of packets whose upcall to userspace failed. it happens, we don't judge, we just count it ππ
π SEE ALSO π
- Kernel file
./net/openvswitch/vport.h struct vport_portids(9)struct vport(9)struct vport_parms(9)struct vport_ops(9)vport_priv(9)vport_from_priv(9)
go read those too, iykyk β they're all hanging out in the same kernel file and they're lowkey iconic πβ
ngl,n_successandn_failare 64bit counters, so please respect thesyncpβ it's there for a reason, bestie π
okay that's the whole page, mwah π this came from ./net/openvswitch, dated October 2026, and it's the struct vport...stats_percpu(9) page β catch you in the next one, bestie π«Άπ§π
π¦ 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