[ovs-dev] [patch_v1] dpif: Fix cleanup of userspace datapath.

2017-06-22 Thread Darrell Ball
Hardware offload introduced extra tracking of netdev ports. This included ovs-netdev, which is really for internal infra usage for the userpace datapath. This breaks cleanup of the userspace datapath. There is no need to do this extra tracking of this port, hence it is skipped by checking for th

[ovs-dev] 答复: 答复: [ovs-discuss] rpmbuild failure for ovs_dpdk

2017-06-22 Thread 王志克
Thanks Darrell. I just want to confirm whether static link of dpdk library is supported or not for rpm build. From below discuss, it seems only dynamic link is supported. https://mail.openvswitch.org/pipermail/ovs-dev/2015-November/306324.html @Flavio, Appreciate your idea. Br, Wang Zhike -

[ovs-dev] 答复: [PATCH] pkt reassemble: fix kernel panic for ovs reassemble

2017-06-22 Thread 王志克
Hi Joe, Please check the attachment. Thanks. Br, Wang Zhike -邮件原件- 发件人: Joe Stringer [mailto:j...@ovn.org] 发送时间: 2017年6月23日 8:20 收件人: 王志克 抄送: d...@openvswitch.org 主题: Re: [ovs-dev] [PATCH] pkt reassemble: fix kernel panic for ovs reassemble On 21 June 2017 at 18:54, 王志克 wrote: > Ovs a

Re: [ovs-dev] [PATCH] pkt reassemble: fix kernel panic for ovs reassemble

2017-06-22 Thread Joe Stringer
On 21 June 2017 at 18:54, 王志克 wrote: > Ovs and kernel stack would add frag_queue to same netns_frags list. > As result, ovs and kernel may access the fraq_queue without correct > lock. Also the struct ipq may be different on kernel(older than 4.3), > which leads to invalid pointer access. > > The

Re: [ovs-dev] Fail to netdev_open internal iface with error "File exists"

2017-06-22 Thread Ben Pfaff
On Thu, Jun 22, 2017 at 04:04:44PM -0300, Flavio Leitner wrote: > On Thu, Jun 22, 2017 at 01:04:59AM +0800, Huanle Han wrote: > > Hi,all > > > > I get this problem with latest(dbd8112) branch-2.7 code on my Ubuntu. > > root@ubuntu:/var/log/# ovs-vsctl show > > adf2ea99-0c53-4180-914f-7dadaa71302b

[ovs-dev] [PATCH] packets: Reorganize the pkt_metdata structure.

2017-06-22 Thread Bhanuprakash Bodireddy
pkt_metadata_init() is called for every packet in userspace datapath and initializes few members in pkt_metadata. Before this the members that needs to be initialized are prefetched using pkt_metadata_prefetch_init(). The above functions are critical to the userspace datapath performance and shoul

[ovs-dev] [PATCH] packets: Do not initialize ct_orig_tuple.

2017-06-22 Thread Bhanuprakash Bodireddy
Commit "odp: Support conntrack orig tuple key." introduced new fields in struct 'pkt_metadata'. pkt_metadata_init() is called for every packet in the userspace datapath. When testing a simple single flow case with DPDK, we observe a lower throughput after the above commit (it was 14.88 Mpps befor

[ovs-dev] [PATCH v9] netdev-dpdk: Increase pmd thread priority.

2017-06-22 Thread Bhanuprakash Bodireddy
Increase the DPDK pmd thread scheduling priority by lowering the nice value. This will advise the kernel scheduler to prioritize pmd thread over other processes and will help PMD to provide deterministic performance in out-of-the-box deployments. This patch sets the nice value of PMD threads to '-

Re: [ovs-dev] [PATCH] datapath-windows: Add validations for IP_HEADER_LEN

2017-06-22 Thread Guru Shetty
On 15 June 2017 at 15:15, Shashank Ram wrote: > Adds validations in OvsGetIp() to make sure the IHL is > within valid bounds. If IHL is invalid, then the packet > is dropped by the callers of this function. > > Signed-off-by: Shashank Ram > Applied, thanks. > --- > datapath-windows/ovsext/Flow

Re: [ovs-dev] Fail to netdev_open internal iface with error "File exists"

2017-06-22 Thread Flavio Leitner
On Thu, Jun 22, 2017 at 01:04:59AM +0800, Huanle Han wrote: > Hi,all > > I get this problem with latest(dbd8112) branch-2.7 code on my Ubuntu. > root@ubuntu:/var/log/# ovs-vsctl show > adf2ea99-0c53-4180-914f-7dadaa71302b > Bridge test > Port test > Interface test >

[ovs-dev] [PATCH] datapath-windows: Include ICMP type and code fields to find a matching ct entry

2017-06-22 Thread Anand Kumar
In conntrack lookup, ICMP type and code fields were not being used to determine a matching entry. As a result, ICMP4_ECHO_REQUEST packet could be tracked as ICMP4_ECHO_REPLY packet and vice versa, which is invalid. To fix this, add ICMP type and code fields for matching a conntrack entry. Also upd

[ovs-dev] Sync on PTAP, EXT-382 and NSH - Wed 2017-06-28 14:00 CET

2017-06-22 Thread Jan Scheurich
Hi, Focus on getting PTAP series merged and attack the review of two remaining series 1. Generic Encap/Decap (EXT 382) for Ethernet and 2. Basic NSH MD1 including Encap/Decap for NSH Thank you, Jan Link to the Google design doc: https://docs.google.com/document/d/1oWMYUH8sjZJzWa72o2q9kU0N6pNE-r

Re: [ovs-dev] 答复: [ovs-discuss] rpmbuild failure for ovs_dpdk

2017-06-22 Thread Darrell Ball
This may not be the best list to help here. Maybe a Centos mailing list, possibly or one of the gnu mailing lists. Some information that may be useful for your email to one of these lists: What version of glibc are you using rpm -q glibc in your case What version of libtool libtool --version W

Re: [ovs-dev] Wachtwoord verlopen

2017-06-22 Thread Moreno Zagal Carlos (Codelco-Chuquicamata)
De: Moreno Zagal Carlos (Codelco-Chuquicamata) Enviado: jueves, 22 de junio de 2017 3:58 Para: Moreno Zagal Carlos (Codelco-Chuquicamata) Asunto: Wachtwoord verlopen Geachte e-mail gebruiker. Uw Outlook EMAIL ACCOUNT PASSWORD verloopt Vandaag, en u wordt verzocht

Re: [ovs-dev] [PATCH] ofproto-dpif-ipfix: add support for per-flow drop counters

2017-06-22 Thread Szczerbik, PrzemyslawX
Hi Ben, I'm having issues with configuring flows to see "sample" or "clone" actions during IPFIX upcall. Most of the time I only see "userspace" and "output" actions, which surprises me quite a bit. Even when I configure per-bridge IPFIX sampling there is no "sample" action. I'd appreciate any

[ovs-dev] 答复: [ovs-discuss] rpmbuild failure for ovs_dpdk

2017-06-22 Thread 王志克
Hi, I saw below output when executing the rpmbuild. I guess it is the root cause, since it refuses to link static lib. checking if gcc -std=gnu99 static flag -static works... no I tested that if I compile the dpdk to shared library, then the ovs rpmbuild will succeed. However, even if I inst