Home
last modified time | relevance | path

Searched refs:dp_nlsk_pids (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/net/openvswitch/
H A Ddatapath.c1657 struct dp_nlsk_pids *old, *dp_nlsk_pids; in ovs_dp_set_upcall_portids() local
1664 dp_nlsk_pids = kmalloc(sizeof(*dp_nlsk_pids) + nla_len(ids), in ovs_dp_set_upcall_portids()
1666 if (!dp_nlsk_pids) in ovs_dp_set_upcall_portids()
1681 struct dp_nlsk_pids *dp_nlsk_pids; in ovs_dp_get_upcall_portid() local
1685 if (dp_nlsk_pids) { in ovs_dp_get_upcall_portid()
1686 if (cpu_id < dp_nlsk_pids->n_pids) { in ovs_dp_get_upcall_portid()
1687 return dp_nlsk_pids->pids[cpu_id]; in ovs_dp_get_upcall_portid()
1688 } else if (dp_nlsk_pids->n_pids > 0 && in ovs_dp_get_upcall_portid()
1689 cpu_id >= dp_nlsk_pids->n_pids) { in ovs_dp_get_upcall_portid()
1696 return dp_nlsk_pids->pids[cpu_id % in ovs_dp_get_upcall_portid()
[all …]
H A Ddatapath.h63 struct dp_nlsk_pids { struct
110 struct dp_nlsk_pids __rcu *upcall_portids;