[lng-odp] [Bug 3478] armv7: allocation fails

2017-12-23 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3478 --- Comment #7 from Ilias Apalodimas --- https://github.com/Linaro/odp/pull/366 -- You are receiving this mail because: You are on the CC list for the bug.

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/pktio/null.c line 154 @@ -0,0 +1,214 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +#include +#includ

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/pktio/null.c line 142 @@ -0,0 +1,214 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +#include +#includ

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/pktio/null.c line 80 @@ -0,0 +1,214 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +#include +#include

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: example/generator/Makefile.am line 5 @@ -3,3 +3,6 @@ include $(top_srcdir)/example/Makefile.inc bin_PROGRAMS = odp_generator odp_generator_SOURCES = odp_generator.c + +TESTS = generator_run.sh Comment: this should go under `if test_e

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: example/l2fwd_simple/l2fwd_simple_run.sh line 14 @@ -29,4 +29,17 @@ fi rm -f pcapout.pcap +./odp_l2fwd_simple${EXEEXT} null:0 null:1 \ + 02:00:00:00:00:01 02:00:00:00:00:02 & + +sleep 1 +kill -s SIGINT $! +wait $! +STATUS=$? + +

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: example/generator/.gitignore line 3 @@ -1 +1,3 @@ odp_generator +*.log +*.trs Comment: I think this should be now in one of top-level .gitignore files. > Dmitry Eremin-Solenikov(lumag) wrote: > This should probably go to a separate PR.

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: example/l2fwd_simple/odp_l2fwd_simple.c line 40 @@ -204,6 +206,23 @@ int main(int argc, char **argv) global.if1 = create_pktio(argv[optind + 1], pool, &global.if1in, &

[lng-odp] [Bug 3517] timer test might fail

2017-12-23 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3517 Dmitry Eremin-Solenikov changed: What|Removed |Added Priority|--- |Normal Severity|enhancemen

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/null.c line 142 @@ -0,0 +1,214 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +#include +

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/null.c line 137 @@ -0,0 +1,214 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +#include +

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: example/l2fwd_simple/odp_l2fwd_simple.c line 43 @@ -204,6 +206,23 @@ int main(int argc, char **argv) global.if1 = create_pktio(argv[optind + 1], pool, &global.if1in,

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/null.c line 125 @@ -0,0 +1,214 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +#include +

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/null.c line 130 @@ -0,0 +1,214 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +#include +

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/null.c line 118 @@ -0,0 +1,214 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +#include +

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/null.c line 80 @@ -0,0 +1,214 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +#include +#

Re: [lng-odp] [PATCH v5] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/null.c line 97 @@ -0,0 +1,214 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include + +#include +#

[lng-odp] [Bug 3466] CID 1396968 : buggy check

2017-12-23 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3466 --- Comment #4 from Maxim Uvarov --- https://github.com/Linaro/odp/commit/260ca880b76151b66919cf0f3c149c2ba9ede24e refs/heads/api-next 2017-12-22T17:31:48+03:00 Bill Fischofer bill.fischo...@linaro.org test: validation: correct comparison in packet_tes

[lng-odp] [Linaro/odp] 260ca8: test: validation: correct comparison in packet_tes...

2017-12-23 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 260ca880b76151b66919cf0f3c149c2ba9ede24e https://github.com/Linaro/odp/commit/260ca880b76151b66919cf0f3c149c2ba9ede24e Author: Bill Fischofer Date: 2017-12-22 (Fri, 22 Dec 2017) Changed paths: M tes

[lng-odp] [Linaro/odp] 5d6aea: test: workaround buggy CUnit header

2017-12-23 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 5d6aea3f7186a4533ffb7a2bc4858a1d339ebbb4 https://github.com/Linaro/odp/commit/5d6aea3f7186a4533ffb7a2bc4858a1d339ebbb4 Author: Dmitry Eremin-Solenikov Date: 2017-12-23 (Sat, 23 Dec 2017) Changed paths:

[lng-odp] [Linaro/odp] 18b4ac: linux-gen: loop: support multiple loop devices

2017-12-23 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 18b4ac5ead1d428ebea0f8f9590951159f138b4c https://github.com/Linaro/odp/commit/18b4ac5ead1d428ebea0f8f9590951159f138b4c Author: Dmitry Eremin-Solenikov Date: 2017-12-23 (Sat, 23 Dec 2017) Changed paths:

[lng-odp] [Linaro/odp] 1adc8e: linux-gen: crypto: populate sync/async_mode caps

2017-12-23 Thread GitHub
Branch: refs/heads/next Home: https://github.com/Linaro/odp Commit: 1adc8ef5dbcfde127c1b52df84152c187519b27e https://github.com/Linaro/odp/commit/1adc8ef5dbcfde127c1b52df84152c187519b27e Author: Dmitry Eremin-Solenikov Date: 2017-12-22 (Fri, 22 Dec 2017) Changed paths:

Re: [lng-odp] [PATCH v1] linux-gen: _ishm: proper alignment for current page size

2017-12-23 Thread Github ODP bot
Ilias Apalodimas(apalos) replied on github web page: platform/linux-generic/_ishm.c line 7 @@ -864,8 +864,8 @@ int _odp_ishm_reserve(const char *name, uint64_t size, int fd, * the same address every where, otherwise alignment may be * be wrong for some process */

Re: [lng-odp] [PATCH v1] linux-gen: _ishm: proper alignment for current page size

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/_ishm.c line 7 @@ -864,8 +864,8 @@ int _odp_ishm_reserve(const char *name, uint64_t size, int fd, * the same address every where, otherwise alignment may be * be wrong for so

[lng-odp] [PATCH v5 3/4] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Sometimes, you may wish to run an application by using a dummy interface that never receives any packets and that discards transmitted packets. This is possible with non-looping pcap pktio with no input and output pcaps. So, the pktio would be just "pcap:". However, you can

[lng-odp] [PATCH v5 1/4] linux-generic: pktio: genuinely sleep in timeout receive

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli ODP has two functions, odp_pktin_recv_tmo and odp_pktin_recv_mq_tmo that allow sleeping for a certain time. However, the sleep was not a genuine interruptible sleep (select/poll/epoll) but rather a busy loop. This resulted in high CPU use when this call was used. This funct

[lng-odp] [PATCH v5 4/4] example: l2fwd_simple: do operations to increase code coverage

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Do some MTU, promiscuous mode and MAC address related operations in odp_l2fwd_simple to increase code coverage. Signed-off-by: Juha-Matti Tilli --- /** Email created from pull request 365 (jmtilli:nullpktio) ** https://github.com/Linaro/odp/pull/365 ** Patch: https://gi

[lng-odp] [PATCH v5 2/4] example: l2fwd_simple: test interruptible sleep in odp_pktin_recv_tmo

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Test interruptible sleep within odp_pktin_recv_tmo by usign the l2fwd_simple test application. This gives us confidence that odp_pktin_recv_tmo changes work with pktio mechanisms such as .pcap not offering the interrupt-driven implementations. Signed-off-by: Juha-Matti Til

[lng-odp] [PATCH v5 0/4] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Sometimes, you may wish to run an application by using a dummy interface that never receives any packets and that discards transmitted packets. This is possible with non-looping pcap pktio with no input and output pcaps. So, the pktio would be just "pcap:". However, you cannot have two pktios named

[lng-odp] [PATCH v4 3/4] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Sometimes, you may wish to run an application by using a dummy interface that never receives any packets and that discards transmitted packets. This is possible with non-looping pcap pktio with no input and output pcaps. So, the pktio would be just "pcap:". However, you can

[lng-odp] [PATCH v4 4/4] example: l2fwd_simple: do operations to increase code coverage

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Do some MTU, promiscuous mode and MAC address related operations in odp_l2fwd_simple to increase code coverage. Signed-off-by: Juha-Matti Tilli --- /** Email created from pull request 365 (jmtilli:nullpktio) ** https://github.com/Linaro/odp/pull/365 ** Patch: https://gi

[lng-odp] [PATCH v4 2/4] example: l2fwd_simple: test interruptible sleep in odp_pktin_recv_tmo

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Test interruptible sleep within odp_pktin_recv_tmo by usign the l2fwd_simple test application. This gives us confidence that odp_pktin_recv_tmo changes work with pktio mechanisms such as .pcap not offering the interrupt-driven implementations. Signed-off-by: Juha-Matti Til

[lng-odp] [PATCH v4 1/4] linux-generic: pktio: genuinely sleep in timeout receive

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli ODP has two functions, odp_pktin_recv_tmo and odp_pktin_recv_mq_tmo that allow sleeping for a certain time. However, the sleep was not a genuine interruptible sleep (select/poll/epoll) but rather a busy loop. This resulted in high CPU use when this call was used. This funct

[lng-odp] [PATCH v4 0/4] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Sometimes, you may wish to run an application by using a dummy interface that never receives any packets and that discards transmitted packets. This is possible with non-looping pcap pktio with no input and output pcaps. So, the pktio would be just "pcap:". However, you cannot have two pktios named

[lng-odp] [PATCH v1 1/1] bug_3478 linux-gen: _ishm: proper alignment for current page size

2017-12-23 Thread Github ODP bot
From: Ilias Apalodimas fixes https://bugs.linaro.org/show_bug.cgi?id=3478 on systems compiled without hugetlb odp_init_global() failed on systems with hugetlb alignment was superfluous Signed-off-by: Ilias Apalodimas --- /** Email created from pull request 366 (apalos:bug_3478_2) ** https://gi

[lng-odp] [PATCH v1 0/1] linux-gen: _ishm: proper alignment for current page size

2017-12-23 Thread Github ODP bot
fixes https://bugs.linaro.org/show_bug.cgi?id=3478 on systems compiled without hugetlb odp_init_global() failed on systems with hugetlb alignment was superfluous Signed-off-by: Ilias Apalodimas ilias.apalodi...@linaro.org github /** Email created from pull r

[lng-odp] [PATCH v3 1/3] linux-generic: pktio: genuinely sleep in timeout receive

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli ODP has two functions, odp_pktin_recv_tmo and odp_pktin_recv_mq_tmo that allow sleeping for a certain time. However, the sleep was not a genuine interruptible sleep (select/poll/epoll) but rather a busy loop. This resulted in high CPU use when this call was used. This funct

[lng-odp] [PATCH v3 3/3] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Sometimes, you may wish to run an application by using a dummy interface that never receives any packets and that discards transmitted packets. This is possible with non-looping pcap pktio with no input and output pcaps. So, the pktio would be just "pcap:". However, you can

[lng-odp] [PATCH v3 2/3] example: l2fwd_simple: test interruptible sleep in odp_pktin_recv_tmo

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Test interruptible sleep within odp_pktin_recv_tmo by usign the l2fwd_simple test application. This gives us confidence that odp_pktin_recv_tmo changes work with pktio mechanisms such as .pcap not offering the interrupt-driven implementations. Signed-off-by: Juha-Matti Til

[lng-odp] [PATCH v3 0/3] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Sometimes, you may wish to run an application by using a dummy interface that never receives any packets and that discards transmitted packets. This is possible with non-looping pcap pktio with no input and output pcaps. So, the pktio would be just "pcap:". However, you cannot have two pktios named

[lng-odp] [PATCH v2 3/3] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Sometimes, you may wish to run an application by using a dummy interface that never receives any packets and that discards transmitted packets. This is possible with non-looping pcap pktio with no input and output pcaps. So, the pktio would be just "pcap:". However, you can

[lng-odp] [PATCH v2 1/3] linux-generic: pktio: genuinely sleep in timeout receive

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli ODP has two functions, odp_pktin_recv_tmo and odp_pktin_recv_mq_tmo that allow sleeping for a certain time. However, the sleep was not a genuine interruptible sleep (select/poll/epoll) but rather a busy loop. This resulted in high CPU use when this call was used. This funct

[lng-odp] [PATCH v2 2/3] example: l2fwd_simple: test interruptible sleep in odp_pktin_recv_tmo

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Test interruptible sleep within odp_pktin_recv_tmo by usign the l2fwd_simple test application. This gives us confidence that odp_pktin_recv_tmo changes work with pktio mechanisms such as .pcap not offering the interrupt-driven implementations. Signed-off-by: Juha-Matti Til

[lng-odp] [PATCH v2 0/3] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Sometimes, you may wish to run an application by using a dummy interface that never receives any packets and that discards transmitted packets. This is possible with non-looping pcap pktio with no input and output pcaps. So, the pktio would be just "pcap:". However, you cannot have two pktios named

Re: [lng-odp] [PATCH CATERPILLAR v4] Caterpillar mdev auxiliary

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp/drv/mmio.h line 166 @@ -0,0 +1,179 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * API to access m

Re: [lng-odp] [PATCH v1] Arch directory clean up

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/arch/powerpc/odp_cpu_arch.c line 23 @@ -1,41 +0,0 @@ -/* Copyright (c) 2015, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -#include "config.h" - -#include -

Re: [lng-odp] [PATCH CATERPILLAR v4] Caterpillar mdev auxiliary

2017-12-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp/drv/mmio.h line 56 @@ -0,0 +1,179 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * API to access me

[lng-odp] [PATCH v1 3/3] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Sometimes, you may wish to run an application by using a dummy interface that never receives any packets and that discards transmitted packets. This is possible with non-looping pcap pktio with no input and output pcaps. So, the pktio would be just "pcap:". However, you can

[lng-odp] [PATCH v1 1/3] linux-generic: pktio: genuinely sleep in timeout receive

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli ODP has two functions, odp_pktin_recv_tmo and odp_pktin_recv_mq_tmo that allow sleeping for a certain time. However, the sleep was not a genuine interruptible sleep (select/poll/epoll) but rather a busy loop. This resulted in high CPU use when this call was used. This funct

[lng-odp] [PATCH v1 0/3] linux-generic: pktio: add null pktio support

2017-12-23 Thread Github ODP bot
Sometimes, you may wish to run an application by using a dummy interface that never receives any packets and that discards transmitted packets. This is possible with non-looping pcap pktio with no input and output pcaps. So, the pktio would be just "pcap:". However, you cannot have two pktios named

[lng-odp] [PATCH v1 2/3] example: l2fwd_simple: test interruptible sleep in odp_pktin_recv_tmo

2017-12-23 Thread Github ODP bot
From: Juha-Matti Tilli Test interruptible sleep within odp_pktin_recv_tmo by usign the l2fwd_simple test application. This gives us confidence that odp_pktin_recv_tmo changes work with pktio mechanisms such as .pcap not offering the interrupt-driven implementations. Signed-off-by: Juha-Matti Til