Added new actions to the get_ovs_action_attr_str() function.

Fixes: 8bb065961e54 ("dpif: Stub out unimplemented action 
OVS_ACTION_ATTR_DEC_TTL.")
Fixes: 3c8d069b9bc2 ("dpif: Probe support for OVS_ACTION_ATTR_DROP.")
Fixes: 1a3bd96b4fc4 ("odp-util: Add support OVS_ACTION_ATTR_PSAMPLE.")
Signed-off-by: Eelco Chaudron <[email protected]>
---
 utilities/usdt-scripts/dpif_nl_exec_monitor.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/utilities/usdt-scripts/dpif_nl_exec_monitor.py 
b/utilities/usdt-scripts/dpif_nl_exec_monitor.py
index 0a9ff8123..a5cf1a35a 100755
--- a/utilities/usdt-scripts/dpif_nl_exec_monitor.py
+++ b/utilities/usdt-scripts/dpif_nl_exec_monitor.py
@@ -468,9 +468,11 @@ def get_ovs_action_attr_str(attr):
                        "OVS_ACTION_ATTR_CLONE",
                        "OVS_ACTION_ATTR_CHECK_PKT_LEN",
                        "OVS_ACTION_ATTR_ADD_MPLS",
+                       "OVS_ACTION_ATTR_DEC_TTL",
+                       "OVS_ACTION_ATTR_DROP",
+                       "OVS_ACTION_ATTR_PSAMPLE",
                        "OVS_ACTION_ATTR_TUNNEL_PUSH",
                        "OVS_ACTION_ATTR_TUNNEL_POP",
-                       "OVS_ACTION_ATTR_DROP",
                        "OVS_ACTION_ATTR_LB_OUTPUT"]
     if attr < 0 or attr >= len(ovs_action_attr):
         return "<UNKNOWN:{}>".format(attr)
-- 
2.45.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to