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.
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
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
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
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
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=$?
+
+
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.
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,
&
https://bugs.linaro.org/show_bug.cgi?id=3517
Dmitry Eremin-Solenikov changed:
What|Removed |Added
Priority|--- |Normal
Severity|enhancemen
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
+
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
+
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,
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
+
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
+
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
+
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
+#
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
+#
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
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
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:
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:
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:
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 */
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-
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
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
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
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
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
51 matches
Mail list logo