Hi OVS.
i am using rev 2.3.2+29bae5412ea3c6a1e20d79afd25c11b968dffa05-r0
As you can see from my gdb backtrace 13K frames deep below we get an arp
request because build_tunnel_send (frame 13659 below) decided we're
starting to use a gre tunnel on a bridge and there's no arp cache for the
destination yet.
so what follows is xlate_flood_packet -> ofproto_dpif_execute_actions ->
xlate_actions -> do_xlate_actions -> xlate_output_action -> flood_packet
-> compose_output_action -> compose_output_action__ -> xlate_table_action
-> xlate_recusively
-> do_xlate_actions (* a few actions) then we get back to
compose_output_action__ and build_tunnel_send again.
So infinitely the code will generate arp packets, but never deliver any of
the arps out to the linux stack and keeps re-entering till it exhausts the
stack
How do i stop this?
The arp packet is set up with OFPP_FLOOD. I am not sure that this is
correct since i just want it pushed out to the linux stack to find me a
destination ?
Maybe this is the hint that something is not right?
My situation looks like:
dpdk0 traffic in -> br0 bridge -> netdev-vport gre out -> linux stack ->
breth1 internal interface -> breth1 bridge -> dpdk1 -> some gre destination
on a network.
Cheers,
Dave.
#13600 0x000000000056d04b in compose_output_action__
(ctx=ctx@entry=0x7f402f7ef290,
ofp_port=<optimized out>, xr=xr@entry=0x0, check_stp=check_stp@entry=true)
at ofproto/ofproto-dpif-xlate.c:2865
#13601 0x000000000056de1a in compose_output_action (xr=0x0,
ofp_port=<optimized out>, ctx=0x7f402f7ef290)
at ofproto/ofproto-dpif-xlate.c:3072
#13602 flood_packets (ctx=ctx@entry=0x7f402f7ef290, all=all@entry=false)
at ofproto/ofproto-dpif-xlate.c:3441
#13603 0x000000000056e312 in xlate_output_action (ctx=ctx@entry=0x7f402f7ef290,
port=<optimized out>, max_len=<optimized out>,
may_packet_in=may_packet_in@entry=true)
at ofproto/ofproto-dpif-xlate.c:3791
#13604 0x000000000056a945 in do_xlate_actions
(ofpacts=ofpacts@entry=0x7f402f7f0980,
ofpacts_len=ofpacts_len@entry=8, ctx=ctx@entry=0x7f402f7ef290)
at ofproto/ofproto-dpif-xlate.c:4239
#13605 0x000000000056fda1 in xlate_actions (xin=xin@entry=0x7f402f7efe80,
xout=xout@entry=0x7f402f7efde0)
at ofproto/ofproto-dpif-xlate.c:5112
#13606 0x000000000055a39e in ofproto_dpif_execute_actions
(ofproto=0xa30eb0, flow=flow@entry=0x7f402f7f0f80, rule=rule@entry=0x0,
ofpacts=ofpacts@entry=0x7f402f7f0980, ofpacts_len=ofpacts_len@entry=8,
packet=packet@entry=0x7f402f7f0b80) at / /ofproto/ofproto-dpif.c:3670
#13607 0x000000000056d5ad in xlate_flood_packet (xbridge=0x35a8b00,
packet=0x7f402f7f0b80)
at / /ofproto/ofproto-dpif-xlate.c:2704
#13608 tnl_send_arp_request (out_dev=<optimized out>, ip_dst=1294734859,
ip_src=<optimized out>, eth_src=0x7f402f7f0640 "")
at / /ofproto/ofproto-dpif-xlate.c:2720
#13609 build_tunnel_send (xport=<optimized out>, tunnel_odp_port=26,
flow=0x7f402f7f3a48, ctx=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:2761
#13610 compose_output_action__ (ctx=ctx@entry=0x7f402f7f2e50,
ofp_port=<optimized out>, xr=xr@entry=0x0, check_stp=check_stp@entry=true)
at / /ofproto/ofproto-dpif-xlate.c:3022
#13611 0x000000000056e356 in compose_output_action (xr=0x0,
ofp_port=<optimized out>, ctx=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:3072
#13612 xlate_output_action (ctx=ctx@entry=0x7f402f7f2e50, port=<optimized
out>, max_len=<optimized out>, may_packet_in=may_packet_in@entry=true)
at / /ofproto/ofproto-dpif-xlate.c:3808
#13613 0x000000000056a945 in do_xlate_actions (ofpacts=<optimized out>,
ofpacts_len=8, ctx=ctx@entry=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:4239
#13614 0x000000000056c2fa in xlate_recursively (rule=0xadf9a0,
ctx=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:3091
#13615 xlate_table_action (ctx=0x7f402f7f2e50, in_port=<optimized out>,
table_id=<optimized out>, may_packet_in=<optimized out>,
honor_table_miss=<optimized out>)
at / /ofproto/ofproto-dpif-xlate.c:3156
#13616 0x000000000056b845 in do_xlate_actions (ofpacts=<optimized out>,
ofpacts_len=6, ctx=ctx@entry=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:4596
#13617 0x000000000056c2fa in xlate_recursively (rule=0xad7dc0,
ctx=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:3091
#13618 xlate_table_action (ctx=0x7f402f7f2e50, in_port=<optimized out>,
table_id=<optimized out>, may_packet_in=<optimized out>,
honor_table_miss=<optimized out>)
at / /ofproto/ofproto-dpif-xlate.c:3156
#13619 0x000000000056b845 in do_xlate_actions (ofpacts=<optimized out>,
ofpacts_len=6, ctx=ctx@entry=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:4596
---Type <return> to continue, or q <return> to quit---
#13620 0x000000000056c2fa in xlate_recursively (rule=0xad78d0,
ctx=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:3091
#13621 xlate_table_action (ctx=0x7f402f7f2e50, in_port=<optimized out>,
table_id=<optimized out>, may_packet_in=<optimized out>,
honor_table_miss=<optimized out>)
at / /ofproto/ofproto-dpif-xlate.c:3156
#13622 0x000000000056b845 in do_xlate_actions (ofpacts=<optimized out>,
ofpacts_len=6, ctx=ctx@entry=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:4596
#13623 0x000000000056c2fa in xlate_recursively (rule=0xad76c0,
ctx=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:3091
#13624 xlate_table_action (ctx=0x7f402f7f2e50, in_port=<optimized out>,
table_id=<optimized out>, may_packet_in=<optimized out>,
honor_table_miss=<optimized out>)
at / /ofproto/ofproto-dpif-xlate.c:3156
#13625 0x000000000056d04b in compose_output_action__
(ctx=ctx@entry=0x7f402f7f2e50,
ofp_port=<optimized out>, xr=xr@entry=0x0, check_stp=check_stp@entry=true)
at / /ofproto/ofproto-dpif-xlate.c:2865
#13626 0x000000000056de1a in compose_output_action (xr=0x0,
ofp_port=<optimized out>, ctx=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:3072
#13627 flood_packets (ctx=ctx@entry=0x7f402f7f2e50, all=all@entry=false)
at / /ofproto/ofproto-dpif-xlate.c:3441
#13628 0x000000000056e312 in xlate_output_action (ctx=ctx@entry=0x7f402f7f2e50,
port=<optimized out>, max_len=<optimized out>,
may_packet_in=may_packet_in@entry=true)
at / /ofproto/ofproto-dpif-xlate.c:3791
#13629 0x000000000056a945 in do_xlate_actions
(ofpacts=ofpacts@entry=0x7f402f7f4540,
ofpacts_len=ofpacts_len@entry=8, ctx=ctx@entry=0x7f402f7f2e50)
at / /ofproto/ofproto-dpif-xlate.c:4239
#13630 0x000000000056fda1 in xlate_actions (xin=xin@entry=0x7f402f7f3a40,
xout=xout@entry=0x7f402f7f39a0)
at / /ofproto/ofproto-dpif-xlate.c:5112
#13631 0x000000000055a39e in ofproto_dpif_execute_actions
(ofproto=0xa30eb0, flow=flow@entry=0x7f402f7f4b40, rule=rule@entry=0x0,
ofpacts=ofpacts@entry=0x7f402f7f4540, ofpacts_len=ofpacts_len@entry=8,
packet=packet@entry=0x7f402f7f4740) at / /ofproto/ofproto-dpif.c:3670
#13632 0x000000000056d5ad in xlate_flood_packet (xbridge=0x35a8b00,
packet=0x7f402f7f4740)
at / /ofproto/ofproto-dpif-xlate.c:2704
#13633 tnl_send_arp_request (out_dev=<optimized out>, ip_dst=1294734859,
ip_src=<optimized out>, eth_src=0x7f402f7f4200 "")
at / /ofproto/ofproto-dpif-xlate.c:2720
#13634 build_tunnel_send (xport=<optimized out>, tunnel_odp_port=26,
flow=0x7f402f7f7608, ctx=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:2761
#13635 compose_output_action__ (ctx=ctx@entry=0x7f402f7f6a10,
ofp_port=<optimized out>, xr=xr@entry=0x0, check_stp=check_stp@entry=true)
at / /ofproto/ofproto-dpif-xlate.c:3022
#13636 0x000000000056e356 in compose_output_action (xr=0x0,
ofp_port=<optimized out>, ctx=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:3072
#13637 xlate_output_action (ctx=ctx@entry=0x7f402f7f6a10, port=<optimized
out>, max_len=<optimized out>, may_packet_in=may_packet_in@entry=true)
at / /ofproto/ofproto-dpif-xlate.c:3808
#13638 0x000000000056a945 in do_xlate_actions (ofpacts=<optimized out>,
ofpacts_len=8, ctx=ctx@entry=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:4239
#13639 0x000000000056c2fa in xlate_recursively (rule=0xadf9a0,
ctx=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:3091
---Type <return> to continue, or q <return> to quit---
#13640 xlate_table_action (ctx=0x7f402f7f6a10, in_port=<optimized out>,
table_id=<optimized out>, may_packet_in=<optimized out>,
honor_table_miss=<optimized out>)
at / /ofproto/ofproto-dpif-xlate.c:3156
#13641 0x000000000056b845 in do_xlate_actions (ofpacts=<optimized out>,
ofpacts_len=6, ctx=ctx@entry=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:4596
#13642 0x000000000056c2fa in xlate_recursively (rule=0xad7dc0,
ctx=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:3091
#13643 xlate_table_action (ctx=0x7f402f7f6a10, in_port=<optimized out>,
table_id=<optimized out>, may_packet_in=<optimized out>,
honor_table_miss=<optimized out>)
at / /ofproto/ofproto-dpif-xlate.c:3156
#13644 0x000000000056b845 in do_xlate_actions (ofpacts=<optimized out>,
ofpacts_len=6, ctx=ctx@entry=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:4596
#13645 0x000000000056c2fa in xlate_recursively (rule=0xad78d0,
ctx=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:3091
#13646 xlate_table_action (ctx=0x7f402f7f6a10, in_port=<optimized out>,
table_id=<optimized out>, may_packet_in=<optimized out>,
honor_table_miss=<optimized out>)
at / /ofproto/ofproto-dpif-xlate.c:3156
#13647 0x000000000056b845 in do_xlate_actions (ofpacts=<optimized out>,
ofpacts_len=6, ctx=ctx@entry=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:4596
#13648 0x000000000056c2fa in xlate_recursively (rule=0xad76c0,
ctx=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:3091
#13649 xlate_table_action (ctx=0x7f402f7f6a10, in_port=<optimized out>,
table_id=<optimized out>, may_packet_in=<optimized out>,
honor_table_miss=<optimized out>)
at / /ofproto/ofproto-dpif-xlate.c:3156
#13650 0x000000000056d04b in compose_output_action__
(ctx=ctx@entry=0x7f402f7f6a10,
ofp_port=<optimized out>, xr=xr@entry=0x0, check_stp=check_stp@entry=true)
at / /ofproto/ofproto-dpif-xlate.c:2865
#13651 0x000000000056de1a in compose_output_action (xr=0x0,
ofp_port=<optimized out>, ctx=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:3072
#13652 flood_packets (ctx=ctx@entry=0x7f402f7f6a10, all=all@entry=false)
at / /ofproto/ofproto-dpif-xlate.c:3441
#13653 0x000000000056e312 in xlate_output_action (ctx=ctx@entry=0x7f402f7f6a10,
port=<optimized out>, max_len=<optimized out>,
may_packet_in=may_packet_in@entry=true)
at / /ofproto/ofproto-dpif-xlate.c:3791
#13654 0x000000000056a945 in do_xlate_actions
(ofpacts=ofpacts@entry=0x7f402f7f8100,
ofpacts_len=ofpacts_len@entry=8, ctx=ctx@entry=0x7f402f7f6a10)
at / /ofproto/ofproto-dpif-xlate.c:4239
#13655 0x000000000056fda1 in xlate_actions (xin=xin@entry=0x7f402f7f7600,
xout=xout@entry=0x7f402f7f7560)
at / /ofproto/ofproto-dpif-xlate.c:5112
#13656 0x000000000055a39e in ofproto_dpif_execute_actions
(ofproto=0xa30eb0, flow=flow@entry=0x7f402f7f8700, rule=rule@entry=0x0,
ofpacts=ofpacts@entry=0x7f402f7f8100, ofpacts_len=ofpacts_len@entry=8,
packet=packet@entry=0x7f402f7f8300) at / /ofproto/ofproto-dpif.c:3670
#13657 0x000000000056d5ad in xlate_flood_packet (xbridge=0x35a8b00,
packet=0x7f402f7f8300)
at / /ofproto/ofproto-dpif-xlate.c:2704
#13658 tnl_send_arp_request (out_dev=<optimized out>, ip_dst=1294734859,
ip_src=<optimized out>, eth_src=0x7f402f7f7dc0 "")
at / /ofproto/ofproto-dpif-xlate.c:2720
#13659 build_tunnel_send (xport=<optimized out>, tunnel_odp_port=26,
flow=0x7f402f7fa248, ctx=0x7f402f7f9210)
at / /ofproto/ofproto-dpif-xlate.c:2761
---Type <return> to continue, or q <return> to quit---
#13660 compose_output_action__ (ctx=ctx@entry=0x7f402f7f9210,
ofp_port=<optimized out>, xr=xr@entry=0x0, check_stp=check_stp@entry=true)
at / /ofproto/ofproto-dpif-xlate.c:3022
#13661 0x000000000056e356 in compose_output_action (xr=0x0,
ofp_port=<optimized out>, ctx=0x7f402f7f9210)
at / /ofproto/ofproto-dpif-xlate.c:3072
#13662 xlate_output_action (ctx=ctx@entry=0x7f402f7f9210, port=<optimized
out>, max_len=<optimized out>, may_packet_in=may_packet_in@entry=true)
at / /ofproto/ofproto-dpif-xlate.c:3808
#13663 0x000000000056a945 in do_xlate_actions (ofpacts=<optimized out>,
ofpacts_len=8, ctx=ctx@entry=0x7f402f7f9210)
at / /ofproto/ofproto-dpif-xlate.c:4239
#13664 0x000000000056c2fa in xlate_recursively (rule=0xadf9a0,
ctx=0x7f402f7f9210)
at / /ofproto/ofproto-dpif-xlate.c:3091
#13665 xlate_table_action (ctx=0x7f402f7f9210, in_port=<optimized out>,
table_id=<optimized out>, may_packet_in=<optimized out>,
honor_table_miss=<optimized out>)
at / /ofproto/ofproto-dpif-xlate.c:3156
#13666 0x000000000056b845 in do_xlate_actions
(ofpacts=ofpacts@entry=0x7f4000004b30,
ofpacts_len=ofpacts_len@entry=8, ctx=ctx@entry=0x7f402f7f9210)
at / /ofproto/ofproto-dpif-xlate.c:4596
#13667 0x000000000056fda1 in xlate_actions (xin=0x7f402f7fa240,
xout=0x7f402f7fa548)
at / /ofproto/ofproto-dpif-xlate.c:5112
#13668 0x00000000005652b5 in upcall_xlate (wc=<optimized out>,
odp_actions=<optimized out>, upcall=<optimized out>, udpif=<optimized out>)
at / /ofproto/ofproto-dpif-upcall.c:989
#13669 process_upcall (udpif=0xa2cea0, upcall=0x7f402f7fa4f0,
odp_actions=0x7f402f7fae70, wc=0x1, wc@entry=0x588d83
<dp_netdev_upcall+131>)
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss