Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
He Yi(heyi-linaro) replied on github web page: platform/linux-generic/pktio/socket.c line 170 @@ -873,9 +881,20 @@ const pktio_if_ops_t sock_mmsg_pktio_ops = { .mac_get = sock_mac_addr_get, .link_status = sock_link_status, .capability = sock_capability, -

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
He Yi(heyi-linaro) replied on github web page: platform/linux-generic/pktio/socket_mmap.c line 221 @@ -730,9 +737,20 @@ const pktio_if_ops_t sock_mmap_pktio_ops = { .mac_get = sock_mmap_mac_addr_get, .link_status = sock_mmap_link_status, .capability = sock_mmap_capability,

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
He Yi(heyi-linaro) replied on github web page: platform/linux-generic/pktio/tap.c line 149 @@ -373,24 +372,44 @@ static int tap_capability(pktio_entry_t *pktio_entry ODP_UNUSED, return 0; } -const pktio_if_ops_t tap_pktio_ops = { - .name = "tap", - .print = NULL, -

[lng-odp] Canceled event: OpenDataPlane (ODP) Public Call @ Tue Sep 26, 2017 10am - 11am (CDT) (lng-odp@lists.linaro.org)

2017-09-19 Thread Bill Fischofer
This event has been canceled and removed from your calendar. Title: OpenDataPlane (ODP) Public Call Meeting notes document: https://docs.google.com/a/linaro.org/document/d/1KjcdpidVqMCDa6FXURSxrTwFjkmb1_pKz54m7eYvVMo/edit Note: Effective June 2nd we are moving this conference to Blue Jeans.

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
He Yi(heyi-linaro) replied on github web page: platform/linux-generic/pktio/socket_mmap.c line 182 @@ -710,18 +713,22 @@ static int sock_mmap_init_global(void) return 0; } -const pktio_if_ops_t sock_mmap_pktio_ops = { - .name = "socket_mmap", - .print = NULL, -

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
He Yi(heyi-linaro) replied on github web page: platform/linux-dpdk/pktio/dpdk.c line 323 @@ -664,34 +701,40 @@ static void stats_convert(struct rte_eth_stats *rte_stats, static int stats_pkt_dpdk(pktio_entry_t *pktio_entry, odp_pktio_stats_t *stats) { + const pktio_ops_dpdk_data_t

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
He Yi(heyi-linaro) replied on github web page: platform/linux-generic/pktio/loopback.c line 69 @@ -251,18 +251,22 @@ static int loop_init_global(void) return 0; } -const pktio_if_ops_t loopback_pktio_ops = { - .name = "loop", - .print = NULL, - .init_global =

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
He Yi(heyi-linaro) replied on github web page: platform/linux-dpdk/pktio/dpdk.c line 352 @@ -712,3 +755,16 @@ const pktio_if_ops_t dpdk_pktio_ops = { .recv = recv_pkt_dpdk, .send = send_pkt_dpdk }; + +ODP_MODULE_CONSTRUCTOR(dpdk_pktio_ops) +{ +

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
He Yi(heyi-linaro) replied on github web page: platform/linux-generic/pktio/loopback.c line 107 @@ -271,9 +275,20 @@ const pktio_if_ops_t loopback_pktio_ops = { .mac_get = loopback_mac_addr_get, .link_status = loopback_link_status, .capability = loopback_capability, -

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
He Yi(heyi-linaro) replied on github web page: platform/linux-generic/pktio/pcap.c line 160 @@ -423,25 +429,44 @@ static int pcapif_init_global(void) return 0; } -const pktio_if_ops_t pcap_pktio_ops = { - .name = "pcap", - .print = NULL, - .init_global =

[lng-odp] [Linaro/odp] 6448db: linux-gen: queue: apply modular framework and crea...

2017-09-19 Thread GitHub
Branch: refs/heads/cloud-dev Home: https://github.com/Linaro/odp Commit: 6448dbc4114c655f1de056ea18003956f3b91b76 https://github.com/Linaro/odp/commit/6448dbc4114c655f1de056ea18003956f3b91b76 Author: Joyce Kong Date: 2017-09-20 (Wed, 20 Sep 2017)

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-dpdk/pktio/dpdk.c line 352 @@ -712,3 +755,16 @@ const pktio_if_ops_t dpdk_pktio_ops = { .recv = recv_pkt_dpdk, .send = send_pkt_dpdk }; + +ODP_MODULE_CONSTRUCTOR(dpdk_pktio_ops) +{ +

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/loopback.c line 69 @@ -251,18 +251,22 @@ static int loop_init_global(void) return 0; } -const pktio_if_ops_t loopback_pktio_ops = { - .name = "loop", - .print = NULL, -

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/socket.c line 170 @@ -873,9 +881,20 @@ const pktio_if_ops_t sock_mmsg_pktio_ops = { .mac_get = sock_mac_addr_get, .link_status = sock_link_status, .capability = sock_capability,

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/tap.c line 149 @@ -373,24 +372,44 @@ static int tap_capability(pktio_entry_t *pktio_entry ODP_UNUSED, return 0; } -const pktio_if_ops_t tap_pktio_ops = { - .name = "tap", -

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/socket_mmap.c line 221 @@ -730,9 +737,20 @@ const pktio_if_ops_t sock_mmap_pktio_ops = { .mac_get = sock_mmap_mac_addr_get, .link_status = sock_mmap_link_status, .capability =

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/netmap.c line 344 @@ -943,31 +953,46 @@ static int netmap_init_global(void) return 0; } -const pktio_if_ops_t netmap_pktio_ops = { - .name = "netmap", - .print = netmap_print, -

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/pcap.c line 48 @@ -163,7 +165,8 @@ static int pcapif_init(odp_pktio_t id ODP_UNUSED, pktio_entry_t *pktio_entry, static int pcapif_close(pktio_entry_t *pktio_entry) { - pkt_pcap_t *pcap =

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/pcap.c line 160 @@ -423,25 +429,44 @@ static int pcapif_init_global(void) return 0; } -const pktio_if_ops_t pcap_pktio_ops = { - .name = "pcap", - .print = NULL, -

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/socket_mmap.c line 182 @@ -710,18 +713,22 @@ static int sock_mmap_init_global(void) return 0; } -const pktio_if_ops_t sock_mmap_pktio_ops = { - .name = "socket_mmap", - .print =

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/loopback.c line 107 @@ -271,9 +275,20 @@ const pktio_if_ops_t loopback_pktio_ops = { .mac_get = loopback_mac_addr_get, .link_status = loopback_link_status, .capability =

Re: [lng-odp] [PATCH CLOUD-DEV v4] Modular pktio ops

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-dpdk/pktio/dpdk.c line 323 @@ -664,34 +701,40 @@ static void stats_convert(struct rte_eth_stats *rte_stats, static int stats_pkt_dpdk(pktio_entry_t *pktio_entry, odp_pktio_stats_t *stats) { + const

[lng-odp] [PATCH CLOUD-DEV v6 0/2] Modular framework: queue

2017-09-19 Thread Github ODP bot
github /** Email created from pull request 168 (JoyceKong-arm:cloud-dev-queue) ** https://github.com/Linaro/odp/pull/168 ** Patch: https://github.com/Linaro/odp/pull/168.patch ** Base sha: a1f50ad720e11a54b13c4786cad4687cb5c4ec2a ** Merge commit sha:

[lng-odp] [Bug 3249] odp_cpu_hz() does not work on all Linux distros

2017-09-19 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3249 --- Comment #2 from Mikko Kurikka --- Hello, Yes, you are right, I forgot to mention we have modified odp_cpu_hz_current() and cpuinfo_parser() to return correct frequency. Of course this is not portable solution and each ARM

[lng-odp] [Bug 3249] odp_cpu_hz() does not work on all Linux distros

2017-09-19 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3249 Ilias Apalodimas changed: What|Removed |Added CC|

[lng-odp] [Bug 3249] New: odp_cpu_hz() does not work on all Linux distros

2017-09-19 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3249 Bug ID: 3249 Summary: odp_cpu_hz() does not work on all Linux distros Product: OpenDataPlane - linux- generic reference Version: v1.15.0.0 Hardware: x86 OS: Linux

[lng-odp] [Bug 3249] odp_cpu_hz() does not work on all Linux distros

2017-09-19 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3249 --- Comment #3 from Ilias Apalodimas --- Hello Mikko, The point of the change was to avoid exactly what you mentioned, modifying _hz related functions per CPU. In the long run this is going to end up a huge pain to

[lng-odp] [Bug 3246] GCC 7 detected incorrect if statement

2017-09-19 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3246 --- Comment #4 from Ola Liljedahl --- Fixed by https://github.com/Linaro/odp/pull/182 -- You are receiving this mail because: You are on the CC list for the bug.

[lng-odp] [PATCH v1 1/1] travis: doxygen 1.8.13

2017-09-19 Thread Github ODP bot
From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 181 (muvarov:master2) ** https://github.com/Linaro/odp/pull/181 ** Patch: https://github.com/Linaro/odp/pull/181.patch ** Base sha:

[lng-odp] [PATCH v1 0/1] travis: doxygen 1.8.13

2017-09-19 Thread Github ODP bot
Update doxygen to 1.8.13 After we fix warnings we can threat warnings as errors. That option is available only in later doxygen releases. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email created from pull request 181 (muvarov:master2)

[lng-odp] Future of per-arch-platform ABI spec files

2017-09-19 Thread Dmitry Eremin-Solenikov
Hello, I have been poking around per-arch-platform ABI spec files. Currently all architectures just include default specs. Do we have any particular use case for these separate files? Otherwise I'd suggest to drop them completely and just leave 'default' in place. -- With best wishes Dmitry

Re: [lng-odp] [PATCH API-NEXT v1] api: timer: refine timer pool param documentation

2017-09-19 Thread Github ODP bot
muvarov replied on github web page: include/odp/api/spec/timer.h line 35 @@ -99,12 +99,36 @@ typedef enum { * Timer pool parameters are used when creating and querying timer pools. */ typedef struct { - uint64_t res_ns; /**< Timeout resolution in nanoseconds */ - uint64_t

Re: [lng-odp] IPsec fragmentation ambiguity

2017-09-19 Thread Bill Fischofer
On Mon, Sep 18, 2017 at 11:36 PM, Peltonen, Janne (Nokia - FI/Espoo) wrote: > > The odp_ipsec_error_t, which is part of packet result includes the > following error bit: > > /** Packet does not fit into the given MTU size */ >

Re: [lng-odp] [PATCH API-NEXT v1] api: timer: refine timer pool param documentation

2017-09-19 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/timer.h line 35 @@ -99,12 +99,36 @@ typedef enum { * Timer pool parameters are used when creating and querying timer pools. */ typedef struct { - uint64_t res_ns; /**< Timeout resolution in

Re: [lng-odp] Future of per-arch-platform ABI spec files

2017-09-19 Thread Honnappa Nagarahalli
I think Brian had similar comments. He will be in office tomorrow. Thanks, Honnappa On 19 September 2017 at 07:03, Dmitry Eremin-Solenikov wrote: > Hello, > > I have been poking around per-arch-platform ABI spec files. > Currently all architectures just

[lng-odp] [Bug 3246] GCC 7 detected incorrect if statement

2017-09-19 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3246 --- Comment #3 from Ola Liljedahl --- I am fixing the bug in odp_packet_io.c. The bisectability failure is a different problem. Perhaps create a separate bug tracker for that? -- You are receiving this mail because: You are

[lng-odp] [PATCH CLOUD-DEV v6 2/2] linux-gen: queue: add queue module to subsystem

2017-09-19 Thread Github ODP bot
From: Joyce Kong Signed-off-by: Joyce Kong Reviewed-by: Yi He Reviewed-by: Kevin Wang Reviewed-by: Honnappa Nagarahalli Reviewed-by: Brian Brooks --- /** Email

[lng-odp] [PATCH v1 0/1] configure: "best effort" approach for CUnit and validation tests

2017-09-19 Thread Github ODP bot
Allow configure to succeed (by disabling validation testsuite), if CUnit library was not found or if user did not specify --enable-test-vald explicitly). Signed-off-by: Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org github /** Email created from

[lng-odp] [PATCH v1 1/1] configure: "best effort" approach for CUnit and validation tests

2017-09-19 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Allow configure to succeed (by disabling validation testsuite), if CUnit library was not found or if user did not specify --enable-test-vald explicitly). Signed-off-by: Dmitry Eremin-Solenikov

[lng-odp] [Linaro/odp] 6e79d8: api: timer: refine timer pool param documentation

2017-09-19 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 6e79d897e3d5010991bf6e6ebf207bfd988f1129 https://github.com/Linaro/odp/commit/6e79d897e3d5010991bf6e6ebf207bfd988f1129 Author: Petri Savolainen Date: 2017-09-19 (Tue, 19 Sep

[lng-odp] [PATCH API-NEXT v1 1/1] linux-generic: fix GCC7 build error in sched_cb_pktin_poll_one

2017-09-19 Thread Github ODP bot
From: Ola Liljedahl Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=3246 by adding missing curly braces around if-clause. For builds which don't flag this as an error, the resulting build would be functional but with degraded performance. Signed-off-by: Ola Liljedahl

[lng-odp] [PATCH API-NEXT v1 0/1] linux-generic: fix GCC7 build error in sched_cb_pktin_poll_one

2017-09-19 Thread Github ODP bot
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=3246 by adding missing curly braces around if-clause. For builds which don't flag this as an error, the resulting build would be functional but with degraded performance. Signed-off-by: Ola Liljedahl ola.liljed...@arm.com Reviewed-by: Honnappa

[lng-odp] [Linaro/odp] f2da01: api: pool: add min and max headroom configuration ...

2017-09-19 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: f2da0136e11df9372ada5f01efdc4cf176680dea https://github.com/Linaro/odp/commit/f2da0136e11df9372ada5f01efdc4cf176680dea Author: Balasubramanian Manoharan Date: 2017-09-19 (Tue,