[ovs-discuss] dpif inline documentation needs to be updated

2016-04-07 Thread Zhang Qiang
Hi all, At lib/dpif.h line 117(as of git master d61fbed) the comment says: > Refer to OVS_KEY_ATTR_* and "struct ovs_key_*" in include/odp-netlink.h for details. But the file include/odp-netlink.h doesn't exist any more. Quick searches with OVS_KEY_ATTR_ and ovs_key_ didn't indicate where odp-net

Re: [ovs-discuss] dpif inline documentation needs to be updated

2016-04-07 Thread Zhang Qiang
Thanks Jesse, I'll send a patch. On 8 April 2016 at 05:42, Jesse Gross wrote: > On Thu, Apr 7, 2016 at 2:22 PM, Zhang Qiang wrote: > > Hi all, > > > > At lib/dpif.h line 117(as of git master d61fbed) the comment says: > >> Refer to OVS_KEY_ATTR_* and "st

[ovs-discuss] How to start ovs with dpdk options via systemd?

2016-04-19 Thread Zhang Qiang
Hi all, Is there any way to systemctl start openvswitch.service with dpdk options(e.g. --dpdk -c 0x1 -n 4 --socket-mem 1024,1024)? In another words, how to make dpdk configurations persistent through ovs service and system reboots in a friendly way? I saw a configuration file /etc/sysconfig/openv

Re: [ovs-discuss] How to start ovs with dpdk options via systemd?

2016-04-19 Thread Zhang Qiang
ilto:discuss-boun...@openvswitch.org] On Behalf Of > > Christian Ehrhardt > > Sent: Tuesday, April 19, 2016 10:49 AM > > To: Zhang Qiang > > Cc: discuss > > Subject: Re: [ovs-discuss] How to start ovs with dpdk options via > > systemd? > > > > Hi, &g

[ovs-discuss] Possible issue on systemd script

2016-04-20 Thread Zhang Qiang
Hi all, In https://github.com/openvswitch/ovs/blob/master/utilities/ovs-ctl.in (/usr/share/openvswitch/scripts/ovs-ctl in rhel), the set_defaults function seems to override the user-provided values in /etc/sysconfig/openvswitch. /etc/sysconfig/openvswitch is the EnvironmentFile of the service con

[ovs-discuss] DPDK bandwidth issue

2016-10-18 Thread Zhang Qiang
Hi all, I'm using ovs 2.5.90 built with dpdk 16.04-1 on CentOS 7.2(3.10.0-327). Seems the network bandwidth drops severely with dpdk enabled, especially with dpdkbond. With the following setup, the bandwidth is only around 30Mbits/s: > ovs-vsctl show 72b1bac3-0f7d-40c9-9b84-cabeff7f5521 Bridge "o

Re: [ovs-discuss] DPDK bandwidth issue

2016-10-18 Thread Zhang Qiang
ckup and balance-slb modes, and balance-tcp is not supported by the physical switch, none of them change the situation. On 10/19/2016 06:04 AM, Geza Gemes wrote: > On 10/19/2016 05:37 AM, Zhang Qiang wrote: >> Hi all, >> >> I'm using ovs 2.5.90 built with dpdk 16.04-1 o