STRUCT DP_NLSK_PIDS(9)
π¦ struct dp_nlsk_pids(9) π¦
okay so bestie, welcome to the Kernel API Manual β¨ β today we're looking at struct dp_nlsk_pids, and honestly? she's a little baddie with one specific job π
πΈ NAME πΈ
struct dp_nlsk_pids β an array of netlink portids for a datapath π₯
it's the girl who shows up when OVS_DP_F_DISPATCH_UPCALL_PER_CPU is enabled, and ngl she must be protected by rcu β no cap, that's non-negotiable π«Ά
π SYNOPSIS π
struct dp_nlsk_pids {
struct rcu_head rcu;
u32 n_pids;
u32 pids[];
};
look at her. three little members. iconic πβ¨
π Members π
rcuβ the RCU callback head for deferred destruction π§ she's the cleanup crew, lowkey just waiting her turn.n_pidsβ size of thepidsarray π literally just the headcount, bestie.pidsβ the array storing the Netlink socket PIDs, indexed by CPU ID, for packets that miss the flow table π so when a packet doesn't match anything, this is who gets pinged. per-CPU dispatch energy fr fr π
β SEE ALSO β
- the Kernel file
./net/openvswitch/datapath.h struct dp_stats_percpu(9)struct datapath(9)struct ovs_skb_cb(9)struct dp_upcall_info(9)struct ovs_net(9)enum ovs_pkt_hash_types(9)
go read them!! they're all in the same friend group, iykyk π
ngl bestie, remember: rcu protection is the whole vibe check here. skip it and things get real cursed real fast ππ
and that's a wrap on this one, cutie π this page lives in ./net/openvswitch and it was dated October 2026 β mwah, slay, periodt ππ¦β¨
π¦ 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