Re: [ovs-discuss] Help needed to understand code snippet

2015-09-23 Thread Andy Zhou
On Wed, Sep 23, 2015 at 5:55 AM, neeraj mehta wrote: > Hello Team, > > Can you help me in understanding below snippet. > > I was looking at the code in bond.c:bond_compose_learning_packet( ). In > this, function choose_output_slave ( ) can return NULL. And returned pointer > is used as "*port_aux

Re: [ovs-discuss] ovs dpdk vxlan does NOT work

2015-09-23 Thread Pravin Shelar
On Tue, Sep 22, 2015 at 5:49 PM, Na Zhu wrote: > Hi, > > My version is 2.4.90, i download from ovs github and build it myself. > > [root@juno bin]# ./ovs-vsctl --version > ovs-vsctl (Open vSwitch) 2.4.90 > Compiled Sep 19 2015 08:46:02 > DB Schema 7.12.1 > > [root@juno bin]# ./ovs-appctl dpif/sho

[ovs-discuss] OF Group Tables Load Balancing

2015-09-23 Thread Daniel Herrmann
Hi, I am trying to load-balance traffic in a routed scenario and want to use OF group tables for this. However, it seems that only one bucket is selected. I found some thread from mid 2014, which states that only eth_dst is used for matching: http://openvswitch.org/pipermail/discuss/2014-August/

Re: [ovs-discuss] multicast_snooping and multicast_router

2015-09-23 Thread Flavio Leitner
On Wed, Sep 23, 2015 at 05:44:29PM +0200, Petr Horacek wrote: > Hello, > > I have a question: In native Linux bridging we have options > multicast_snooping > and multicast_router [1]. The first one has an alternative in OVS called > mcast_snooping_enable. Is there an alternative for multicast_rout

Re: [ovs-discuss] ovs dpdk vxlan does NOT work

2015-09-23 Thread Na Zhu
Hi Sugesh, Yes, the eth0 is the DPDK port, I tcpdump on eth0 to check whether there is no vxlan packets. What do you mean can not tcpdump on those ports? There is no arp entry for "10.53.87.242" in br0, do you know why? [root@juno ovs-build]# ./bin/ovs-appctl tnl/arp/show IP MAC

Re: [ovs-discuss] ovs dpdk vxlan does NOT work

2015-09-23 Thread Na Zhu
Hi, My version is 2.4.90, i download from ovs github and build it myself. [root@juno bin]# ./ovs-vsctl --version ovs-vsctl (Open vSwitch) 2.4.90 Compiled Sep 19 2015 08:46:02 DB Schema 7.12.1 [root@juno bin]# ./ovs-appctl dpif/show netdev@ovs-netdev: hit:246440 missed:9259 br-vxlan:

[ovs-discuss] RSTP crash in Open vSwitch

2015-09-23 Thread Daniel Swahn
Hi I get the following crash in "Open vSwitch" during system startup: [ 37.294346] ovs-vswitchd[1156]: segfault at 90 ip 004291ca sp 7fff2e7c3080 error 4 in ovs-vswitchd[40+18f000] [ 37.508100] openvswitch: netlink: Key attribute has unexpected length (type=21, length=4, exp

[ovs-discuss] multicast_snooping and multicast_router

2015-09-23 Thread Petr Horacek
Hello, I have a question: In native Linux bridging we have options multicast_snooping and multicast_router [1]. The first one has an alternative in OVS called mcast_snooping_enable. Is there an alternative for multicast_router as well? Best regards, Petr [1] http://www.linuxfoundation.org/collab

[ovs-discuss] Help needed to understand code snippet

2015-09-23 Thread neeraj mehta
Hello Team, Can you help me in understanding below snippet. I was looking at the code in bond.c:bond_compose_learning_packet( ). In this, function choose_output_slave ( ) can return NULL. And returned pointer is used as "*port_aux = slave->aux". How will it work?

Re: [ovs-discuss] ovs dpdk vxlan does NOT work

2015-09-23 Thread Chandran, Sugesh
Regards _Sugesh From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Pravin Shelar Sent: Tuesday, September 22, 2015 10:52 PM To: Na Zhu Cc: b...@openvswitch.org Subject: Re: [ovs-discuss] ovs dpdk vxlan does NOT work On Mon, Sep 21, 2015 at 10:36 PM, Na Zhu mailto:zhunat...@