summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAaron Conole <aconole@redhat.com>2023-04-12 14:58:28 +0300
committerJakub Kicinski <kuba@kernel.org>2023-04-13 20:01:23 +0300
commit306dc21361993f4fe50a15d4db6b1a4de5d0adb0 (patch)
treeae363e205ae7130bb908b6d88238d3a4d86fc9b8 /tools
parentecfcc6fbeb57c6b076cddba99f04c6e800b61dff (diff)
downloadlinux-306dc21361993f4fe50a15d4db6b1a4de5d0adb0.tar.xz
selftests: openvswitch: adjust datapath NL message declaration
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/net/openvswitch/ovs-dpctl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/openvswitch/ovs-dpctl.py b/tools/testing/selftests/net/openvswitch/ovs-dpctl.py
index 3243c90d449e..5d467d1993cb 100644
--- a/tools/testing/selftests/net/openvswitch/ovs-dpctl.py
+++ b/tools/testing/selftests/net/openvswitch/ovs-dpctl.py
@@ -62,7 +62,7 @@ class OvsDatapath(GenericNetlinkSocket):
nla_map = (
("OVS_DP_ATTR_UNSPEC", "none"),
("OVS_DP_ATTR_NAME", "asciiz"),
- ("OVS_DP_ATTR_UPCALL_PID", "uint32"),
+ ("OVS_DP_ATTR_UPCALL_PID", "array(uint32)"),
("OVS_DP_ATTR_STATS", "dpstats"),
("OVS_DP_ATTR_MEGAFLOW_STATS", "megaflowstats"),
("OVS_DP_ATTR_USER_FEATURES", "uint32"),