]> git.proxmox.com Git - mirror_ovs.git/commitdiff
Add mirror/ovs-tcpdump support for slow protocols' Rx path.
authorManohar Krishnappa Chidambaraswamy <manohar.krishnappa.chidambaraswamy@ericsson.com>
Thu, 10 May 2018 06:56:22 +0000 (06:56 +0000)
committerBen Pfaff <blp@ovn.org>
Thu, 10 May 2018 23:49:16 +0000 (16:49 -0700)
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>
ofproto/ofproto-dpif-xlate.c

index 794893a78c67236891364451c1935ede3809a37b..441fa75d78d18208b1ebe18cf1b42c00777ed676 100644 (file)
@@ -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 "