Skip to content

Commit 306dc21

Browse files
apconolekuba-moo
authored andcommitted
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: 25f16c8 ("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>
1 parent ecfcc6f commit 306dc21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/net/openvswitch/ovs-dpctl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class dp_cmd_msg(ovs_dp_msg):
6262
nla_map = (
6363
("OVS_DP_ATTR_UNSPEC", "none"),
6464
("OVS_DP_ATTR_NAME", "asciiz"),
65-
("OVS_DP_ATTR_UPCALL_PID", "uint32"),
65+
("OVS_DP_ATTR_UPCALL_PID", "array(uint32)"),
6666
("OVS_DP_ATTR_STATS", "dpstats"),
6767
("OVS_DP_ATTR_MEGAFLOW_STATS", "megaflowstats"),
6868
("OVS_DP_ATTR_USER_FEATURES", "uint32"),

0 commit comments

Comments
 (0)