openvswitch: add OVS_DP_ATTR_PER_CPU_PIDS to get requests
authorAndrey Zhadchenko <andrey.zhadchenko@virtuozzo.com>
Thu, 25 Aug 2022 02:04:50 +0000 (05:04 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 27 Aug 2022 02:31:21 +0000 (19:31 -0700)
commit347541e299d50c154f69ead0fcac2917a63e4481
tree9d4f28353719840bae6d488edad6bf534cabadd4
parent54c4ef34c4b6f9720fded620e2893894f9f2c554
openvswitch: add OVS_DP_ATTR_PER_CPU_PIDS to get requests

CRIU needs OVS_DP_ATTR_PER_CPU_PIDS to checkpoint/restore newest
openvswitch versions.
Add pids to generic datapath reply. Limit exported pids amount to
nr_cpu_ids.

Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko@virtuozzo.com>
Acked-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/openvswitch/datapath.c