Re: [lng-odp] [PATCH v3] Final platform build system cleanups

2017-10-17 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: example/l2fwd_simple/l2fwd_simple_run.sh @@ -9,7 +9,7 @@ PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit` echo "using PCAP_IN = ${PCAP_IN}" -./odp_l2fwd_simple pcap:in=${PCAP_IN} pcap:out=pcapout.pcap 02:00:00:0

[lng-odp] [PATCH v3 7/10] example: add ${EXEEXT} when calling compiled programs

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v3 9/10] linux-gen: use ${EXEEXT} when calling shmem_linux test

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v3 10/10] linux-gen: use EXEEXT in shmem_linux test

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Use EXEEXT environment variable when calling test programs during shmem_linux test. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro

[lng-odp] [PATCH v3 5/10] test: drop unused EXEEXT suffix

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v3 8/10] helper: add ${EXEEXT} when calling compiled programs

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v3 6/10] linux-gen: drop unused EXEEXT suffix

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v3 2/10] configure: use AC_CONFIG_COMMANDS_PRE to set conditionals

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v3 4/10] configure: cleanup per-platform if

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Move setting IMPLEMENTATION_NAME to platform configure.m4. Use AS_IF instead of handcoded if. Use AC_MSG_ERROR instead of echo & exit. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linar

[lng-odp] [PATCH v3 3/10] configure: drop SDK_INSTALL_PATH variable

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v3 1/10] configure: odp_openssl: use AS_HELP_STRING

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] Latest odp_ipsec_sa_disable() discussion and proposed resolution

2017-10-17 Thread Bill Fischofer
We discussed this during the ODP public call today and had the benefit of Pascal Van Leeuwen's participation. Pascal is a HW guy and explained some of the issues that HW IPsec support faces. HW recognizes an active SA by it being in a HW lookup table. From an ODP implementation perspective, odp_ip

Re: [lng-odp] [PATCH v2] Final platform build system cleanups

2017-10-17 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: example/l2fwd_simple/l2fwd_simple_run.sh line 5 @@ -9,7 +9,7 @@ PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit` echo "using PCAP_IN = ${PCAP_IN}" -./odp_l2fwd_simple pcap:in=${PCAP_IN} pcap:out=pcapout.p

[lng-odp] [PATCH v2 10/10] linux-gen: use EXEEXT in shmem_linux test

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Use EXEEXT environment variable when calling test programs during shmem_linux test. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro

[lng-odp] [PATCH v2 9/10] linux-gen: use ${EXEEXT} when calling shmem_linux test

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v2 7/10] example: add ${EXEEXT} when calling compiled programs

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v2 8/10] helper: add ${EXEEXT} when calling compiled programs

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v2 6/10] linux-gen: drop unused EXEEXT suffix

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v2 5/10] test: drop unused EXEEXT suffix

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v2 4/10] configure: cleanup per-platform if

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Move setting IMPLEMENTATION_NAME to platform configure.m4. Use AS_IF instead of handcoded if. Use AC_MSG_ERROR instead of echo & exit. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linar

[lng-odp] [PATCH v2 3/10] configure: drop SDK_INSTALL_PATH variable

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v2 2/10] configure: use AC_CONFIG_COMMANDS_PRE to set conditionals

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v2 0/10] Final platform build system cleanups

2017-10-17 Thread Github ODP bot
These are the last changes modifying/generifying/cleaning up platform code and build system. github /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch

[lng-odp] [PATCH v2 1/10] configure: odp_openssl: use AS_HELP_STRING

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [Bug 3024] odp_traffic_mngr example is broken

2017-10-17 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3024 Bill Fischofer changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution|---

Re: [lng-odp] [PATCH API-NEXT v1] Implement start/stop/link status/MAC set operations of TAP pktio

2017-10-17 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/pktio/tap.c line 105 @@ -412,6 +412,16 @@ static int tap_link_status(pktio_entry_t *pktio_entry) pktio_entry->s.name + 4); } +static int tap_mac_addr_set(pktio_entry_t *pktio_entry, const void *mac_addr) +{

Re: [lng-odp] [PATCH API-NEXT v1] Implement start/stop/link status/MAC set operations of TAP pktio

2017-10-17 Thread Github ODP bot
bogdanPricope replied on github web page: platform/linux-generic/pktio/tap.c line 105 @@ -412,6 +412,16 @@ static int tap_link_status(pktio_entry_t *pktio_entry) pktio_entry->s.name + 4); } +static int tap_mac_addr_set(pktio_entry_t *pktio_entry, const void *mac_ad

Re: [lng-odp] [PATCH API-NEXT v1] Implement start/stop/link status/MAC set operations of TAP pktio

2017-10-17 Thread Github ODP bot
bogdanPricope replied on github web page: platform/linux-generic/pktio/tap.c line 105 @@ -412,6 +412,16 @@ static int tap_link_status(pktio_entry_t *pktio_entry) pktio_entry->s.name + 4); } +static int tap_mac_addr_set(pktio_entry_t *pktio_entry, const void *mac_ad

[lng-odp] [Linaro/odp] edca8c: api: ipsec: return maximum antireplay window size ...

2017-10-17 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: edca8cd1e55898826f79383b689c2c4bd2c28b3a https://github.com/Linaro/odp/commit/edca8cd1e55898826f79383b689c2c4bd2c28b3a Author: Dmitry Eremin-Solenikov Date: 2017-10-17 (Tue, 17 Oct 2017) Changed paths:

Re: [lng-odp] [PATCH API-NEXT v7] api: ipsec: rework ODP_IPSEC_SA_DISABLE into warning bit

2017-10-17 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/ipsec.h line 54 @@ -1129,26 +1139,14 @@ typedef struct odp_ipsec_packet_result_t { * IPSEC status ID */ typedef enum odp_ipsec_status_id_t { - /** Response to SA disable command -* -* Following st

Re: [lng-odp] [PATCH API-NEXT v2] api: ipsec: return maximum antireplay window size via capability

2017-10-17 Thread Github ODP bot
muvarov replied on github web page: include/odp/api/spec/ipsec.h line 5 @@ -282,6 +282,9 @@ typedef struct odp_ipsec_capability_t { * be used for many SAs. */ uint32_t max_queues; + /** Maximum anti-replay window size. */ + uint32_t max_antireplay_ws; Comment: ok,

[lng-odp] [PATCH API-NEXT v7 0/1] api: ipsec: rework ODP_IPSEC_SA_DISABLE into warning bit

2017-10-17 Thread Github ODP bot
It is expected that platforms that are not able to support odp_ipsec_sa_disable() status result in a form of separate event will set SA hard expiry time to 0, submit a dummy packet to that SA. Then after receiving this packet after IPsec processing (which should result in hard expiry breach) odp_ip

[lng-odp] [PATCH API-NEXT v7 1/1] api: ipsec: rework ODP_IPSEC_SA_DISABLE into warning bit

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov It is expected that platforms that are not able to support odp_ipsec_sa_disable() status result in a form of separate event will set SA hard expiry time to 0, submit a dummy packet to that SA. Then after receiving this packet after IPsec processing (which should resu

[lng-odp] [PATCH v3 4/5] linux-gen: pool: select packet pool segment size at runtime

2017-10-17 Thread Github ODP bot
From: Matias Elo Use stored packet pool segment length (pool_t.seg_len) instead of a define. This enables creating packet pools with different segment sizes. Signed-off-by: Matias Elo --- /** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len) ** https://github.com/Linaro/odp/

[lng-odp] [PATCH v3 5/5] validation: packet: adjust segmented test packet length

2017-10-17 Thread Github ODP bot
From: Matias Elo Adjust 'segmented_packet_len' so that the test packet pool is able to allocate at least PACKET_POOL_NUM_SEG possibly segmented test packets. Several validation tests allocate new packets, so it is not enough to be able allocate a single segmented packet. Signed-off-by: Matias El

[lng-odp] [PATCH v3 0/5] linux-gen: pool: select packet pool segment size at runtime

2017-10-17 Thread Github ODP bot
This patch set modifies packet pool implementation to select segment size at runtime based on the pool parameters. After this patch set an application is able to create multiple packet pools with varying segment sizes. V2: Added CONFIG_PACKET_SEG_DISABLED checks (Bill) V3: Document gcc bug fix

[lng-odp] [PATCH v3 3/5] linux-gen: packet: fix build error with single segment packet header

2017-10-17 Thread Github ODP bot
From: Matias Elo Fix invalid gcc error ('array subscript is above array bounds') when CONFIG_PACKET_SEGS_PER_HDR is set to one. Tested with gcc 5.4.0. Signed-off-by: Matias Elo --- /** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len) ** https://github.com/Linaro/odp/pull/23

[lng-odp] [PATCH v3 1/5] linux-gen: pool: combine overlapping struct pool_t members

2017-10-17 Thread Github ODP bot
From: Matias Elo Struct pool_t members 'data_size' and 'max_seg_len' were both used to store the same value. Replace them with a single 'seg_len' member. Signed-off-by: Matias Elo --- /** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len) ** https://github.com/Linaro/odp/pull

[lng-odp] [PATCH v3 2/5] linux-gen: pool: modify packet pool config defines

2017-10-17 Thread Github ODP bot
From: Matias Elo Use separate defines for the maximum number of segments per packet (CONFIG_PACKET_MAX_SEGS) and the number of segments stored in a packet header (CONFIG_PACKET_SEGS_PER_HDR). A separate define is also added for the maximum packet length. Signed-off-by: Matias Elo --- /** Email

[lng-odp] [PATCH API-NEXT v2 6/8] linux-gen: pool: implement max_num info

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Implemented max_num info for packet pools. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: afeda4d14bb6f44

[lng-odp] [PATCH API-NEXT v2 8/8] api: pool: remove union from params

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Remove anonymous union from pool parameter structure. Union makes it impossible to initialize parameters per pool type (use other values than all zeros). This change is not visible to applications (union was anonymous). Signed-off-by: Petri Savolainen --- /** Email create

[lng-odp] [PATCH API-NEXT v2 7/8] validation: pool: add packet info test

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Added odp_pool_info() test for packet pools. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: afeda4d14bb6f

[lng-odp] [PATCH API-NEXT v2 3/8] validation: pool: add subparam test

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Test packet pool subparameters when those are supported. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: a

[lng-odp] [PATCH API-NEXT v2 4/8] validation: pool: initialize params correctly

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Use odp_pool_param_init() to initialize pool parameters. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: a

[lng-odp] [PATCH API-NEXT v2 5/8] api: pool: add max packet num info

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Packet pool parameters does not require application to specify the maximum number of packet. Application is more portable, if it does not restrict max_num, but instead uses this info field after pool creation. Signed-off-by: Petri Savolainen --- /** Email created from pul

[lng-odp] [PATCH API-NEXT v2 2/8] api: pool: add packet pool subparameters

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Additional packet length and number specification gives more information to implementation about intended packet length distribution in the pool. This enables e.g. correct initialization when pool implementation is based on multiple fixed packet / segment sizes (subpools).

[lng-odp] [PATCH API-NEXT v2 0/8] api: pool subparameters

2017-10-17 Thread Github ODP bot
Added packet pool parameters for more fine grained pool configuration. The basic usage of the parameters is not changed, except that implementation may now round up 'num' by default. Application can limit the round up with new 'max_num' parameter. If application does not limit max_num (but is still

[lng-odp] [PATCH API-NEXT v2 1/8] api: pool: relax packet pool param num

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Added packet pool parameter 'max_num', so that 'num' parameter can be round up by the implementation. Most implementations have a fixed segment size, and need this flexibility. For example, when 'len' is larger than the pool segment size, there may be e.g. 2 x 'num' segment

Re: [lng-odp] [PATCH API-NEXT v6] api: ipsec: rework ODP_IPSEC_SA_DISABLE into warning bit

2017-10-17 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/ipsec.h line 9 @@ -839,8 +839,10 @@ odp_ipsec_sa_t odp_ipsec_sa_create(const odp_ipsec_sa_param_t *param); * * When in synchronous operation mode, the call will return when it's possible * to destroy the SA. In asynch

Re: [lng-odp] [PATCH API-NEXT v2] api: ipsec: return maximum antireplay window size via capability

2017-10-17 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: include/odp/api/spec/ipsec.h line 5 @@ -282,6 +282,9 @@ typedef struct odp_ipsec_capability_t { * be used for many SAs. */ uint32_t max_queues; + /** Maximum anti-replay window size. */ + uint32_t max_antire

Re: [lng-odp] [PATCH v3] linux-gen: pool: select packet pool segment size at runtime

2017-10-17 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: platform/linux-generic/odp_packet.c @@ -2146,7 +2146,7 @@ odp_packet_t odp_packet_ref(odp_packet_t pkt, uint32_t offset) link_hdr->buf_hdr.seg[0].len = seg->len - seg_offset; buffer_ref_inc(seg->hdr); - for (i = 1; i < nu

Re: [lng-odp] [PATCH v3] linux-gen: pool: select packet pool segment size at runtime

2017-10-17 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c @@ -2146,7 +2146,7 @@ odp_packet_t odp_packet_ref(odp_packet_t pkt, uint32_t offset) link_hdr->buf_hdr.seg[0].len = seg->len - seg_offset; buffer_ref_inc(seg->hdr); - fo

[lng-odp] [PATCH API-NEXT v2 8/8] api: pool: remove union from params

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Remove anonymous union from pool parameter structure. Union makes it impossible to initialize parameters per pool type (use other values than all zeros). This change is not visible to applications (union was anonymous). Signed-off-by: Petri Savolainen --- /** Email create

[lng-odp] [PATCH API-NEXT v2 7/8] validation: pool: add packet info test

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Added odp_pool_info() test for packet pools. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: afeda4d14bb6f

[lng-odp] [PATCH API-NEXT v2 6/8] linux-gen: pool: implement max_num info

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Implemented max_num info for packet pools. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: afeda4d14bb6f44

[lng-odp] [PATCH API-NEXT v2 5/8] api: pool: add max packet num info

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Packet pool parameters does not require application to specify the maximum number of packet. Application is more portable, if it does not restrict max_num, but instead uses this info field after pool creation. Signed-off-by: Petri Savolainen --- /** Email created from pul

[lng-odp] [PATCH API-NEXT v2 4/8] validation: pool: initialize params correctly

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Use odp_pool_param_init() to initialize pool parameters. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: a

[lng-odp] [PATCH API-NEXT v2 3/8] validation: pool: add subparam test

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Test packet pool subparameters when those are supported. Signed-off-by: Petri Savolainen --- /** Email created from pull request 234 (psavol:next-pool-param) ** https://github.com/Linaro/odp/pull/234 ** Patch: https://github.com/Linaro/odp/pull/234.patch ** Base sha: a

[lng-odp] [PATCH API-NEXT v2 2/8] api: pool: add packet pool subparameters

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Additional packet length and number specification gives more information to implementation about intended packet length distribution in the pool. This enables e.g. correct initialization when pool implementation is based on multiple fixed packet / segment sizes (subpools).

[lng-odp] [PATCH API-NEXT v2 1/8] api: pool: relax packet pool param num

2017-10-17 Thread Github ODP bot
From: Petri Savolainen Added packet pool parameter 'max_num', so that 'num' parameter can be round up by the implementation. Most implementations have a fixed segment size, and need this flexibility. For example, when 'len' is larger than the pool segment size, there may be e.g. 2 x 'num' segment

[lng-odp] [PATCH API-NEXT v2 0/8] api: pool subparameters

2017-10-17 Thread Github ODP bot
Added packet pool parameters for more fine grained pool configuration. The basic usage of the parameters is not changed, except that implementation may now round up 'num' by default. Application can limit the round up with new 'max_num' parameter. If application does not limit max_num (but is still

[lng-odp] [PATCH v1 10/10] linux-gen: use EXEEXT in shmem_linux test

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Use EXEEXT environment variable when calling test programs during shmem_linux test. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro

[lng-odp] [PATCH v1 8/10] helper: add ${EXEEXT} when calling compiled programs

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v1 9/10] linux-gen: use ${EXEEXT} when calling shmem_linux test

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v1 7/10] example: add ${EXEEXT} when calling compiled programs

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v1 6/10] linux-gen: drop unused EXEEXT suffix

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v1 4/10] configure: cleanup per-platform if

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Move setting IMPLEMENTATION_NAME to platform configure.m4. Use AS_IF instead of handcoded if. Use AC_MSG_ERROR instead of echo & exit. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linar

[lng-odp] [PATCH v1 3/10] configure: drop SDK_INSTALL_PATH variable

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v1 5/10] test: drop unused EXEEXT suffix

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v1 2/10] configure: use AC_CONFIG_COMMANDS_PRE to set conditionals

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

[lng-odp] [PATCH v1 0/10] Final platform build system cleanups

2017-10-17 Thread Github ODP bot
These are the last changes modifying/generifying/cleaning up platform code and build system. github /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch

[lng-odp] [PATCH v1 1/10] configure: odp_openssl: use AS_HELP_STRING

2017-10-17 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 235 (lumag:plat-def-2) ** https://github.com/Linaro/odp/pull/235 ** Patch: https://github.com/Linaro/odp/pull/235.patch ** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc ** Merge

Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)

2017-10-17 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: Bill Fischofer [mailto:bill.fischo...@linaro.org] > Sent: Tuesday, October 17, 2017 2:59 PM > To: Savolainen, Petri (Nokia - FI/Espoo) > Cc: lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pool > subparameters (#234) >

Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)

2017-10-17 Thread Bill Fischofer
On Tue, Oct 17, 2017 at 2:14 AM, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > > From: Bill Fischofer [mailto:notificati...@github.com] > Sent: Tuesday, October 17, 2017 2:20 AM > To: Linaro/odp > Cc: Savolainen, Petri (Nokia - FI/Espoo) ; Author > > Subject: Re: [Linaro/odp] [PATCH API-NEXT

Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)

2017-10-17 Thread Bill Fischofer
On Tue, Oct 17, 2017 at 3:04 AM, Savolainen, Petri (Nokia - FI/Espoo) wrote: >> typedef struct odp_pool_param_t { >> /** Pool type */ >> @@ -192,17 +193,34 @@ typedef struct odp_pool_param_t { >> >> /** Parameters for packet pools */ >> struct { >> -

Re: [lng-odp] [PATCH API-NEXT v2] api: ipsec: return maximum antireplay window size via capability

2017-10-17 Thread Github ODP bot
muvarov replied on github web page: include/odp/api/spec/ipsec.h line 5 @@ -282,6 +282,9 @@ typedef struct odp_ipsec_capability_t { * be used for many SAs. */ uint32_t max_queues; + /** Maximum anti-replay window size. */ + uint32_t max_antireplay_ws; Comment: I t

[lng-odp] [PATCH v2 5/5] validation: packet: adjust segmented test packet length

2017-10-17 Thread Github ODP bot
From: Matias Elo Adjust 'segmented_packet_len' so that the test packet pool is able to allocate at least PACKET_POOL_NUM_SEG possibly segmented test packets. Several validation tests allocate new packets, so it is not enough to be able allocate a single segmented packet. Signed-off-by: Matias El

[lng-odp] [PATCH v2 4/5] linux-gen: pool: select packet pool segment size at runtime

2017-10-17 Thread Github ODP bot
From: Matias Elo Use stored packet pool segment length (pool_t.seg_len) instead of a define. This enables creating packet pools with different segment sizes. Signed-off-by: Matias Elo --- /** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len) ** https://github.com/Linaro/odp/

[lng-odp] [PATCH v2 3/5] linux-gen: packet: fix build error with single segment packet header

2017-10-17 Thread Github ODP bot
From: Matias Elo Fix (invalid) gcc error when CONFIG_PACKET_SEGS_PER_HDR is set to one. Signed-off-by: Matias Elo --- /** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len) ** https://github.com/Linaro/odp/pull/233 ** Patch: https://github.com/Linaro/odp/pull/233.patch ** B

[lng-odp] [PATCH v2 1/5] linux-gen: pool: combine overlapping struct pool_t members

2017-10-17 Thread Github ODP bot
From: Matias Elo Struct pool_t members 'data_size' and 'max_seg_len' were both used to store the same value. Replace them with a single 'seg_len' member. Signed-off-by: Matias Elo --- /** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len) ** https://github.com/Linaro/odp/pull

[lng-odp] [PATCH v2 2/5] linux-gen: pool: modify packet pool config defines

2017-10-17 Thread Github ODP bot
From: Matias Elo Use separate defines for the maximum number of segments per packet (CONFIG_PACKET_MAX_SEGS) and the number of segments stored in a packet header (CONFIG_PACKET_SEGS_PER_HDR). A separate define is also added for the maximum packet length. Signed-off-by: Matias Elo --- /** Email

[lng-odp] [PATCH v2 0/5] linux-gen: pool: select packet pool segment size at runtime

2017-10-17 Thread Github ODP bot
This patch set modifies packet pool implementation to select segment size at runtime based on the pool parameters. After this patch set an application is able to create multiple packet pools with varying segment sizes. V2: Added CONFIG_PACKET_SEG_DISABLED checks (Bill) github---

Re: [lng-odp] [PATCH API-NEXT v3] API: pool: Return address range for pool objects

2017-10-17 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/pool.h line 16 @@ -294,6 +294,19 @@ odp_pool_t odp_pool_lookup(const char *name); typedef struct odp_pool_info_t { const char *name; /**< pool name */ odp_pool_param_t params; /**< pool parameters

Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)

2017-10-17 Thread Savolainen, Petri (Nokia - FI/Espoo)
> typedef struct odp_pool_param_t { > /** Pool type */ > @@ -192,17 +193,34 @@ typedef struct odp_pool_param_t { > > /** Parameters for packet pools */ > struct { > - /** The number of packets that the pool must provide > -

Re: [lng-odp] [PATCH v1] linux-gen: pool: select packet pool segment size at runtime

2017-10-17 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: platform/linux-generic/include/odp_packet_internal.h line 9 @@ -197,7 +197,7 @@ static inline void packet_init(odp_packet_hdr_t *pkt_hdr, uint32_t len) uint32_t seg_len; int num = pkt_hdr->buf_hdr.segcount; - if (odp_likely

Re: [lng-odp] [PATCH v1] linux-gen: pool: select packet pool segment size at runtime

2017-10-17 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: platform/linux-generic/odp_packet.c line 241 @@ -2146,7 +2146,7 @@ odp_packet_t odp_packet_ref(odp_packet_t pkt, uint32_t offset) link_hdr->buf_hdr.seg[0].len = seg->len - seg_offset; buffer_ref_inc(seg->hdr); - for (i =

[lng-odp] Test

2017-10-17 Thread Elo, Matias (Nokia - FI/Espoo)
Testing spam filter.

Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)

2017-10-17 Thread Savolainen, Petri (Nokia - FI/Espoo)
From: muvarov [mailto:notificati...@github.com] Sent: Tuesday, October 17, 2017 3:01 AM To: Linaro/odp Cc: Savolainen, Petri (Nokia - FI/Espoo) ; Author Subject: Re: [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234) From: Bill Fischofer On Mon, Oct 16, 2017 at 8:00 AM, Github

Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)

2017-10-17 Thread Savolainen, Petri (Nokia - FI/Espoo)
Received mail through Github ... and in HTML format of course. From: muvarov [mailto:notificati...@github.com] Sent: Tuesday, October 17, 2017 3:01 AM To: Linaro/odp Cc: Savolainen, Petri (Nokia - FI/Espoo) ; Author Subject: Re: [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)

Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)

2017-10-17 Thread Savolainen, Petri (Nokia - FI/Espoo)
From: Bill Fischofer [mailto:notificati...@github.com] Sent: Tuesday, October 17, 2017 2:20 AM To: Linaro/odp Cc: Savolainen, Petri (Nokia - FI/Espoo) ; Author Subject: Re: [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234) @Bill-Fischofer-Linaro requested changes on this pull r