Re: [ovs-dev] [PATCH v3 1/1] ovs-thread: Fix thread id for threads not started with ovs_thread_create()

2018-06-01 Thread Ilya Maximets
On 01.06.2018 16:18, Eelco Chaudron wrote: > When ping-pong'in a live VM migration between two machines running > OVS-DPDK every now and then the ping misses would increase > dramatically. For example: > > ===Stream Rate: 3Mpps=== > No Stream_Rate Downtime Totaltime Ping_Loss Moong

Re: [ovs-dev] [PATCH v4 1/1] ovs-thread: Fix thread id for threads not started with ovs_thread_create()

2018-06-04 Thread Ilya Maximets
ll to > ovsthread_id_self(). > > Signed-off-by: Eelco Chaudron Fixes: f3e7ec254738 ("Update relevant artifacts to add support for DPDK 17.05.1.") Acked-by: Ilya Maximets ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [ovs-dev, 2/2] ovs-vswitchd: Do not use system routing table with --disable-system.

2018-06-04 Thread Ilya Maximets
| 19 +-- > lib/ovs-router.h| 3 +++ > vswitchd/ovs-vswitchd.c | 2 ++ > 3 files changed, 22 insertions(+), 2 deletions(-) Hello, Ben. Is it possible to backport these two patches to stable branch-2.9? I have constant unit test failures on my local setup. Best reg

Re: [ovs-dev] [RFC v7 11/13] netdev-dpdk: copy large packet to multi-seg. mbufs

2018-06-05 Thread Ilya Maximets
On 23.05.2018 19:47, Tiago Lam wrote: > From: Mark Kavanagh > > Currently, packets are only copied to a single segment in > the function dpdk_do_tx_copy(). This could be an issue in > the case of jumbo frames, particularly when multi-segment > mbufs are involved. > > This patch calculates the nu

[ovs-dev] [PATCH] tests/stp: Make validation of flows before changing of topology.

2018-06-05 Thread Ilya Maximets
From: Ivan Dyukov The change fixes random stp test failure. Accuracy is about 20%. Failed test is following: 2337: STP - flush the fdb and mdb when topology changed In some cases, a validation is executed after topology change and it increase time of stp stabilization. To prevent this, delay whi

Re: [ovs-dev] [ovs-dev, 2/2] ovs-vswitchd: Do not use system routing table with --disable-system.

2018-06-06 Thread Ilya Maximets
On 06.06.2018 02:02, Ben Pfaff wrote: > On Mon, Jun 04, 2018 at 04:49:28PM +0300, Ilya Maximets wrote: >> On 01.04.2018 03:12, Ben Pfaff wrote: >>> The --disable-system option indicates that the user wants to avoid using >>> the host's datapath. This is also a go

Re: [ovs-dev] 64Byte packet performance regression on 2.9 from 2.7

2018-06-15 Thread Ilya Maximets
ges since 2.7. It'll be hard to track down the root cause. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v2] netdev-dpdk: fix snprintf call

2018-06-15 Thread Ilya Maximets
ke sense in v2. Other than that: Acked-by: Ilya Maximets > > Suggested-by: Ben Pfaff > Signed-off-by: Aaron Conole > --- > lib/netdev-dpdk.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c > index a76

Re: [ovs-dev] 64Byte packet performance regression on 2.9 from 2.7

2018-06-18 Thread Ilya Maximets
CC: Shahaji Bhosle Sorry, missed you in CC list. Best regards, Ilya Maximets. On 15.06.2018 10:44, Ilya Maximets wrote: >> Hi, >> I just upgraded from OvS 2.7 + DPDK 16.11 to OvS2.9 + DPDK 17.11 and >> running into performance issue with 64 Byte packet rate. One interesti

Re: [ovs-dev] [PATCH v1] Avoid dp_hash recirculation for balance-tcp bond selection mode

2018-06-18 Thread Ilya Maximets
le other ports will be underloaded. This will be a bad case for tunnelling where we have only few heavy flows. As I understood, this version of bonding doesn't support any load statistics. Best regards, Ilya Maximets. > Problem: > > In OVS-DPDK, flows with output over a

Re: [ovs-dev] 64Byte packet performance regression on 2.9 from 2.7

2018-06-18 Thread Ilya Maximets
because successful "POLLING" cycles are now included into "PROCESSING". Best regards, Ilya Maximets. On 18.06.2018 16:31, Shahaji Bhosle wrote: > Hi Ilya, > Thanks for the quick reply,  > Please find the numbers for our PHY-PHY test, please note that with OVS 2.

Re: [ovs-dev] [PATCH] rconn: Introduce new invariant to fix assertion failure in corner case.

2018-06-18 Thread Ilya Maximets
3054|rconn|INFO|br-int<->unix#2876: connected 2018-06-18T12:55:10.609Z|03055|rconn|INFO|br-int<->unix#2877: connected 2018-06-18T12:55:12.609Z|03056|rconn|INFO|br-int<->unix#2878: connected 2018-06-18T12:55:12.609Z|03057|rconn|INFO|br-int<->unix#2879: connected 2018-06-1

Re: [ovs-dev] [PATCH] rconn: Introduce new invariant to fix assertion failure in corner case.

2018-06-18 Thread Ilya Maximets
On 18.06.2018 18:07, Ben Pfaff wrote: > On Mon, Jun 18, 2018 at 05:18:49PM +0300, Ilya Maximets wrote: >>> On Wed, May 23, 2018 at 09:28:59PM -0700, Ben Pfaff wrote: >>>> On Wed, May 23, 2018 at 06:06:44PM -0700, Han Zhou wrote: >>>>> On Wed, Ma

Re: [ovs-dev] OVS (master) + DPDK(17.11) + multi-queue

2018-06-19 Thread Ilya Maximets
Hi, According to your log, your NIC has limited size of tx queues: 2018-06-19T04:34:46.106Z|00089|dpdk|ERR|PMD: Unsupported size of TX queue (max size: 1024) This means that you have to configure 'n_txq_desc' <= 1024 in order to configure your NIC

Re: [ovs-dev] [PATCH] rconn: Introduce new invariant to fix assertion failure in corner case.

2018-06-19 Thread Ilya Maximets
On 18.06.2018 22:25, Ben Pfaff wrote: > On Mon, Jun 18, 2018 at 09:31:43AM -0700, Han Zhou wrote: >> On Mon, Jun 18, 2018 at 8:34 AM, Ilya Maximets >> wrote: >>> >>> On 18.06.2018 18:07, Ben Pfaff wrote: >>>> On Mon, Jun 18, 2018 at 05:18:49PM +030

Re: [ovs-dev] [PATCH] rconn: Introduce new invariant to fix assertion failure in corner case.

2018-06-19 Thread Ilya Maximets
On 18.06.2018 22:24, Ben Pfaff wrote: > On Mon, Jun 18, 2018 at 06:34:13PM +0300, Ilya Maximets wrote: >> On 18.06.2018 18:07, Ben Pfaff wrote: >>> On Mon, Jun 18, 2018 at 05:18:49PM +0300, Ilya Maximets wrote: >>>>> On Wed, May 23, 2018 at 09:28:59PM -0700, Ben P

Re: [ovs-dev] [PATCH] rconn: Introduce new invariant to fix assertion failure in corner case.

2018-06-20 Thread Ilya Maximets
On 19.06.2018 19:03, Ben Pfaff wrote: > On Tue, Jun 19, 2018 at 10:58:36AM +0300, Ilya Maximets wrote: >> On 18.06.2018 22:24, Ben Pfaff wrote: >>> On Mon, Jun 18, 2018 at 06:34:13PM +0300, Ilya Maximets wrote: >>>> On 18.06.2018 18:07, Ben Pfaff wrote: >>&g

[ovs-dev] [PATCH] rconn: Suppress 'connected' log for unreliable connections.

2018-06-20 Thread Ilya Maximets
-by: Ben Pfaff Fixes: c9a9b9b00bf5 ("rconn: Introduce new invariant to fix assertion failure in corner case.") Signed-off-by: Ilya Maximets --- lib/rconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rconn.c b/lib/rconn.c index 7af4e73.

Re: [ovs-dev] 64Byte packet performance regression on 2.9 from 2.7

2018-06-20 Thread Ilya Maximets
ybe it's the performance issue with bnxt driver that you're using. There was too many changes in that driver: 30 files changed, 17189 insertions(+), 3358 deletions(-) Best regards, Ilya Maximets. On 20.06.2018 01:18, Shahaji Bhosle wrote: > Hi Ilya, > This issue is a release b

Re: [ovs-dev] OVS (master) + DPDK(17.11) + multi-queue

2018-06-20 Thread Ilya Maximets
On 19.06.2018 22:41, Ravi Kerur wrote: > Hi, > > > On Tue, Jun 19, 2018 at 12:27 AM Ilya Maximets <mailto:i.maxim...@samsung.com>> wrote: > > Hi, > According to your log, your NIC has limited size of tx queues: > >   2018-06-19T04:34:46.106Z|000

Re: [ovs-dev] 64Byte packet performance regression on 2.9 from 2.7

2018-06-20 Thread Ilya Maximets
1 queue 10.4+10.4 14 > 16.11 testpmd 6 queue 21.5 + 21.5 60 > 1 queue 10.4+10.4 14 > > > On Wed, Jun 20, 2018 at 4:52 AM, Ilya Maximets <mailto:i.maxim...@samsung.com&g

Re: [ovs-dev] [PATCH v8 04/13] netdev-dpdk: Serialise non-pmds mbufs' alloc/free.

2018-06-26 Thread Ilya Maximets
On 26.06.2018 12:19, Eelco Chaudron wrote: > > > On 22 Jun 2018, at 21:03, Lam, Tiago wrote: > >> On 18/06/2018 12:28, Eelco Chaudron wrote: >>> >>> >>> On 11 Jun 2018, at 18:21, Tiago Lam wrote: >>> A new mutex, 'nonpmd_mp_mutex', has been introduced to serialise allocation and free o

Re: [ovs-dev] [PATCH v8 04/13] netdev-dpdk: Serialise non-pmds mbufs' alloc/free.

2018-06-26 Thread Ilya Maximets
On 26.06.2018 15:32, Eelco Chaudron wrote: > > > On 26 Jun 2018, at 12:02, Ilya Maximets wrote: > >> On 26.06.2018 12:19, Eelco Chaudron wrote: >>> >>> >>> On 22 Jun 2018, at 21:03, Lam, Tiago wrote: >>> >>>> On 18/06/2018 12:28

Re: [ovs-dev] [PATCH] rconn: Suppress 'connected' log for unreliable connections.

2018-07-02 Thread Ilya Maximets
So, what about this patch? Best regards, Ilya Maximets. On 20.06.2018 10:44, Ilya Maximets wrote: > Recent assertion failure fix changed rconn workflow for unreliable > connections (such as connections from ovs-ofctl) from > > |rconn|DBG|br-int<->unix#151: entering ACTIV

Re: [ovs-dev] 64Byte packet performance regression on 2.9 from 2.7

2018-07-02 Thread Ilya Maximets
st regards, Ilya Maximets. On 27.06.2018 04:48, Shahaji Bhosle wrote: > Hi Ilya, > Just wanted to check if you found anything interesting. Or anything we can > try. Thanks, Shahaji > > On Wed, Jun 20, 2018 at 9:01 AM, Shahaji Bhosle <mailto:shahaji.bho...@broadcom.com&g

Re: [ovs-dev] 64Byte packet performance regression on 2.9 from 2.7

2018-07-02 Thread Ilya Maximets
his. > Thanks, Shahaji > > > On Mon, Jul 2, 2018 at 10:55 AM, Ilya Maximets <mailto:i.maxim...@samsung.com>> wrote: > > Hi. > Sorry for late response. > > Looking at your perf data, I see functions like "dp_packet_batch_size" >

Re: [ovs-dev] 64Byte packet performance regression on 2.9 from 2.7

2018-07-10 Thread Ilya Maximets
h time your test works for one case? 10. What is the NUMA/threads topology of your system? (To be sure that your cpu cores are not siblings/located on different NUMA) Best regards, Ilya Maximets. On 09.07.2018 20:36, Jay Ding wrote: > Hi Ilya, > > Here is the test result for performanc

Re: [ovs-dev] [ovs-dev, v4] dpif-netdev: Avoid reordering of packets in a batch with same megaflow

2018-07-10 Thread Ilya Maximets
Not a full review. One comment inline. Best regards, Ilya Maximets. On 10.07.2018 00:13, Vishal Deep Ajmera wrote: > OVS reads packets in batches from a given port and packets in the > batch are subjected to potentially 3 levels of lookups to identify > the datapath megaflow entry

[ovs-dev] [PATCH] conntrack: Fix using alg_exp_entry out of scope.

2018-07-10 Thread Ilya Maximets
'alg_exp_entry' is allocated on stack memory, but could be used via 'alg_exp' pointer inside 'write_ct_md' function, i.e. outside its scope. CC: Darrell Ball Fixes: bd5e81a0e596 ("Userspace Datapath: Add ALG infra and FTP.") Signed-off-by: Ilya Maxime

Re: [ovs-dev] [ovs-dev, v4] dpif-netdev: Avoid reordering of packets in a batch with same megaflow

2018-07-10 Thread Ilya Maximets
ions was intended to hide internals of batch manipulations. Also, as I understand, you're storing 'map_cnt' for each missed packet. So, why not just use 'n_missed' for that purpose? Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v4 12/15] netdev-dpdk: support multi-segment jumbo frames

2018-07-10 Thread Ilya Maximets
On 10.07.2018 15:30, Eelco Chaudron wrote: > > > On 10 Jul 2018, at 13:06, Tiago Lam wrote: > >> From: Mark Kavanagh >> >> Currently, jumbo frame support for OvS-DPDK is implemented by >> increasing the size of mbufs within a mempool, such that each mbuf >> within the pool is large enough to co

Re: [ovs-dev] [ovs-dev, v4] dpif-netdev: Avoid reordering of packets in a batch with same megaflow

2018-07-10 Thread Ilya Maximets
On 10.07.2018 17:48, Vishal Deep Ajmera wrote: >> >> This is potentially dangerous from the future modifications and hard to read >> for >> reviewer/person who tries to understand how it works. >> >> Current implementation will fail if someone will change the logic of >> 'DP_PACKET_BATCH_REFILL_FO

Re: [ovs-dev] [ovs-dev, v5] dpif-netdev: Avoid reordering of packets in a batch with same megaflow

2018-07-16 Thread Ilya Maximets
Comments inline. It'll be nice if you will add me in CC for the next versions. Thanks. Best regards, Ilya Maximets. On 11.07.2018 15:22, Vishal Deep Ajmera wrote: > OVS reads packets in batches from a given port and packets in the > batch are subjected to potentially 3 levels of

Re: [ovs-dev] [PATCH v6 00/13] Support multi-segment mbufs

2018-07-24 Thread Ilya Maximets
mbuf, but will be much more elegant, and will allow to eliminate all the OVS_NOT_REACHED cases. Best regards, Ilya Maximets. On 24.07.2018 17:25, Tiago Lam wrote: > Overview > > This patchset introduces support for multi-segment mbufs to OvS-DPDK. > Multi-segment mbufs are ty

[ovs-dev] [PATCH] dpif-netdev: Fix zero length keys insertion to EMC.

2018-07-25 Thread Ilya Maximets
'key.len' should be calculated before inserting to EMC, otherwise resulting entry will match with any packet with the same hash. CC: Yipeng Wang Fixes: 60d8ccae135f ("dpif-netdev: Add SMC cache after EMC cache") Signed-off-by: Ilya Maximets --- lib/dpif-netdev.c | 2 +

[ovs-dev] [PATCH 0/9] tests: Clean up syslog.

2018-08-01 Thread Ilya Maximets
lt timeout applied to control utils in a subshell. * tests refactored to be more readable. * testsuite execution speed up. Ilya Maximets (9): tests: Simplify the setting of aliases. tests: Set default timeout for utils in subshell. tests: Disable syslog by default for control utils. test

[ovs-dev] [PATCH 1/9] tests: Simplify the setting of aliases.

2018-08-01 Thread Ilya Maximets
There is no need to create a separate function for each alias. This will simplify adding new default options and utils. Signed-off-by: Ilya Maximets --- tests/ovs-macros.at | 35 +-- 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/tests/ovs

[ovs-dev] [PATCH 2/9] tests: Set default timeout for utils in subshell.

2018-08-01 Thread Ilya Maximets
. Signed-off-by: Ilya Maximets --- tests/ofproto-macros.at | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index 2a56ae6..96219cd 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -107,7 +107,17

[ovs-dev] [PATCH 3/9] tests: Disable syslog by default for control utils.

2018-08-01 Thread Ilya Maximets
syslog messages from unit tests are not useful and only litter the system logs on build / test machines. Signed-off-by: Ilya Maximets --- tests/ofproto-macros.at | 2 +- tests/ovs-macros.at | 6 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/ofproto-macros.at b

[ovs-dev] [PATCH 6/9] tests: Drop full logging for ovs-ofctl.

2018-08-01 Thread Ilya Maximets
'-v' option removed. Found no reason to have fully verbose output from these ovs-ofctl calls. Signed-off-by: Ilya Maximets --- tests/ofproto.at | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/ofproto.at b/tests/ofproto.at index d6c6e9a..f57c

[ovs-dev] [PATCH 4/9] tests: Disable syslog for daemons.

2018-08-01 Thread Ilya Maximets
We can not just make an alias for deamons because many of them has logging options in their command lines. Let's handle them one by one. Additionally, it's a good chance to wrap all the very long lines for better readability. Signed-off-by: Ilya Maximets --- tests/ofproto-macros.at

[ovs-dev] [PATCH 5/9] tests: Enable only file logging by vlog/set appctl.

2018-08-01 Thread Ilya Maximets
Logs enabled by 'appctl vlog/set' are commonly only used for 'check_logs' at the end of the test. No need to enable any other logs except for file. Patch made automatically by sed replace. Signed-off-by: Ilya Maximets --- tests/dpif-netdev.at | 10

[ovs-dev] [PATCH 7/9] tests: Disable syslog for test utils.

2018-08-01 Thread Ilya Maximets
This disables syslog logging for: * ovs-testcontroller * test-netflow * test-ovsdb * test-sflow * test-unixctl (for cases where it's not needed) Signed-off-by: Ilya Maximets --- tests/bridge.at | 3 ++- tests/ofproto-dpif.at

[ovs-dev] [PATCH 8/9] tests: Reorder logging args for ovn-sbctl in a subshell.

2018-08-01 Thread Ilya Maximets
'--log-file' should go after '-v' arguments to avoid unwanted 'opened log file' messages. Execution is in a subshell and not covered by aliases. Signed-off-by: Ilya Maximets --- tests/ovsdb-cluster.at | 6 +- 1 file changed, 5 insertions(+), 1 deletio

[ovs-dev] [PATCH 9/9] tests: Disable syslog for ovsdb-tool.

2018-08-01 Thread Ilya Maximets
This is the only place where ovsdb-tool produces some logs. Also, it does not support '--timeout' option thus we can't just add it to the utils list. Let's add syslog option inplace. Signed-off-by: Ilya Maximets --- tests/ovsdb-cluster.at | 2 +- 1 file changed, 1 inse

Re: [ovs-dev] [PATCH 1/9] tests: Simplify the setting of aliases.

2018-08-01 Thread Ilya Maximets
On 01.08.2018 16:34, Aaron Conole wrote: > Hi Ilya, > > Ilya Maximets writes: > >> There is no need to create a separate function for each alias. >> This will simplify adding new default options and utils. >> >> Signed-off-by: Ilya Maximets

[ovs-dev] [PATCH v2 0/9] tests: Clean up syslog.

2018-08-01 Thread Ilya Maximets
lt timeout applied to control utils in a subshell. * tests refactored to be more readable. * testsuite execution speed up. Version 2: * Fixed accidentially missed '--timeout' in patches 1 and 2. [Aaron] Ilya Maximets (9): tests: Simplify the setting of aliases. tests: Set default

[ovs-dev] [PATCH v2 1/9] tests: Simplify the setting of aliases.

2018-08-01 Thread Ilya Maximets
There is no need to create a separate function for each alias. This will simplify adding new default options and utils. Signed-off-by: Ilya Maximets --- tests/ovs-macros.at | 35 +-- 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/tests/ovs

[ovs-dev] [PATCH v2 2/9] tests: Set default timeout for utils in subshell.

2018-08-01 Thread Ilya Maximets
. Signed-off-by: Ilya Maximets --- tests/ofproto-macros.at | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index 2a56ae6..96219cd 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -107,7 +107,17

[ovs-dev] [PATCH v2 3/9] tests: Disable syslog by default for control utils.

2018-08-01 Thread Ilya Maximets
syslog messages from unit tests are not useful and only litter the system logs on build / test machines. Signed-off-by: Ilya Maximets --- tests/ofproto-macros.at | 2 +- tests/ovs-macros.at | 6 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/ofproto-macros.at b

[ovs-dev] [PATCH v2 4/9] tests: Disable syslog for daemons.

2018-08-01 Thread Ilya Maximets
We can not just make an alias for deamons because many of them has logging options in their command lines. Let's handle them one by one. Additionally, it's a good chance to wrap all the very long lines for better readability. Signed-off-by: Ilya Maximets --- tests/ofproto-macros.at

[ovs-dev] [PATCH v2 5/9] tests: Enable only file logging by vlog/set appctl.

2018-08-01 Thread Ilya Maximets
Logs enabled by 'appctl vlog/set' are commonly only used for 'check_logs' at the end of the test. No need to enable any other logs except for file. Patch made automatically by sed replace. Signed-off-by: Ilya Maximets --- tests/dpif-netdev.at | 10

[ovs-dev] [PATCH v2 6/9] tests: Drop full logging for ovs-ofctl.

2018-08-01 Thread Ilya Maximets
'-v' option removed. Found no reason to have fully verbose output from these ovs-ofctl calls. Signed-off-by: Ilya Maximets --- tests/ofproto.at | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/ofproto.at b/tests/ofproto.at index d6c6e9a..f57c

[ovs-dev] [PATCH v2 7/9] tests: Disable syslog for test utils.

2018-08-01 Thread Ilya Maximets
This disables syslog logging for: * ovs-testcontroller * test-netflow * test-ovsdb * test-sflow * test-unixctl (for cases where it's not needed) Signed-off-by: Ilya Maximets --- tests/bridge.at | 3 ++- tests/ofproto-dpif.at

[ovs-dev] [PATCH v2 8/9] tests: Reorder logging args for ovn-sbctl in a subshell.

2018-08-01 Thread Ilya Maximets
'--log-file' should go after '-v' arguments to avoid unwanted 'opened log file' messages. Execution is in a subshell and not covered by aliases. Signed-off-by: Ilya Maximets --- tests/ovsdb-cluster.at | 6 +- 1 file changed, 5 insertions(+), 1 deletio

[ovs-dev] [PATCH v2 9/9] tests: Disable syslog for ovsdb-tool.

2018-08-01 Thread Ilya Maximets
This is the only place where ovsdb-tool produces some logs. Also, it does not support '--timeout' option thus we can't just add it to the utils list. Let's add syslog option inplace. Signed-off-by: Ilya Maximets --- tests/ovsdb-cluster.at | 2 +- 1 file changed, 1 inse

[ovs-dev] [PATCH] ovs-vtep: Pass log level arguments to underlying utils.

2018-08-01 Thread Ilya Maximets
to have console output. Signed-off-by: Ilya Maximets --- This could be a part of syslog clean up patch-set [1], but it looks more like a separate independent feature. [1] https://mail.openvswitch.org/pipermail/ovs-dev/2018-August/350425.html vtep/ovs-vtep.in | 7 ++- 1 file changed, 6 i

Re: [ovs-dev] [PATCH] ovs-vtep: Pass log level arguments to underlying utils.

2018-08-01 Thread Ilya Maximets
On 01.08.2018 18:54, Ilya Maximets wrote: > Control utils should be called with the same verbose level > at least to manage output to system logs. For example, to > disable unwanted syslog messages in unit tests or to enable > higher debug levels if needed. > New argumen

Re: [ovs-dev] [PATCH] tests: Test for ovs-ofctl snoop command

2018-08-02 Thread Ilya Maximets
Hello. Thanks for the patch. I'm not much familiar with that functionality thus someone else should review the sanity of this patch, but I have few comments about testing itself. See inline. Best regard, Ilya Maximets. > Added test for snoop command to check for the initial handshake

Re: [ovs-dev] [PATCH v2 0/9] tests: Clean up syslog.

2018-08-03 Thread Ilya Maximets
On 03.08.2018 17:44, Aaron Conole wrote: > Ilya Maximets writes: > >> Each run of the testsuite produces millions lines in a system >> log. This is completely unnecessary and makes it difficult to >> use system logs on test / build servers. >> >> This se

Re: [ovs-dev] [PATCH v2 2/9] tests: Set default timeout for utils in subshell.

2018-08-06 Thread Ilya Maximets
On 06.08.2018 16:47, Timothy Redaelli wrote: > On Wed, 01 Aug 2018 17:00:11 +0300 > Ilya Maximets wrote: > >> Aliases are not inheritable. To add a default options for utils >> executed in subshell we may try to catch them here and append >> options explicitly. >

Re: [ovs-dev] [PATCH v2 0/9] tests: Clean up syslog.

2018-08-06 Thread Ilya Maximets
On 04.08.2018 03:17, Ben Pfaff wrote: > On Wed, Aug 01, 2018 at 05:00:09PM +0300, Ilya Maximets wrote: >> Each run of the testsuite produces millions lines in a system >> log. This is completely unnecessary and makes it difficult to >> use system logs on test / build servers.

Re: [ovs-dev] [PATCH v2 0/9] tests: Clean up syslog.

2018-08-08 Thread Ilya Maximets
On 07.08.2018 00:12, Ben Pfaff wrote: > On Mon, Aug 06, 2018 at 06:18:19PM +0300, Ilya Maximets wrote: >> On 04.08.2018 03:17, Ben Pfaff wrote: >>> On Wed, Aug 01, 2018 at 05:00:09PM +0300, Ilya Maximets wrote: >>>> Each run of the testsuite produces millions lines

[ovs-dev] [PATCH v3 0/9] tests: Clean up syslog.

2018-08-08 Thread Ilya Maximets
, which was a bit modified. Version 2: * Fixed accidentially missed '--timeout' in patches 1 and 2. [Aaron] Ilya Maximets (9): tests: Simplify the setting of aliases. tests: Set default timeout for utils in subshell. tests: Disable syslog by default for control utils. te

[ovs-dev] [PATCH v3 1/9] tests: Simplify the setting of aliases.

2018-08-08 Thread Ilya Maximets
There is no need to create a separate function for each alias. This will simplify adding new default options and utils. Signed-off-by: Ilya Maximets Acked-by: Aaron Conole --- tests/ovs-macros.at | 35 +-- 1 file changed, 5 insertions(+), 30 deletions(-) diff

[ovs-dev] [PATCH v3 2/9] tests: Set default timeout for utils in subshell.

2018-08-08 Thread Ilya Maximets
. Signed-off-by: Ilya Maximets --- tests/ofproto-macros.at | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index 2a56ae6..df8e7c4 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -107,7 +107,17

[ovs-dev] [PATCH v3 3/9] tests: Disable syslog by default for control utils.

2018-08-08 Thread Ilya Maximets
syslog messages from unit tests are not useful and only litter the system logs on build / test machines. Signed-off-by: Ilya Maximets Acked-by: Aaron Conole --- tests/ofproto-macros.at | 2 +- tests/ovs-macros.at | 6 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a

[ovs-dev] [PATCH v3 4/9] tests: Disable syslog for daemons.

2018-08-08 Thread Ilya Maximets
We can not just make an alias for daemons because many of them has logging options in their command lines. Let's handle them one by one. Additionally, it's a good chance to wrap all the very long lines for better readability. Signed-off-by: Ilya Maximets Acked-by: Aaron Conole

[ovs-dev] [PATCH v3 6/9] tests: Drop full logging for ovs-ofctl.

2018-08-08 Thread Ilya Maximets
'-v' option removed. Found no reason to have fully verbose output from these ovs-ofctl calls. Signed-off-by: Ilya Maximets Acked-by: Aaron Conole --- tests/ofproto.at | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/ofproto.at b/tests/ofprot

[ovs-dev] [PATCH v3 5/9] tests: Enable only file logging by vlog/set appctl.

2018-08-08 Thread Ilya Maximets
Logs enabled by 'appctl vlog/set' are commonly only used for 'check_logs' at the end of the test. No need to enable any other logs except for file. Patch made automatically by sed replace. Signed-off-by: Ilya Maximets Acked-by: Aaron Conole --- tests/dpif-netdev.at

[ovs-dev] [PATCH v3 8/9] tests: Reorder logging args for ovn-sbctl in a subshell.

2018-08-08 Thread Ilya Maximets
'--log-file' should go after '-v' arguments to avoid unwanted 'opened log file' messages. Execution is in a subshell and not covered by aliases. Signed-off-by: Ilya Maximets Acked-by: Aaron Conole --- tests/ovsdb-cluster.at | 6 +- 1 file changed, 5 insertions

[ovs-dev] [PATCH v3 7/9] tests: Disable syslog for test utils.

2018-08-08 Thread Ilya Maximets
This disables syslog logging for: * ovs-testcontroller * test-netflow * test-ovsdb * test-sflow * test-unixctl (for cases where it's not needed) Signed-off-by: Ilya Maximets Acked-by: Aaron Conole --- tests/bridge.at | 3 ++- tests/ofproto-dp

[ovs-dev] [PATCH v3 9/9] tests: Disable syslog for ovsdb-tool.

2018-08-08 Thread Ilya Maximets
This is the only place where ovsdb-tool produces some logs. Also, it does not support '--timeout' option thus we can't just add it to the utils list. Let's add syslog option inplace. Signed-off-by: Ilya Maximets Acked-by: Aaron Conole --- tests/ovsdb-cluster.at | 2 +

Re: [ovs-dev] [PATCH v6] dpif-netdev: Avoid reordering of packets in a batch with same megaflow

2018-08-08 Thread Ilya Maximets
ocessing, packets from >> flow map are *appended* to per-flow buffer. >> > > Thanks for the V6 Vishal, looking at this today myself. > > Ilya, has the v6 addressed your concerns from the v5? Hi. Ian, I had no much time. So, I'm still looking at the patch. Vishal, It'

Re: [ovs-dev] [PATCH v3 1/4] dpif-netdev: Output packet batching.

2017-09-26 Thread Ilya Maximets
On 25.09.2017 18:07, Bodireddy, Bhanuprakash wrote: > Hi Ilya, > > This series needs to be rebased. Few comments below. Hi. Thanks for review. I just returned from vacation and starting working on this. Comments inline. Best regards, Ilya Maximets. > >> While processing

Re: [ovs-dev] [PATCH v3 2/4] netdev: Remove unused may_steal.

2017-09-26 Thread Ilya Maximets
h Policer functionality but > Just wondering may_steal isn't needed with this change. This was added by a recent commit "netdev-dpdk: Execute QoS Checking before copying to mbuf." And yes, above commit will be mostly reverted, because 'may_steal' is always true. >

[ovs-dev] [PATCH v4 0/7] Output packet batching.

2017-10-05 Thread Ilya Maximets
ter. * Time based RFC: fixed assert on n_output_batches <= 0. Version 2: * Rebased on current master. * Added time based batching RFC patch. * Fixed mixing packets with different sources in same batch. Ilya Maximets (7): dpif-netdev: Keep latest measured time for PMD thread.

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

2017-10-05 Thread Ilya Maximets
ry and simplify possible modifications in current logic. This patch introduces new structure 'dp_netdev_pmd_thread_ctx' contained by 'struct dp_netdev_pmd_thread' to store any processing context of this PMD thread. For now, only time and cycles moved to that structure. Can be extended

[ovs-dev] [PATCH v4 2/7] dpif-netdev: Output packet batching.

2017-10-05 Thread Ilya Maximets
is thread local and located in send port cache. Signed-off-by: Ilya Maximets --- lib/dpif-netdev.c | 75 +++ 1 file changed, 64 insertions(+), 11 deletions(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 1a3d8b4..c6f5c23 100644 ---

[ovs-dev] [PATCH v4 3/7] netdev: Remove unused may_steal.

2017-10-05 Thread Ilya Maximets
Not needed anymore because 'may_steal' already handled on dpif-netdev layer and always true; Signed-off-by: Ilya Maximets --- lib/dpif-netdev.c | 2 +- lib/netdev-bsd.c | 4 ++-- lib/netdev-dpdk.c | 65 +-- lib/netd

[ovs-dev] [PATCH v4 4/7] netdev: Remove useless cutlen.

2017-10-05 Thread Ilya Maximets
Cutlen already applied while processing OVS_ACTION_ATTR_OUTPUT. Signed-off-by: Ilya Maximets --- lib/netdev-bsd.c | 2 +- lib/netdev-dpdk.c | 5 - lib/netdev-dummy.c | 2 +- lib/netdev-linux.c | 4 ++-- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/lib/netdev-bsd.c b/lib

[ovs-dev] [PATCH v4 5/7] timeval: Introduce time_usec().

2017-10-05 Thread Ilya Maximets
This fanction will provide monotonic time in microseconds. Signed-off-by: Ilya Maximets --- lib/timeval.c | 22 ++ lib/timeval.h | 2 ++ 2 files changed, 24 insertions(+) diff --git a/lib/timeval.c b/lib/timeval.c index dd63f03..be2eddc 100644 --- a/lib/timeval.c +++ b/lib

[ovs-dev] [PATCH v4 6/7] dpif-netdev: Time based output batching.

2017-10-05 Thread Ilya Maximets
asuring to ensure desired resolution of 'tx-flush-interval'. Signed-off-by: Ilya Maximets --- lib/dpif-netdev.c| 141 --- vswitchd/vswitch.xml | 16 ++ 2 files changed, 127 insertions(+), 30 deletions(-) diff --git a/lib/dpif

[ovs-dev] [PATCH v4 7/7] dpif-netdev: Count sent packets and batches.

2017-10-05 Thread Ilya Maximets
Signed-off-by: Ilya Maximets --- lib/dpif-netdev.c | 27 ++- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 3ddb711..1d5321a 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -344,6 +344,8 @@ enum

[ovs-dev] [PATCH] checkpatch: Reset lines counter.

2017-10-05 Thread Ilya Maximets
As soon as stats printed for all the files, lines should be counted for each line separately. Signed-off-by: Ilya Maximets --- utilities/checkpatch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py index 185ddaf..33feb6b

[ovs-dev] [PATCH v2] checkpatch: Reset line counter.

2017-10-05 Thread Ilya Maximets
Lines should be counted for each file separately. Signed-off-by: Ilya Maximets --- Version 2: * Fixed commit message. utilities/checkpatch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py index 185ddaf..33feb6b

[ovs-dev] [PATCH] tests: Add timeout to OVS_APP_EXIT_AND_WAIT.

2017-10-06 Thread Ilya Maximets
ovs-appctl can wait indefinitely while executing an exit for a dead service. Let's add a timeout (10 seconds should be reasonable) to exit calls to avoid hanging up of the testsuite in such cases. Signed-off-by: Ilya Maximets --- tests/ovs-macros.at | 6 +++--- 1 file changed, 3 inser

[ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative vid.

2017-10-06 Thread Ilya Maximets
DPDK application (testpmd) inside guest while heavy traffic flows to this VM. Fix that by obtaining and checking the 'vid' only once. CC: Ciara Loftus Fixes: 0a0f39df1d5a ("netdev-dpdk: Add support for DPDK 16.07") Signed-off-by: Ilya Maximets --- lib/netdev-dpdk.c | 14

Re: [ovs-dev] [PATCH v4 3/7] netdev: Remove unused may_steal.

2017-10-08 Thread Ilya Maximets
------ Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v4 3/7] netdev: Remove unused may_steal.

2017-10-08 Thread Ilya Maximets
On 09.10.2017 09:16, Ilya Maximets wrote: > On 08.10.2017 12:32, Gao Zhenyu wrote: >> Hi llya, >> >>   Thanks for working it. Your patch tried to eliminate the may_steal in dpdk >> qos, because may_steal handled on dpif-netdev layer and always true. >>   But in

Re: [ovs-dev] [PATCH v4 3/7] netdev: Remove unused may_steal.

2017-10-08 Thread Ilya Maximets
v, qid, batch);  <---your patch releases > some packets in a batch >     dp_packet_delete_batch(batch, may_steal); <---it  releases > all packets in this batch, may hit issue I think >     } > > 2017-10-09 14:16 GMT+08:00 Ilya Maximets <mailto:i.max

Re: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative vid.

2017-10-13 Thread Ilya Maximets
, I guess, is that I'm using ARMv8 machine for that. It could be not so easy to reproduce on x86 system (I didn't try). Best regards, Ilya Maximets. > > Thanks, > Billy. > >> -Original Message- >> From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev

Re: [ovs-dev] [PATCH] vhost: Expose virtio interrupt requirement on rte_vhos API

2017-10-17 Thread Ilya Maximets
cenario on my ARMv8 system: 1.33 with 50ms vs. 1.42 Gbps with 0ms and 1.53 Gbps with 500ms. I'll share more detailed test results, but it's clear that best time interval is highly system dependent. This means that we should not make assumptions about it. Best regards, Ilya Maximets. >

[ovs-dev] 2.8.0: STP - flush the fdb and mdb when topology changed failure on s390x

2017-10-18 Thread Ilya Maximets
month for that: * https://mail.openvswitch.org/pipermail/ovs-dev/2017-September/338708.html Maybe it'll help or my case will give you some hints about the root cause. Unfortunately I had no much time to investigate the issue deeply. Best regards, Ilya Maximets. ___

Re: [ovs-dev] [PATCH v3 0/2] EMC management fixes.

2017-10-25 Thread Ilya Maximets
Any other thoughts about this patch-set? It's in kind of 'undecided' state for a long time. Best regards, Ilya Maximets. On 04.08.2017 17:17, Ilya Maximets wrote: > Version 3: > * Added comment to EM_FLOW_INSERT_INV_PROB_SHIFT. > > Ilya Maximets (2): >

Re: [ovs-dev] [PATCH v4 5/7] timeval: Introduce time_usec().

2017-10-26 Thread Ilya Maximets
On 25.10.2017 20:28, Ben Pfaff wrote: > On Fri, Oct 13, 2017 at 01:03:18PM +, Bodireddy, Bhanuprakash wrote: >>> This fanction will provide monotonic time in microseconds. >> >> [BHANU] Typo here with function. >> >>> >>> Signed-off-b

Re: [ovs-dev] [PATCH v4 5/7] timeval: Introduce time_usec().

2017-10-26 Thread Ilya Maximets
On 26.10.2017 10:12, Ilya Maximets wrote: > On 25.10.2017 20:28, Ben Pfaff wrote: >> On Fri, Oct 13, 2017 at 01:03:18PM +, Bodireddy, Bhanuprakash wrote: >>>> This fanction will provide monotonic time in microseconds. >>> >>> [BHANU] Typo here with func

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

2017-10-27 Thread Ilya Maximets
On 11.10.2017 11:51, Eelco Chaudron wrote: > On 05/10/17 17:05, Ilya Maximets wrote: >> In current implementation 'now' variable updated once on each >> receive cycle and passed through the whole datapath via function >> arguments. It'll be better to kee

Re: [ovs-dev] [PATCH v4 6/7] dpif-netdev: Time based output batching.

2017-10-27 Thread Ilya Maximets
gt; can wait in output batch for sending. >> >> dpif-netdev turned to microsecond resolution for time measuring to ensure >> desired resolution of 'tx-flush-interval'. >> >> Signed-off-by: Ilya Maximets >> --- >> lib/dpif-netdev.c| 141 >> +

[ovs-dev] [PATCH v5 0/7] Output packet batching.

2017-10-27 Thread Ilya Maximets
assert on n_output_batches <= 0. Version 2: * Rebased on current master. * Added time based batching RFC patch. * Fixed mixing packets with different sources in same batch. Ilya Maximets (7): dpif-netdev: Keep latest measured time for PMD thread. dpif-netdev: Output packet

  1   2   3   4   5   6   7   8   9   10   >