On 11/02/2015 16:10, Elo, Matias (Nokia - FI/Espoo) wrote:
-Original Message-
From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT Maxim
Uvarov
Sent: Monday, November 02, 2015 2:44 PM
To: lng-odp@lists.linaro.org
Subject: Re: [lng-odp] [API-NEXT PATCH v2]
Interesting suggestion. I'll take a look at that and send a v3 for Carl to
try.
On Mon, Nov 2, 2015 at 8:14 AM, Nicolas Morey-Chaisemartin wrote:
>
>
> On 10/30/2015 09:33 PM, Bill Fischofer wrote:
> > To avoid deadlock, especially on a single core, force an explicit
> >
https://bugs.linaro.org/show_bug.cgi?id=1879
--- Comment #7 from Carl Wallen ---
Sure. However, I only tested that the deadlock issue got solved, I did NOT
verify event ordering.
--
You are receiving this mail because:
You are on the CC list for the
Reviewed-by: Carl Wallen
-Original Message-
From: EXT Bill Fischofer [mailto:bill.fischo...@linaro.org]
Sent: Friday, October 30, 2015 10:33 PM
To: lng-odp@lists.linaro.org; Wallen, Carl (Nokia - FI/Espoo)
Cc: Bill Fischofer
Just forgot to mention. I've added several patches some time ago
to linux kernel to present SMBIOS tables to userspace via sysfs.
Currently this sysfs entries are used by dmidecode util to retrieve
system h/w information. For ARM64 it's planned to support UEFI in the
future and these tables are
On 10/30/2015 09:33 PM, Bill Fischofer wrote:
> To avoid deadlock, especially on a single core, force an explicit
> yield while not holding either lock when attempting to acquire multiple
> locks for ordered queue processing. Also handle enqueues to self as in
> this case the origin and target
https://bugs.linaro.org/show_bug.cgi?id=1879
--- Comment #6 from Bill Fischofer ---
Thanks, Carl. Can you please add your review to that patch?
--
You are receiving this mail because:
You are on the CC list for the bug.___
> -Original Message-
> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT Maxim
> Uvarov
> Sent: Monday, November 02, 2015 2:44 PM
> To: lng-odp@lists.linaro.org
> Subject: Re: [lng-odp] [API-NEXT PATCH v2] validation: pktio: test
> odp_pktio_print()
>
> On
Signed-off-by: Mike Holmes
---
DEPENDENCIES | 5 +
configure.ac | 10 +
doc/images/Makefile.am | 13 +--
doc/images/resource_management.msc | 45 ++
4 files
On 11/02/2015 20:31, Zoltan Kiss wrote:
Hi,
Yes, it makes sense to add it there as well, but I think that ODP_DBG
printout should stay as well. So you don't have to modify your app
while debugging if you only want to know which pktio were used.
I'm not sure which one you meant: move it there
Enqueueing to ordered queues requires two locks (source and target
queues). Since any queue can be either source or target, queues do not
have a natural locking hierarchy. Create one by using the address of
the qentry as the lock order.
This addresses the aspect of Bug
Enqueueing to ordered queues requires two locks (source and target
queues). Since any queue can be either source or target, queues do not
have a natural locking hierarchy. Create one by using the address of
the qentry as the lock order.
This addresses the aspect of Bug
https://bugs.linaro.org/show_bug.cgi?id=1879
--- Comment #9 from Bill Fischofer ---
v2 of patch posted at http://patches.opendataplane.org/patch/3583/
--
You are receiving this mail because:
You are on the CC list for the
On 02/11/15 10:54, Stuart Haslam wrote:
diff --git a/platform/linux-generic/pktio/loop.c
b/platform/linux-generic/pktio/loop.c
>index 0d8dadd..8efa611 100644
>--- a/platform/linux-generic/pktio/loop.c
>+++ b/platform/linux-generic/pktio/loop.c
>@@ -109,6 +109,7 @@ static int
Signed-off-by: Mike Holmes
---
v2:
clarified workers vs control as per Maxims comment
configure.ac | 1 +
doc/Makefile.am | 2 +-
doc/users-guide/Makefile.am | 10 +
doc/users-guide/guide.dox| 14 --
Hi,
On 02/11/15 10:25, Maxim Uvarov wrote:
diff --git a/platform/linux-generic/include/odp_packet_io_internal.h
b/platform/linux-generic/include/odp_packet_io_internal.h
index 4745bd5..4432cfc 100644
--- a/platform/linux-generic/include/odp_packet_io_internal.h
+++
Signed-off-by: Mike Holmes
---
DEPENDENCIES | 9 +-
configure.ac | 11 +
doc/Makefile.am | 4 +-
doc/images/.gitignore | 2 +
doc/images/Makefile.am| 33 +++
doc/images/atomic_queue.svg | 302
This method of identifying ODP version using API is useful for finding
the implementation version while executing the binary. IMO we need to
additionally define a method to identify the version of the compiled
binary statically.
We can add a "#define Version " inside the
implementation file so
https://bugs.linaro.org/show_bug.cgi?id=1879
--- Comment #5 from Carl Wallen ---
>> Do you see the same behavior when running on multiple CPUs?
Yes, the issue was seen both when running on a single core and on multiple
cores.
The submitted patch v2
I applied that on api-next and still see fails:
$while true; do ./test/validation/scheduler/scheduler_main 2>&1 |grep
FAIL; done
Test: scheduler_test_mq_mt_prio_o ...FAILED
Test: scheduler_test_multi_mq_mt_prio_o ...FAILED
Test: scheduler_test_multi_mq_mt_prio_o ...FAILED
Test:
Hi,
Yes, it makes sense to add it there as well, but I think that ODP_DBG
printout should stay as well. So you don't have to modify your app while
debugging if you only want to know which pktio were used.
I'm not sure which one you meant: move it there or keep it both?
Zoli
On 02/11/15
https://bugs.linaro.org/show_bug.cgi?id=1879
--- Comment #8 from Bill Fischofer ---
Patch superseded by http://patches.opendataplane.org/patch/3582/
Thanks to Nicolas for the suggested simplification.
Carl: Can you please test/review this patch. It should also solve
I should clarify in my previous mails, I used sys fs instead of proc
of sometimes.
On x86 the max freq is acquired from /proc/cpuinfo, on my ARM
platform, this file exists too, but no freq info included there. This
file should always exist, whatever freq-scaling is turned on or not,
so max freq
Advantage of acquiring max freq from /sys/devices/system/cpu*/cpufreq/
is it's much easier, but this requires freq-scaling should be turned
on. what's more, this sysfs is identical for all platforms, if we use
if on ARM, we should use it on the other platforms too.
Upstream max freq into
Debug says that order of that two packets is wrong:
Test: scheduler_test_mq_mt_prio_o ...bctx 64 seq 63
bctx 63 seq 64
On 10/30/2015 23:33, Bill Fischofer wrote:
To avoid deadlock, especially on a single core, force an explicit
yield while not holding either lock when attempting to acquire
Merged,
good bugfix.
Maxim.
On 10/30/2015 17:30, akhil.go...@freescale.com wrote:
From: Akhil Goyal
In case of tunnel mode, while moving the ip_data- number
of bytes to be moved should be original ip_data_len plus
ip_header_len. Currently, ip_data pointer is
I added the odp_pktio_print() function while thinking just this use case.
Comments below.
-Matias
> -Original Message-
> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT
> Zoltan
> Kiss
> Sent: Friday, October 30, 2015 8:38 PM
> To: lng-odp@lists.linaro.org
>
Please add that to odp_pktio_print() call in api-next.
Maxim.
On 10/30/2015 21:38, Zoltan Kiss wrote:
For debug purposes, otherwise it's not trivial to figure out which pktio was
successful.
Signed-off-by: Zoltan Kiss
diff --git
Ping!
Does somebody still reviewing that patches?
Maxim.
On 09/20/2015 17:04, rujiacs wrote:
Signed-off-by: rujiacs
---
helper/include/odp/helper/hash_jhash.h | 420 +
1 file changed, 420 insertions(+)
create mode 100644
On 11/02/2015 13:22, Elo, Matias (Nokia - FI/Espoo) wrote:
I added the odp_pktio_print() function while thinking just this use case.
Comments below.
-Matias
-Original Message-
From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT Zoltan
Kiss
Sent: Friday, October
Doesn’t device tree provide that value?
Maxim.
On 11/02/2015 12:07, Hongbo Zhang wrote:
Advantage of acquiring max freq from /sys/devices/system/cpu*/cpufreq/
is it's much easier, but this requires freq-scaling should be turned
on. what's more, this sysfs is identical for all platforms, if we
On 10/22/2015 22:56, Mike Holmes wrote:
Signed-off-by: Mike Holmes
---
configure.ac | 1 +
doc/Makefile.am | 2 +-
doc/users-guide/Makefile.am | 10 +
doc/users-guide/guide.dox| 14 --
Gentlemen,
in mailing list we have bunch of patches without any comments. I'm not
sure if somebody reviewed that patches or it's just
silence. Please add your Reviewed-by: tag if you did patches review.
Thank you,
Maxim.
___
lng-odp mailing list
Device tree has node for CPU that contains clock-frequency.
(ePAPR v1.1)
But it can be used only if cpufreq is off. And it also doesn't guarantee
that frequency of the CPU was not changed by the kernel in some place.
By a big account it can be changed only by cpufreq, so maybe used, I think.
On Fri, Oct 30, 2015 at 06:38:14PM +, Zoltan Kiss wrote:
> For debug purposes, otherwise it's not trivial to figure out which pktio was
> successful.
>
> Signed-off-by: Zoltan Kiss
>
> diff --git a/platform/linux-generic/include/odp_packet_io_internal.h
>
https://bugs.linaro.org/show_bug.cgi?id=1449
--- Comment #12 from Ivan Khoronzhuk ---
As were said previously we shouldn't set period less than resolution.
It's incorrect and makes example to work in it's own time.
The actual resolution of timer is not 1ns it's much
Refined version API documentation and added implementation
name string that can be used to identify the underlying
implementation at run time.
Signed-off-by: Petri Savolainen
---
include/odp/api/version.h | 47 ++-
1 file
Implemented implementation name string and call it from
validation test common.
Signed-off-by: Petri Savolainen
---
platform/linux-generic/odp_version.c | 6 ++
test/validation/common/odp_cunit_common.c | 1 +
2 files changed, 7 insertions(+)
diff --git
Signed-off-by: Matias Elo
---
v2:
- No need for a separate odp_pktio_print() test (Maxim Uvarov)
test/validation/pktio/pktio.c | 4
1 file changed, 4 insertions(+)
diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c
index 6320b77..ff62b3c
On 2 November 2015 at 04:51, Maxim Uvarov wrote:
> On 10/22/2015 22:56, Mike Holmes wrote:
>
>> Signed-off-by: Mike Holmes
>> ---
>> configure.ac | 1 +
>> doc/Makefile.am | 2 +-
>>
On 11/02/2015 15:16, Matias Elo wrote:
Signed-off-by: Matias Elo
---
v2:
- No need for a separate odp_pktio_print() test (Maxim Uvarov)
test/validation/pktio/pktio.c | 4
1 file changed, 4 insertions(+)
diff --git a/test/validation/pktio/pktio.c
41 matches
Mail list logo