]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: openvswitch: adjust datapath NL message declaration
authorAaron Conole <aconole@redhat.com>
Wed, 12 Apr 2023 11:58:28 +0000 (07:58 -0400)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Wed, 17 May 2023 11:34:11 +0000 (13:34 +0200)
commit188d3be3b8e4e047025c81ac84c98fd726ef16d6
tree225eb4ff05b2df884f69e2ad5f581a8df29eb702
parent21525581faf468ab38091975b4ab484ecacac0d3
selftests: openvswitch: adjust datapath NL message declaration

BugLink: https://bugs.launchpad.net/bugs/2017219
[ Upstream commit 306dc21361993f4fe50a15d4db6b1a4de5d0adb0 ]

The netlink message for creating a new datapath takes an array
of ports for the PID creation.  This shouldn't cause much issue
but correct it for future cases where we need to do decode of
datapath information that could include the per-cpu PID map.

Fixes: 25f16c873fb1 ("selftests: add openvswitch selftest suite")
Signed-off-by: Aaron Conole <aconole@redhat.com>
Link: https://lore.kernel.org/r/20230412115828.3991806-1-aconole@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
tools/testing/selftests/net/openvswitch/ovs-dpctl.py