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 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 points

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 OD

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 OD

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 */ - buf

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; + odp_pool_i

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 i

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 points

[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

[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) ** https://github.com/Linaro/odp/pull/495 ** P

[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 from pull request 495 (semihalf-mazur-mich

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 input

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 62 @@ -0,0 +1,109 @@ +/* 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-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 ODP_RING_ST_INTERNAL_H

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 ODP_RING_ST_INTERNAL_H

[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

[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 from pull request 495 (semihalf-mazur-mich

[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) ** https://github.com/Linaro/odp/pull/495 ** P

[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 fi

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

2018-02-23 Thread Github ODP bot
From: Matias Elo 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 examp