Re: [ovs-dev] [PATCH v3] route-table: Remove netdevs in netdev_hash when deleted

2017-08-13 Thread fukaige
> -Original Message- > From: Tonghao Zhang [mailto:xiangxia.m@gmail.com] > Sent: Thursday, August 10, 2017 9:23 AM > To: fukaige > Cc: ovs dev > Subject: Re: [ovs-dev] [PATCH v3] route-table: Remove netdevs in netdev_hash > when deleted > > why not remove the function of route_table_

Re: [ovs-dev] [PATCH v3 4/4] dp-packet: Use memcpy on dp_packet elements.

2017-08-13 Thread Darrell Ball
Could you show some throughput results for a particular tests ? -Original Message- From: on behalf of "antonio.fische...@intel.com" Date: Friday, August 11, 2017 at 8:52 AM To: "d...@openvswitch.org" Subject: [ovs-dev] [PATCH v3 4/4] dp-packet: Use memcpy on dp_packet elements.

Re: [ovs-dev] [PATCH v3 3/4] conntrack: pass current time to conntrack_execute.

2017-08-13 Thread Darrell Ball
I did not try it yet, but seems reasonable -Original Message- From: on behalf of "antonio.fische...@intel.com" Date: Friday, August 11, 2017 at 8:52 AM To: "d...@openvswitch.org" Subject: [ovs-dev] [PATCH v3 3/4] conntrack: pass current time to conntrack_execute. Current ti

Re: [ovs-dev] [PATCH v3 2/4] dpif-netdev: Avoid reading RSS hash when EMC is disabled

2017-08-13 Thread Darrell Ball
I did not try it yet, but seems reasonable If the hash is needed for something else, it will be read at that point. -Original Message- From: on behalf of "antonio.fische...@intel.com" Date: Friday, August 11, 2017 at 8:52 AM To: "d...@openvswitch.org" Subject: [ovs-dev] [PATCH v3 2/4]

Re: [ovs-dev] [PATCH v3 1/4] dpif-netdev: Skip EMC lookup/insert for recirc packets

2017-08-13 Thread Darrell Ball
-Original Message- From: on behalf of "antonio.fische...@intel.com" Date: Friday, August 11, 2017 at 8:52 AM To: "d...@openvswitch.org" Subject: [ovs-dev] [PATCH v3 1/4] dpif-netdev: Skip EMC lookup/insert for recirc packets When OVS is configured as a firewall, with thous

Re: [ovs-dev] OVS 2.9 Intel Roadmap

2017-08-13 Thread Darrell Ball
Any prioritization or other qos features missing ? -Original Message- From: on behalf of "Stokes, Ian" Date: Friday, August 11, 2017 at 8:54 AM To: "ovs-dev@openvswitch.org" Subject: [ovs-dev] OVS 2.9 Intel Roadmap Below are the features that Intel are planning to submit for the

Re: [ovs-dev] [PATCH] rhel: Add support for "systemctl reload openvswitch"

2017-08-13 Thread Markos Chandras
On 08/08/2017 11:01 PM, Timothy M. Redaelli wrote: > > The script is actually "specialized" to how Fedora/RHEL starts > openvswitch since, I think, only Fedora/RHEL have ovsdb-server and > ovs-vswitchd as splitted systemd unit files. For the record, SUSE uses the same approach > [...] > > Sound

[ovs-dev] [patch_v2 3/3] tests: Enhance the pmd stats test.

2017-08-13 Thread Darrell Ball
The pmd stats test is enhanced to include megaflow stats counting and checking. Signed-off-by: Darrell Ball --- tests/pmd.at | 19 +++ 1 file changed, 19 insertions(+) diff --git a/tests/pmd.at b/tests/pmd.at index b6732ea..0b1731a 100644 --- a/tests/pmd.at +++ b/tests/pmd.at @@

[ovs-dev] [patch_v2 2/3] dpif-netdev: Refactor some pmd stats.

2017-08-13 Thread Darrell Ball
The per packets stats are presently overlapping in that miss stats include lost stats; make these stats non-overlapping for clarity and make this clear in the dp_stat_type enum. This also eliminates the need to increment two 'miss' stats for a single packet. The subtable lookup stats is renamed t

[ovs-dev] [patch_v2 1/3] dpif-netdev: Fix per packet cycles statistics.

2017-08-13 Thread Darrell Ball
From: Ilya Maximets DP_STAT_LOOKUP_HIT statistics used mistakenly for calculation of total number of packets. This leads to completely wrong per packet cycles statistics. For example: emc hits:0 megaflow hits:253702308 avg. subtable lookups per hit:1.50 miss:0

[ovs-dev] [patch_v2 0/3] dpif-netdev: Fix and refactor pmd stats.

2017-08-13 Thread Darrell Ball
Fix total pmd stats calculation, refactor pmd stats and enhance the pmd stats test. Darrell Ball (2): dpif-netdev: Refactor some pmd stats. tests: Enhance the pmd stats test. Ilya Maximets (1): dpif-netdev: Fix per packet cycles statistics. lib/dpif-netdev.c | 59 +

Re: [ovs-dev] [PATCH RFC v3 4/4] dpif-netdev: Time based output batching.

2017-08-13 Thread Jan Scheurich
> This allows to collect packets from more than one RX burst > and send them together with a configurable maximum latency. > > 'other_config:output-max-latency' can be used to configure > time that a packet can wait in output batch for sending. > > Signed-off-by: Ilya Maximets > --- > Notes: >

Re: [ovs-dev] [PATCH v3 0/4] Output packet batching.

2017-08-13 Thread Jan Scheurich
Hi Ilya, Thanks for providing these patches. We appreciate a simple/maintainable approach to Tx batching. In our use cases time-based Tx batching across multiple Rx batches provides the biggest value, so we will focus on the complete series including the final RFC patch. BR, Jan > -Orig

Re: [ovs-dev] [PATCH 1/2] dpif-netdev: Keep latest measured time for PMD thread.

2017-08-13 Thread Jan Scheurich
> > For me struct dp_netdev_pmd_thread is *the* the PMD thread context in > dpif-netdev. I don't really see the benefit of creating a sub-struct > dp_netdev_pmd_thread_ctx and moving certain data into that. Can you > explain your motivation? > > Hello Jan, > > IMHO all other fields in struct dp_n

Re: [ovs-dev] [PATCH net-next v2] openvswitch: enable NSH support

2017-08-13 Thread Jan Scheurich
> From: Jiri Benc [mailto:jb...@redhat.com] > Sent: Friday, 11 August, 2017 12:23 > > On Fri, 11 Aug 2017 10:09:36 +, Jan Scheurich wrote: > > Unless someone can explain to me why the datapath should understand the > > internal structure/format of metadata in push_nsh, I would strongly > > vot

Re: [ovs-dev] Running OVS on a wireless node

2017-08-13 Thread Raymond Burkholder
On 08/13/17 12:15, Sgh snhz wrote: I want to run OVS on a wireless node in an emulator. After running ovsdb and ovs-vswitchd, I am confused how to create a bridge or configure the switch to work on wireless nodes (with only one interface). Could you help me to configure OVS in wireless nodes?

[ovs-dev] Running OVS on a wireless node

2017-08-13 Thread Sgh snhz
Hello, I want to run OVS on a wireless node in an emulator. After running ovsdb and ovs-vswitchd, I am confused how to create a bridge or configure the switch to work on wireless nodes (with only one interface). Could you help me to configure OVS in wireless nodes? Thank you in advance

Re: [ovs-dev] [patch_v5] dp-packet: Reset DPDK HWOL checksum flags on init.

2017-08-13 Thread Chandran, Sugesh
Regards _Sugesh > -Original Message- > From: Darrell Ball [mailto:db...@vmware.com] > Sent: Thursday, August 10, 2017 5:15 PM > To: Chandran, Sugesh ; Ben Pfaff > > Cc: d...@openvswitch.org > Subject: Re: [ovs-dev] [patch_v5] dp-packet: Reset DPDK HWOL checksum > flags on init. > > >

Re: [ovs-dev] [PATCH v2 2/3] ovs-router: Set suitable type to netdev_open().

2017-08-13 Thread Tonghao Zhang
On Sat, Aug 12, 2017 at 1:15 AM, Ben Pfaff wrote: > I don't know. This patch seems to say that it fixes a problem if we > revert commit 8c2c225e481d ("netdev: Fix netdev_open() to track and > recreate classless interfaces"). That patch hasn't been reverted. > Given that, can you explain the valu