[ovs-discuss] Flows for passing LLDP frames with NCB address, possible fix.
Padmanabhan Krishnan
kprad1 at yahoo.com
Thu Apr 24 08:17:33 UTC 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140424/f1a14ecb/attachment-0002.html>
More information about the discuss
mailing list