[lng-odp] [PATCH v1] [RFC 1/2] temporarily disable DDF validations and samples

2017-11-20 Thread Github ODP bot
From: Yi He Signed-off-by: Yi He --- /** Email created from pull request 300 (heyi-linaro:native-drivers) ** https://github.com/Linaro/odp/pull/300 ** Patch: https://github.com/Linaro/odp/pull/300.patch ** Base sha: 4bd608048e6fa77d3154b8d90b85fc2b66c6bf1a

[lng-odp] [PATCH v1] [RFC 2/2] DDF cleanup and movement

2017-11-20 Thread Github ODP bot
From: Yi He Cleanup DDF duplicated align, atomic, barrier, byteorder, compiler, hints, shm, spinlock, std_types and sync, driver can use ODP APIs directly, move DDF into frameworks/driver. Signed-off-by: Yi He --- /** Email created from pull request 300

Re: [lng-odp] Github shows commits in wrong order

2017-11-20 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Savolainen, Petri (Nokia - FI/Espoo) > Sent: Friday, November 17, 2017 10:24 AM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] Github shows commits in wrong order > > Hi, > > Here's

[lng-odp] [PATCH API-NEXT v2 2/2] linux-gen: ipsec: use new odp checksum API

2017-11-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Use odp_chksum_ones_comp16 which may be platform-optimized. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 280 (lumag:chksum) **

[lng-odp] [PATCH API-NEXT v2 1/2] helper: use new odp checksum API

2017-11-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Use odp_chksum_ones_comp16 which may be platform-optimized. This removes now unnecessary odph_cksum() function. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 280

[lng-odp] [PATCH API-NEXT v2 0/2] Use chksum API

2017-11-20 Thread Github ODP bot
github /** Email created from pull request 280 (lumag:chksum) ** https://github.com/Linaro/odp/pull/280 ** Patch: https://github.com/Linaro/odp/pull/280.patch ** Base sha: d4b364849c4abb4c71e0c5260e1a793ebb8dc97d ** Merge commit sha:

[lng-odp] [PATCH 2.0 v3 0/2] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
Replace pktio ops_data array implementation with memory pool implementation. github /** Email created from pull request 297 (bogdanPricope:2_0_ops_alloc_pr) ** https://github.com/Linaro/odp/pull/297 ** Patch: https://github.com/Linaro/odp/pull/297.patch

[lng-odp] [PATCH 2.0 v3 1/2] linux-gen: pktio: add pktio operations data pool

2017-11-20 Thread Github ODP bot
From: Bogdan Pricope Pktio instances need a memory area where to store configuration or state information. The size and structure of this area depends on pktio type. This pool is meant to be used for allocation of such memory areas. Signed-off-by: Bogdan Pricope

[lng-odp] [PATCH 2.0 v3 2/2] linux-gen: pktio: use pktio operations data pool

2017-11-20 Thread Github ODP bot
From: Bogdan Pricope Pktio instances need a memory area where to store configuration or state information. This patch replaces utilization of a fixed size memory area with a variable size memory area allocated from a predefined pool. This reduces the memory size needed

[lng-odp] [PATCH API-NEXT v8 0/4] api: random early detection and back pressure

2017-11-20 Thread Github ODP bot
adds RED and BP configuration to both pool and queue parameters github /** Email created from pull request 277 (bala-manoharan:RED) ** https://github.com/Linaro/odp/pull/277 ** Patch: https://github.com/Linaro/odp/pull/277.patch ** Base sha:

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/Makefile.am line 4 @@ -175,6 +175,7 @@ noinst_HEADERS = \ include/odp_name_table_internal.h \ include/odp_packet_internal.h \

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_pktio_ops_subsystem.h @@ -92,6 +94,32 @@ typedef ODP_MODULE_CLASS(pktio_ops) { #define odp_ops_data(_p, _mod) \ ((pktio_ops_ ## _mod ## _data_t *)(uintptr_t)_p->s.ops_data) +#define

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_pktio_ops_subsystem.h @@ -87,12 +87,8 @@ typedef ODP_MODULE_CLASS(pktio_ops) { odp_api_proto(pktio_ops, print) print; } pktio_ops_module_t; -/* Maximum size of pktio specific ops

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
bogdanPricope replied on github web page: platform/linux-generic/pktio/tap.c line 10 @@ -92,23 +92,30 @@ static int tap_pktio_open(odp_pktio_t id ODP_UNUSED, int fd, skfd, flags; uint32_t mtu; struct ifreq ifr; - pktio_ops_tap_data_t *tap = odp_ops_data(pktio_entry,

Re: [lng-odp] [PATCH API-NEXT v8] api: random early detection and back pressure

2017-11-20 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/classification.h @@ -107,6 +108,55 @@ typedef union odp_cls_pmr_terms_t { uint64_t all_bits; } odp_cls_pmr_terms_t; +/** Random Early Detection (RED) + * Random Early Detection is enabled to initiate a drop

Re: [lng-odp] [PATCH API-NEXT v8] api: random early detection and back pressure

2017-11-20 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/classification.h @@ -107,6 +108,61 @@ typedef union odp_cls_pmr_terms_t { uint64_t all_bits; } odp_cls_pmr_terms_t; +/** Random Early Detection (RED) + * Random Early Detection is enabled to initiate a drop

Re: [lng-odp] [PATCH API-NEXT v8] api: random early detection and back pressure

2017-11-20 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/threshold.h @@ -0,0 +1,105 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP threshold descriptor + */ + +#ifndef

[lng-odp] IPsec: handling dummy packets (NH=59)

2017-11-20 Thread Dmitry Eremin-Solenikov
Hello, I was thinking about another minor part of IPsec RFCs: dummy packets used to mask traffic statistics. IPsec implementation is required to drop ESP packets with NH = 59 (no next header) on receiver side and is expected to be able to generate these packets on transmitter side. Currently we

[lng-odp] [PATCH API-NEXT v8 4/4] linux-generic: classification: implement random early detection and back pressure

2017-11-20 Thread Github ODP bot
From: Balasubramanian Manoharan linux-generic does not support random early detection and back pressure Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 277 (bala-manoharan:RED) **

Re: [lng-odp] [PATCH API-NEXT v1] api: pktio: max frame length

2017-11-20 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: test/performance/odp_l2fwd.c line 5 @@ -108,6 +108,7 @@ typedef struct { int error_check;/**< Check packet errors */ int sched_mode; /**< Scheduler mode */ int num_groups; /**< Number of

[lng-odp] [PATCH API-NEXT v8 3/4] api: classification: add random early detection and back pressure

2017-11-20 Thread Github ODP bot
From: Balasubramanian Manoharan Adds random early detection and Back pressure feature to CoS Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 277 (bala-manoharan:RED) **

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/packet_io.h @@ -1188,6 +1188,11 @@ uint64_t odp_pktin_ts_res(odp_pktio_t pktio); */ odp_time_t odp_pktin_ts_from_ns(odp_pktio_t pktio, uint64_t ns); +/** + * Packet IO operations data pool name + */

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_packet_io_pool.h @@ -0,0 +1,27 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP packet IO pool

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet_io_pool.c @@ -0,0 +1,54 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include +#include

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet_io_pool.c @@ -0,0 +1,54 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. Comment: 2017, not 2013 here. > Bill Fischofer(Bill-Fischofer-Linaro) wrote: > Are these intended to be

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_pktio_ops_subsystem.h @@ -88,10 +89,40 @@ typedef ODP_MODULE_CLASS(pktio_ops) { /* Maximum size of pktio specific ops data.*/ #define ODP_PKTIO_ODPS_DATA_MAX_SIZE 8 +/* Pktio ops data pool

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/tap.c line 10 @@ -92,23 +92,30 @@ static int tap_pktio_open(odp_pktio_t id ODP_UNUSED, int fd, skfd, flags; uint32_t mtu; struct ifreq ifr; - pktio_ops_tap_data_t *tap =

Re: [lng-odp] [PATCH 2.0 v3] Replace pktio ops_data array implementation with memory pool implementation

2017-11-20 Thread Github ODP bot
nagarahalli replied on github web page: platform/linux-generic/Makefile.am line 4 @@ -175,6 +175,7 @@ noinst_HEADERS = \ include/odp_name_table_internal.h \ include/odp_packet_internal.h \ include/odp_packet_io_internal.h \ +

Re: [lng-odp] Github shows commits in wrong order

2017-11-20 Thread Maxim Uvarov
On 11/20/17 13:16, Andriy Berestovskyy wrote: > Hey guys, > I guess it is a known GitHub "feature": > > https://help.github.com/articles/why-are-my-commits-in-the-wrong-order/ > > Andriy > yep github team also replied with that link. And it's not clear if they will fix it and when. Maxim. >

Re: [lng-odp] [PATCH API-NEXT v8] api: random early detection and back pressure

2017-11-20 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/classification.h @@ -107,6 +108,55 @@ typedef union odp_cls_pmr_terms_t { uint64_t all_bits; } odp_cls_pmr_terms_t; +/** Random Early Detection (RED) + * Random Early Detection is enabled to initiate a drop

Re: [lng-odp] [PATCH API-NEXT v8] api: random early detection and back pressure

2017-11-20 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/classification.h @@ -107,6 +108,61 @@ typedef union odp_cls_pmr_terms_t { uint64_t all_bits; } odp_cls_pmr_terms_t; +/** Random Early Detection (RED) + * Random Early Detection is enabled to initiate a drop

Re: [lng-odp] [PATCH API-NEXT v8] api: random early detection and back pressure

2017-11-20 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/std_types.h @@ -32,6 +32,13 @@ extern "C" { */ /** + * @typedef odp_percent_t + * Use odp_percent_t for specifying fields that are percentages. It is a fixed + * point integer whose units are expressed as one-hundredth

[lng-odp] [PATCH API-NEXT v3 1/3] example: switch to using ODP chksum API

2017-11-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov ODP now provides odp_chksum_ones_comp16, switch examples to use it instead of odph_chksum helper function. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 280

[lng-odp] [PATCH API-NEXT v3 0/3] Use chksum API

2017-11-20 Thread Github ODP bot
github /** Email created from pull request 280 (lumag:chksum) ** https://github.com/Linaro/odp/pull/280 ** Patch: https://github.com/Linaro/odp/pull/280.patch ** Base sha: d4b364849c4abb4c71e0c5260e1a793ebb8dc97d ** Merge commit sha:

[lng-odp] [PATCH API-NEXT v3 2/3] helper: use new odp checksum API

2017-11-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Use odp_chksum_ones_comp16 which may be platform-optimized. This removes now unnecessary odph_cksum() function. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 280

[lng-odp] [PATCH API-NEXT v3 3/3] linux-gen: ipsec: use new odp checksum API

2017-11-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Use odp_chksum_ones_comp16 which may be platform-optimized. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 280 (lumag:chksum) **

Re: [lng-odp] IPsec: handling dummy packets (NH=59)

2017-11-20 Thread Bill Fischofer
Traffic Flow Confidentiality (TFC) is a feature of SAs according to RFC 4303 that must be negotiated on a per-SA basis before it is used. So This would need to be hooked into higher-level protocols. >From an ODP perspective, it would be an additional set of parameters on the odp_ipsec_sa_create()