summaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorManohar Krishnappa Chidambaraswamy <manohar.krishnappa.chidambaraswamy@ericsson.com>2018-05-10 06:56:22 +0000
committerBen Pfaff <blp@ovn.org>2018-05-10 16:49:16 -0700
commit27a9c0e3035e9e26b445bb567844dc35a340d28f (patch)
tree14dd0691c9433fbafba344ad14d1c6bb86e07e1d /ofproto
parentd0485f488f68e4a40e9aa7df4ebca853d7264441 (diff)
downloadopenvswitch-27a9c0e3035e9e26b445bb567844dc35a340d28f.tar.gz
Add mirror/ovs-tcpdump support for slow protocols' Rx path.
Problem: ======== Received LACP/CFM/BFD/STP/LLDP slow protocols' packets are not captured in ovs-tcpdump. Fix: ==== Add mirror support for slow protocols. Signed-off-by: Manohar K C <manohar.krishnappa.chidambaraswamy@ericsson.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ofproto')
-rw-r--r--ofproto/ofproto-dpif-xlate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index 794893a78..441fa75d7 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -7212,6 +7212,7 @@ xlate_actions(struct xlate_in *xin, struct xlate_out *xout)
*
* We do not perform special processing on thawed packets, since that
* was done before they were frozen and should not be redone. */
+ mirror_ingress_packet(&ctx);
} else if (in_port && in_port->xbundle
&& xbundle_mirror_out(xbridge, in_port->xbundle)) {
xlate_report_error(&ctx, "dropping packet received on port "