Thanks Ben. Sorry, i meant frames are getting discarded, not the flows. I
think i get the reason. It's probably because the normal flow and the
flow i installed are of equal priority (0) which may be why it's
probably picking the normal flow whose action is to drop the frame with
reserved DMAC. Now, when i install the flow for LLDP frame, i specify a
priority of 99 and that seems to work.
I have sent the Patch to the dev mailing list along with the description. The
change is basically:
---
a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -1820,7 +1820,8 @@ compose_output_action__(struct xlate_ctx *ctx, ofp_port_t
ofp_port,
xlate_report(ctx, "OFPPC_NO_FWD set, skipping output");
return;
} else if (check_stp) {
- if (eth_addr_equals(ctx->base_flow.dl_dst, eth_addr_stp)) {
+ if (eth_addr_equals(ctx->base_flow.dl_dst, eth_addr_stp) &&
+ (ntohs(ctx->base_flow.dl_type) < ETH_TYPE_IP)) {
Thanks,
Paddu
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss