[ovs-dev] Why not implement netdev datapath in a separated process

2016-10-12 Thread Huanle Han
Hi, I'm thinking about this quesion, after experience the dpdk feature in ovs. Could you give me some answer? Currently, netdev datapath(or called dpdk) is implemented inside daemon process "ovs-vswitchd". It makes ovs-vswitchd not that stable as before: 1. some ovsbd config for dpdk requires rest

Re: [ovs-dev] question about mirror code

2016-01-25 Thread Huanle Han
2016-01-25 1:00 GMT+08:00 Ben Pfaff : > On Sun, Jan 24, 2016 at 11:59:57PM +0800, Huanle Han wrote: > > I think a more line "mirrors &= ~ctx->mirrors;" is needed at the end of > the > > "while" loop. > > Otherwise, duplicated mirror action may

Re: [ovs-dev] question about mirror code

2016-01-24 Thread Huanle Han
Hi, Ben, I think a more line "mirrors &= ~ctx->mirrors;" is needed at the end of the "while" loop. Otherwise, duplicated mirror action may be applied in recursive mirror_packet called by output_normal. Here are the test cases: Test case for the bug I mentioned in previous mail: 1. setup port: v

[ovs-dev] why drop multicast packets on inactive slaves ?

2016-01-11 Thread Huanle Han
hi, guys, I can't quit understand the code below in function "bond_check_admissibility". Could you do some explanation for me? Why drop the multicast packet on inactive slaves? Will upstream switch output multicast packet to each interface in aggregation? If not, will ovs lose the packet? Because