Re: [ovs-discuss] transmit hash policy with lacp

2012-03-05 Thread Kristoffer Egefelt
*ovs-appctl bond/show bond0 on both sending and receiving server:* * * *root@node0301:*/home/Kristoffer# ovs-appctl bond/show bond0 bond_mode: balance-tcp bond-hash-algorithm: balance-tcp bond-hash-basis: 0 updelay: 0 ms downdelay: 0 ms next rebalance: 9692 ms lacp_negotiated: true slave eth1: ena

[ovs-discuss] Switch architecture of OVS userspace switch

2012-03-05 Thread HuJingfei
Hi, all,I'm newbie to OVS. I know there are quite a lot of switch architectures such as Shared Memory, Shared Medium, Crossbar, Banyan and so on. Could anyone tell me the userspace OVS switch's architecture please? Forgive me for my stupid question. Cheers, Jfhu

Re: [ovs-discuss] Design of lib/dpif-netdev.c

2012-03-05 Thread Jingfei Hu
Thanks for your reply, Ben, I've already read lib/dpif-provider.h, and known that struct dpif_class abstract some basic functions of one switch. I need to emulate a switch (e.g., 4 input ports and output ports), setup a network arrival pattern(e.g., bernoulli process), then monitor the switch's per

Re: [ovs-discuss] Promble about supporting 8021p

2012-03-05 Thread Ben Pfaff
On Sun, Mar 04, 2012 at 05:10:18AM +, likunyun wrote: > Recently I did some test about supporting 8021p. Because of the NIC > driver, I have to set the physical NIC's vlan-splinter to be true. > The frame's vlan priorty si set to be 0 while it being send out by the > physical NIC. The V

Re: [ovs-discuss] transmit hash policy with lacp

2012-03-05 Thread Ben Pfaff
Yes, I'd expect that to work (assuming that "ab" means "application"). What does "ovs-appctl bond/show " print? On Mon, Mar 05, 2012 at 09:39:59AM +0100, Kristoffer Egefelt wrote: > I see. > Then shouldn't a simple ab with 2 or more sessions balance the traffic > across 2 uplinks, using source po

Re: [ovs-discuss] transmit hash policy with lacp

2012-03-05 Thread Kristoffer Egefelt
I see. Then shouldn't a simple ab with 2 or more sessions balance the traffic across 2 uplinks, using source port hashing? It looks like this is not the case when I'm testing on v1.3.0... Thanks On Fri, Mar 2, 2012 at 10:36 PM, Ben Pfaff wrote: > Looking at the documentation, it says, "such as