Mirroring received LACP packets to help in debugging LACP issues.

Co-authored-by: Manohar Krishnappa Chidambaraswamy <man...@gmail.com>
Signed-off-by: Manohar Krishnappa Chidambaraswamy <man...@gmail.com>
Signed-off-by: Nitin Katiyar <nitin.kati...@ericsson.com>
---
 ofproto/ofproto-dpif-xlate.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index acd4817..111f36e 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -3308,6 +3308,7 @@ process_special(struct xlate_ctx *ctx, const struct xport 
*xport)
     } else if (xport->xbundle && xport->xbundle->lacp
                && flow->dl_type == htons(ETH_TYPE_LACP)) {
         if (packet) {
+            mirror_ingress_packet(ctx);
             lacp_process_packet(xport->xbundle->lacp, xport->ofport, packet);
         }
         slow = SLOW_LACP;
-- 
1.9.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to