summaryrefslogtreecommitdiff
path: root/ovn/utilities
diff options
context:
space:
mode:
authorNuman Siddique <nusiddiq@redhat.com>2019-04-23 00:53:55 +0530
committerBen Pfaff <blp@ovn.org>2019-04-22 12:56:53 -0700
commite3fcc19d8b1924be2b9dcef5671955c80c6493fb (patch)
tree0d63bd320feb5cfb3ce1f120c9c14735bf396589 /ovn/utilities
parent5e35f78ad6e5ac04768b410169ab7b3272f04ac1 (diff)
downloadopenvswitch-e3fcc19d8b1924be2b9dcef5671955c80c6493fb.tar.gz
ovn: Support OVS action 'check_pkt_larger' in OVN
Previous commit added a new OVS action 'check_pkt_larger'. This patch supports that action in OVN. The syntax to use this would be reg0[0] = check_pkt_larger(LEN) Upcoming commit will make use of this action in ovn-northd and will generate an ICMPv4 packet if the packet length is greater than the specified length. Signed-off-by: Numan Siddique <nusiddiq@redhat.com> Acked-by: Mark Michelson <mmichels@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovn/utilities')
-rw-r--r--ovn/utilities/ovn-trace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ovn/utilities/ovn-trace.c b/ovn/utilities/ovn-trace.c
index 28e2bb075..9718077aa 100644
--- a/ovn/utilities/ovn-trace.c
+++ b/ovn/utilities/ovn-trace.c
@@ -2134,8 +2134,10 @@ trace_actions(const struct ovnact *ovnacts, size_t ovnacts_len,
case OVNACT_OVNFIELD_LOAD:
execute_ovnfield_load(ovnact_get_OVNFIELD_LOAD(a), super);
break;
- }
+ case OVNACT_CHECK_PKT_LARGER:
+ break;
+ }
}
ds_destroy(&s);
}