Re: [lng-odp] [PATCH v1] linux-gen: add runtime configuration file

2018-02-26 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: platform/linux-generic/libodp-linux.pc.in line 7 @@ -7,5 +7,5 @@ Name: libodp-linux Description: The ODP packet processing engine Version: @PKGCONFIG_VERSION@ Libs: -L${libdir} -lodp-linux -Libs.private: @OPENSSL_STATIC_LIBS@ @DPDK_LIBS@

Re: [lng-odp] [PATCH v1] linux-gen: add runtime configuration file

2018-02-26 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: platform/linux-generic/pktio/dpdk.c line 51 @@ -93,6 +95,56 @@ void refer_constructors(void) } #endif +static void lookup_opt(config_setting_t *default_opt, config_setting_t *drv_opt, + const char *opt, int *val) +{ +

Re: [lng-odp] [PATCH v1] linux-gen: add runtime configuration file

2018-02-26 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: platform/linux-generic/pktio/dpdk.c line 67 @@ -93,6 +95,56 @@ void refer_constructors(void) } #endif +static void lookup_opt(config_setting_t *default_opt, config_setting_t *drv_opt, + const char *opt, int *val) +{ +

Re: [lng-odp] [PATCH v1] linux-gen: add runtime configuration file

2018-02-26 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: m4/odp_libconfig.m4 line 7 @@ -0,0 +1,60 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +AC_ARG_VAR([LIBCONFIG_CPPFLAGS], [C

Re: [lng-odp] [PATCH v1] linux-gen: add runtime configuration file

2018-02-26 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/include/odp_internal.h line 13 @@ -55,10 +56,13 @@ struct odp_global_data_s { odp_cpumask_t control_cpus; odp_cpumask_t worker_cpus; int num_cpus_installed; + config_t libconfig; /*<

Re: [lng-odp] [PATCH v1] linux-gen: add runtime configuration file

2018-02-26 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/libodp-linux.pc.in line 7 @@ -7,5 +7,5 @@ Name: libodp-linux Description: The ODP packet processing engine Version: @PKGCONFIG_VERSION@ Libs: -L${libdir} -lodp-linux -Libs.private: @OPENSSL_STATIC_LIBS@

Re: [lng-odp] [PATCH v1] linux-gen: add runtime configuration file

2018-02-26 Thread Github ODP bot
bogdanPricope replied on github web page: .travis.yml line 13 @@ -254,7 +255,7 @@ script: - make -j $(nproc) - mkdir /dev/shm/odp - if [ -z "$CROSS_ARCH" ] ; then - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH"

Re: [lng-odp] [PATCH v1] linux-gen: add runtime configuration file

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/dpdk.c line 67 @@ -93,6 +95,56 @@ void refer_constructors(void) } #endif +static void lookup_opt(config_setting_t *default_opt, config_setting_t *drv_opt, + const char *opt,

Re: [lng-odp] [PATCH v1] changelog: updates for v1.18.0.0

2018-02-26 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: CHANGELOG line 209 @@ -1,3 +1,217 @@ +== OpenDataPlane (1.18.0.0) +=== New Features +ODP v1.18.0.0 is Tiger Moth Release Candidate 2 (RC 2). It completes the new +APIs that are part of the Tiger Moth Long Term Support (LTS) release of ODP

Re: [lng-odp] [PATCH v1] changelog: updates for v1.18.0.0

2018-02-26 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: CHANGELOG line 200 @@ -1,3 +1,217 @@ +== OpenDataPlane (1.18.0.0) +=== New Features +ODP v1.18.0.0 is Tiger Moth Release Candidate 2 (RC 2). It completes the new +APIs that are part of the Tiger Moth Long Term Support (LTS) release of ODP

Re: [lng-odp] [PATCH v1] changelog: updates for v1.18.0.0

2018-02-26 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: CHANGELOG line 197 @@ -1,3 +1,217 @@ +== OpenDataPlane (1.18.0.0) +=== New Features +ODP v1.18.0.0 is Tiger Moth Release Candidate 2 (RC 2). It completes the new +APIs that are part of the Tiger Moth Long Term Support (LTS) release of ODP

Re: [lng-odp] [PATCH v1] changelog: updates for v1.18.0.0

2018-02-26 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: CHANGELOG line 29 @@ -1,3 +1,217 @@ +== OpenDataPlane (1.18.0.0) +=== New Features +ODP v1.18.0.0 is Tiger Moth Release Candidate 2 (RC 2). It completes the new +APIs that are part of the Tiger Moth Long Term Support (LTS) release of ODP

Re: [lng-odp] [PATCH v1] changelog: updates for v1.18.0.0

2018-02-26 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: CHANGELOG line 122 @@ -1,3 +1,217 @@ +== OpenDataPlane (1.18.0.0) +=== New Features +ODP v1.18.0.0 is Tiger Moth Release Candidate 2 (RC 2). It completes the new +APIs that are part of the Tiger Moth Long Term Support (LTS) release of ODP

[lng-odp] [PATCH API-NEXT v1 8/11] linux-gen: ipsec: separate ipv4/ipv6 flags

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v1 9/11] linux-gen: ipsec: take output ip_param into account

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Allow per-packet override of IP parameters. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502

[lng-odp] [PATCH API-NEXT v1 11/11] validation: ipsec: inbound TFC dummy packets check

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v1 10/11] linux-gen: ipsec: support inbound TFC dummy packets

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v1 2/11] validation: packet: verify odp_packet_l2_type()

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v1 7/11] validation: ipsec: add L3/L4 types validation

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v1 6/11] linux-gen: packet: support L4 type No Next Header

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v1 4/11] linux-gen: ipsec: provide global init/term functions

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v1 3/11] validation: ipsec: set frag_mode flag

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v1 5/11] linux-gen: ipsec: take ipsec_out_opt flags into account

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Only override frag_mode if respective flag is set. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) **

[lng-odp] [PATCH API-NEXT v1 0/11] IPsec implementation update

2018-02-26 Thread Github ODP bot
github /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch: https://github.com/Linaro/odp/pull/502.patch ** Base sha: c91eae61d19350dd19aacf18c1148c9491398c14 ** Merge commit sha:

[lng-odp] [PATCH API-NEXT v1 1/11] linux-gen: packet: add odp_packet_l2_type() implementation

2018-02-26 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v1 1/1] update Linaro Copyrights to 2018 year part2

2018-02-26 Thread Github ODP bot
From: Maxim Uvarov update Copyrights with the same script in rebased branch. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 501 (muvarov:devel/api_next_copyrights2) ** https://github.com/Linaro/odp/pull/501 ** Patch:

[lng-odp] [PATCH API-NEXT v1 0/1] update Linaro Copyrights to 2018 year part2

2018-02-26 Thread Github ODP bot
update Copyrights with the same script in rebased branch. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email created from pull request 501 (muvarov:devel/api_next_copyrights2) ** https://github.com/Linaro/odp/pull/501 ** Patch:

[lng-odp] [PATCH v1 0/1] changelog: updates for v1.18.0.0

2018-02-25 Thread Github ODP bot
Add updates for v1.18.0.0 (Tiger Moth RC2) Signed-off-by: Bill Fischofer bill.fischo...@linaro.org github /** Email created from pull request 500 (Bill-Fischofer-Linaro:v1.18-changelog) ** https://github.com/Linaro/odp/pull/500 ** Patch:

[lng-odp] [PATCH v1 0/1] linux-gen: add runtime configuration file

2018-02-23 Thread Github ODP bot
Enables changing ODP runtime configuration options by using an optional configuration file (libconfig). Path to the conf file is passed using environment variable ODP_CONF_FILE. If ODP_CONF_FILE or a particular option is not set, hardcoded default values are used intead. An example configuration

[lng-odp] [PATCH v7 2/2] validation: pool: verify pool data range

2018-02-23 Thread Github ODP bot
From: Michal Mazur Allocate maximum number of packets from pool and verify that packet data are located inside range returned by odp_pool_info. Signed-off-by: Michal Mazur --- /** Email created from pull request 495 (semihalf-mazur-michal:master) **

[lng-odp] [PATCH v7 1/2] linux-generic: pool: Return address range in pool info

2018-02-23 Thread Github ODP bot
From: Michal Mazur Implement support in odp_pool_info function to provide address range of pool data available to application. Pull request of related API change: https://github.com/Linaro/odp/pull/200 Signed-off-by: Michal Mazur --- /** Email created

[lng-odp] [PATCH v7 0/2] linux-generic: pool: Return address range in pool info

2018-02-23 Thread Github ODP bot
Implement support in odp_pool_info function to provide address range of pool data available to application. Similar change was already merged to caterpillar/linux-dpdk: #400 Pull request of related API change: #200 github /** Email created from pull request

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 78 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 46 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: data and segment length

2018-02-23 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/packet.h line 39 @@ -401,30 +401,39 @@ uint32_t odp_packet_buf_len(odp_packet_t pkt); /** * Packet data pointer * - * Returns the current packet data pointer. When a packet is received - * from packet

[lng-odp] [PATCH v6 1/2] linux-generic: pool: Return address range in pool info

2018-02-23 Thread Github ODP bot
From: Michal Mazur Implement support in odp_pool_info function to provide address range of pool data available to application. Pull request of related API change: https://github.com/Linaro/odp/pull/200 Signed-off-by: Michal Mazur --- /** Email created

[lng-odp] [PATCH v6 2/2] validation: pool: verify pool data range

2018-02-23 Thread Github ODP bot
From: Michal Mazur Allocate maximum number of packets from pool and verify that packet data are located inside range returned by odp_pool_info. Signed-off-by: Michal Mazur --- /** Email created from pull request 495 (semihalf-mazur-michal:master) **

[lng-odp] [PATCH v6 0/2] linux-generic: pool: Return address range in pool info

2018-02-23 Thread Github ODP bot
Implement support in odp_pool_info function to provide address range of pool data available to application. Similar change was already merged to caterpillar/linux-dpdk: #400 Pull request of related API change: #200 github /** Email created from pull request

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: data and segment length

2018-02-23 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/packet.h line 39 @@ -401,30 +401,39 @@ uint32_t odp_packet_buf_len(odp_packet_t pkt); /** * Packet data pointer * - * Returns the current packet data pointer. When a packet is received - * from packet input, this

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: data and segment length

2018-02-23 Thread Github ODP bot
Balasubramanian Manoharan(bala-manoharan) replied on github web page: include/odp/api/spec/packet.h line 39 @@ -401,30 +401,39 @@ uint32_t odp_packet_buf_len(odp_packet_t pkt); /** * Packet data pointer * - * Returns the current packet data pointer. When a packet is received - * from packet

Re: [lng-odp] [PATCH v5] linux-generic: pool: Return address range in pool info

2018-02-23 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: test/validation/api/pool/pool.c line 40 @@ -217,6 +217,50 @@ static void pool_test_info_packet(void) CU_ASSERT(odp_pool_destroy(pool) == 0); } +static void pool_test_info_data_range(void) +{ + odp_pool_t pool; +

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-23 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_pool.c line 28 @@ -296,7 +282,9 @@ static void init_buffers(pool_t *pool) memset(buf_hdr, 0, (uintptr_t)data - (uintptr_t)buf_hdr); /* Initialize buffer metadata */ -

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-23 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 78 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_RING_ST_INTERNAL_H_ +#define

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-23 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 46 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_RING_ST_INTERNAL_H_ +#define

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: data and segment length

2018-02-23 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/packet.h line 28 @@ -401,30 +401,39 @@ uint32_t odp_packet_buf_len(odp_packet_t pkt); /** * Packet data pointer * - * Returns the current packet data pointer. When a packet is received - * from packet input, this

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: data and segment length

2018-02-23 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/packet.h line 9 @@ -401,30 +401,39 @@ uint32_t odp_packet_buf_len(odp_packet_t pkt); /** * Packet data pointer * - * Returns the current packet data pointer. When a packet is received - * from packet input, this points

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c line 103 @@ -192,6 +201,9 @@ static odp_queue_t queue_create(const char *name, param = _param; } + if (param->size > CONFIG_QUEUE_SIZE) Comment: Agreed, this is

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c line 95 @@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa) capa->max_sched_groups = sched_fn->num_grps(); capa->sched_prios =

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c line 92 @@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa) capa->max_sched_groups = sched_fn->num_grps(); capa->sched_prios =

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_pool.c line 28 @@ -296,7 +282,9 @@ static void init_buffers(pool_t *pool) memset(buf_hdr, 0, (uintptr_t)data - (uintptr_t)buf_hdr); /* Initialize buffer metadata */ -

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c line 420 @@ -584,8 +556,9 @@ static int queue_init(queue_entry_t *queue, const char *name, queue->s.pktin = PKTIN_INVALID; queue->s.pktout = PKTOUT_INVALID; -

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 78 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 46 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef

Re: [lng-odp] [PATCH API-NEXT v2] IPsec TFC implementation

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/ipsec.h line 8 @@ -1346,9 +1346,7 @@ int odp_ipsec_in(const odp_packet_t pkt_in[], int num_in, * and content of packet data before the IP header is undefined. Use outbound * operation parameters to specify

Re: [lng-odp] [PATCH API-NEXT v2] IPsec TFC implementation

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_ipsec.c line 245 @@ -1165,6 +1167,8 @@ static int ipsec_out_esp(odp_packet_t *pkt, ipsec_offset + _ODP_ESPHDR_LEN, ipsec_sa->esp_iv_len,

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: data and segment length

2018-02-22 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: include/odp/api/spec/packet.h line 28 @@ -401,30 +401,39 @@ uint32_t odp_packet_buf_len(odp_packet_t pkt); /** * Packet data pointer * - * Returns the current packet data pointer. When a packet is received - * from packet input, this

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: data and segment length

2018-02-22 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: include/odp/api/spec/packet.h line 9 @@ -401,30 +401,39 @@ uint32_t odp_packet_buf_len(odp_packet_t pkt); /** * Packet data pointer * - * Returns the current packet data pointer. When a packet is received - * from packet input, this

[lng-odp] [PATCH v5 2/2] validation: pool: verify pool data range

2018-02-22 Thread Github ODP bot
From: Michal Mazur Allocate maximum number of packets from pool and verify that packet data are located inside range returned by odp_pool_info. Signed-off-by: Michal Mazur --- /** Email created from pull request 495 (semihalf-mazur-michal:master) **

[lng-odp] [PATCH v5 1/2] linux-generic: pool: Return address range in pool info

2018-02-22 Thread Github ODP bot
From: Michal Mazur Implement support in odp_pool_info function to provide address range of pool data available to application. Pull request of related API change: https://github.com/Linaro/odp/pull/200 Signed-off-by: Michal Mazur --- /** Email created

[lng-odp] [PATCH v5 0/2] linux-generic: pool: Return address range in pool info

2018-02-22 Thread Github ODP bot
Implement support in odp_pool_info function to provide address range of pool data available to application. Similar change was already merged to caterpillar/linux-dpdk: #400 Pull request of related API change: #200 github /** Email created from pull request

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 24 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 32 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c @@ -471,51 +476,18 @@ static inline int deq_multi(queue_entry_t *queue, odp_buffer_hdr_t *buf_hdr[], } UNLOCK(>s.lock); - return 0; - } - -

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c @@ -263,7 +275,7 @@ static int queue_destroy(odp_queue_t handle) ODP_ERR("queue \"%s\" already destroyed\n", queue->s.name); return -1; } - if

Re: [lng-odp] [PATCH v4] linux-generic: pool: Return address range in pool info

2018-02-22 Thread Github ODP bot
semihalf-mazur-michal replied on github web page: test/validation/api/pool/pool.c @@ -217,6 +217,50 @@ static void pool_test_info_packet(void) CU_ASSERT(odp_pool_destroy(pool) == 0); } +static void pool_test_info_data_range(void) +{ + odp_pool_t pool; + odp_pool_info_t

[lng-odp] [PATCH API-NEXT v1 4/4] validation: packet: test packet_data_seg_len

2018-02-22 Thread Github ODP bot
From: Petri Savolainen Test the new combined packet data and seg_len function. Signed-off-by: Petri Savolainen --- /** Email created from pull request 497 (psavol:next-packet-data-doc) ** https://github.com/Linaro/odp/pull/497 **

[lng-odp] [PATCH v4 2/2] validation: pool: verify pool data range

2018-02-22 Thread Github ODP bot
From: Michal Mazur Allocate maximum number of packets from pool and verify that packet data are located inside range returned by odp_pool_info. Signed-off-by: Michal Mazur --- /** Email created from pull request 495 (semihalf-mazur-michal:master) **

[lng-odp] [PATCH v4 1/2] linux-generic: pool: Return address range in pool info

2018-02-22 Thread Github ODP bot
From: Michal Mazur Implement support in odp_pool_info function to provide address range of pool data available to application. Pull request of related API change: https://github.com/Linaro/odp/pull/200 Signed-off-by: Michal Mazur --- /** Email created

[lng-odp] [PATCH v4 0/2] linux-generic: pool: Return address range in pool info

2018-02-22 Thread Github ODP bot
Implement support in odp_pool_info function to provide address range of pool data available to application. Similar change was already merged to caterpillar/linux-dpdk: #400 Pull request of related API change: #200 github /** Email created from pull request

[lng-odp] [PATCH API-NEXT v1 3/4] linux-gen: packet: implement packet_data_seg_len

2018-02-22 Thread Github ODP bot
From: Petri Savolainen Implement the new combined packet data and seg_len function. Signed-off-by: Petri Savolainen --- /** Email created from pull request 497 (psavol:next-packet-data-doc) ** https://github.com/Linaro/odp/pull/497 **

[lng-odp] [PATCH API-NEXT v1 2/4] api: packet: add combined packet data and seg len

2018-02-22 Thread Github ODP bot
From: Petri Savolainen Packet data pointer and segment length used often. Combine two calls into one call. One call performs better in ABI compatible mode than two calls. Signed-off-by: Petri Savolainen --- /** Email created from pull

[lng-odp] [PATCH API-NEXT v1 1/4] api: packet: improve segmented packet documentation

2018-02-22 Thread Github ODP bot
From: Petri Savolainen Improve documentation text to be more explicit that packets may be segmented. Signed-off-by: Petri Savolainen --- /** Email created from pull request 497 (psavol:next-packet-data-doc) **

[lng-odp] [PATCH API-NEXT v1 0/4] api: packet: data and segment length

2018-02-22 Thread Github ODP bot
Improved documentation and added new combined function for better performance in ABI compat mode. github /** Email created from pull request 497 (psavol:next-packet-data-doc) ** https://github.com/Linaro/odp/pull/497 ** Patch:

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_queue.c line 420 @@ -584,8 +556,9 @@ static int queue_init(queue_entry_t *queue, const char *name, queue->s.pktin = PKTIN_INVALID; queue->s.pktout = PKTOUT_INVALID; - queue->s.head = NULL; -

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/include/odp_config_internal.h line 5 @@ -144,7 +144,7 @@ extern "C" { * This controls the burst size on various enqueue, dequeue, etc calls. Large * burst size improves throughput, but may degrade QoS (increase

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_queue.c @@ -471,51 +476,18 @@ static inline int deq_multi(queue_entry_t *queue, odp_buffer_hdr_t *buf_hdr[], } UNLOCK(>s.lock); - return 0; - } - - for (i =

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 32 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c line 95 @@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa) capa->max_sched_groups = sched_fn->num_grps(); capa->sched_prios =

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_queue.c line 103 @@ -192,6 +201,9 @@ static odp_queue_t queue_create(const char *name, param = _param; } + if (param->size > CONFIG_QUEUE_SIZE) Comment: One entry is not lost. User

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_queue.c line 95 @@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa) capa->max_sched_groups = sched_fn->num_grps(); capa->sched_prios = odp_schedule_num_prio();

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_queue.c line 92 @@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa) capa->max_sched_groups = sched_fn->num_grps(); capa->sched_prios = odp_schedule_num_prio();

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/include/odp_buffer_internal.h line 17 @@ -41,11 +41,19 @@ typedef struct seg_entry_t { uint32_t len; } seg_entry_t; +typedef union buffer_index_t { + uint32_t u32; + + struct { +

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_RING_ST_INTERNAL_H_ +#define

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c line 103 @@ -192,6 +201,9 @@ static odp_queue_t queue_create(const char *name, param = _param; } + if (param->size > CONFIG_QUEUE_SIZE) Comment: Change to `if

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 78 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_RING_ST_INTERNAL_H_ +#define

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 32 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_RING_ST_INTERNAL_H_ +#define

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_queue.c @@ -263,7 +275,7 @@ static int queue_destroy(odp_queue_t handle) ODP_ERR("queue \"%s\" already destroyed\n", queue->s.name); return -1; } - if (queue->s.head !=

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 24 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_RING_ST_INTERNAL_H_ +#define

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/odp_pool.c line 28 @@ -296,7 +282,9 @@ static void init_buffers(pool_t *pool) memset(buf_hdr, 0, (uintptr_t)data - (uintptr_t)buf_hdr); /* Initialize buffer metadata */ -

Re: [lng-odp] [PATCH API-NEXT v2] IPsec TFC implementation

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_ipsec.c line 245 @@ -1165,6 +1167,8 @@ static int ipsec_out_esp(odp_packet_t *pkt, ipsec_offset + _ODP_ESPHDR_LEN, ipsec_sa->esp_iv_len,

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_config_internal.h line 5 @@ -144,7 +144,7 @@ extern "C" { * This controls the burst size on various enqueue, dequeue, etc calls. Large * burst size improves throughput, but may degrade QoS

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c line 420 @@ -584,8 +556,9 @@ static int queue_init(queue_entry_t *queue, const char *name, queue->s.pktin = PKTIN_INVALID; queue->s.pktout = PKTOUT_INVALID; -

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c @@ -471,51 +476,18 @@ static inline int deq_multi(queue_entry_t *queue, odp_buffer_hdr_t *buf_hdr[], } UNLOCK(>s.lock); - return 0; - } - -

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c @@ -263,7 +275,7 @@ static int queue_destroy(odp_queue_t handle) ODP_ERR("queue \"%s\" already destroyed\n", queue->s.name); return -1; } - if

Re: [lng-odp] [PATCH API-NEXT v2] IPsec TFC implementation

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c line 5 @@ -1286,7 +1286,7 @@ int odp_packet_l2_offset_set(odp_packet_t pkt, uint32_t offset) { odp_packet_hdr_t *pkt_hdr = packet_hdr(pkt); - if (offset >= pkt_hdr->frame_len) +

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_RING_ST_INTERNAL_H_

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_queue.c line 92 @@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa) capa->max_sched_groups = sched_fn->num_grps(); capa->sched_prios =

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_buffer_internal.h line 17 @@ -41,11 +41,19 @@ typedef struct seg_entry_t { uint32_t len; } seg_entry_t; +typedef union buffer_index_t { + uint32_t u32; + + struct { +

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_pool.c line 28 @@ -296,7 +282,9 @@ static void init_buffers(pool_t *pool) memset(buf_hdr, 0, (uintptr_t)data - (uintptr_t)buf_hdr); /* Initialize buffer metadata */ -

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-22 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 78 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef

<    1   2   3   4   5   6   7   8   9   10   >