[ovs-dev] [PATCH] LACP-Rx packets are not captured in ovs-tcpdump.
Nitin Katiyar
nitin.katiyar at ericsson.com
Wed Feb 13 10:51:18 UTC 2019
Mirroring received LACP packets to help in debugging LACP issues.
Co-authored-by: Manohar Krishnappa Chidambaraswamy <manukc at gmail.com>
Signed-off-by: Manohar Krishnappa Chidambaraswamy <manukc at gmail.com>
Signed-off-by: Nitin Katiyar <nitin.katiyar at 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
More information about the dev
mailing list