[lng-odp] [PATCH v4 1/1] linux-gen: pktio: ignore num_queues parameter if classifier enabled

2017-10-20 Thread Github ODP bot
From: Maxim Uvarov Api defines statemet: "When classifier is enabled in odp_pktin_queue_config() this value is ignored, otherwise at least one queue is required." https://bugs.linaro.org/show_bug.cgi?id=3289 Signed-off-by: Maxim Uvarov ---

[lng-odp] [PATCH v4 0/1] linux-gen: pktio: ignore num_queues parameter if classifier enabled

2017-10-20 Thread Github ODP bot
Api defines statemet: "When classifier is enabled in odp_pktin_queue_config() this value is ignored, otherwise at least one queue is required." https://bugs.linaro.org/show_bug.cgi?id=3289 Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email

[lng-odp] [PATCH API-NEXT v2 11/11] validation: ipsec: add support for PIPELINE_CLS testing

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v2 10/11] linux-gen: ipsec: support pipelining to cos_t

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v2 8/11] linux-gen: classification: provide _odp_cos_get_entry() function

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Provide function mapping from odp_cos_t to internal cos_t type. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) **

[lng-odp] [PATCH API-NEXT v2 9/11] linux-gen: classification: split cls_pkt_get_queue() function

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Separate function returning destination queue from cos_t instance. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) **

[lng-odp] [PATCH API-NEXT v2 7/11] validation: ipsec: add replay window checks

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v2 6/11] linux-gen: ipsec: support replay window checks

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v2 1/11] linux-gen: ipsec: use counter instead of random IV for GCM

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Reusing IV block with GCM results in disastrous consequences. Use counter instead of random-generated IV to remove possibility for IV reuse. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email

[lng-odp] [PATCH API-NEXT v2 5/11] linux-gen: ipsec: add replay window support to SAD

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v2 4/11] linux-gen: ipsec: fix soft/hard limits check

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Split count expiration check into two phases: - optional precheck, run before crypto, which fails only if hard limit is already breached - update, run after crypto in INBOUND case, so that limits will not be updated for

[lng-odp] [PATCH API-NEXT v2 2/11] validation: ipsec: drop unused file

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v2 3/11] validation: ipsec: verify odp_ipsec_sa_context

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v2 0/11] IPsec implementation updates

2017-10-20 Thread Github ODP bot
security fix for GCM mode: proper IV generation implementation of 32-bit replay window support implementation of PIPELINE_CLS support github /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 **

Re: [lng-odp] [PATCH v3] linux-gen: pktio: ignore num_queues parameter if classifier enabled

2017-10-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_packet_io.c @@ -1229,7 +1229,12 @@ int odp_pktin_queue_config(odp_pktio_t pktio, if (mode == ODP_PKTIN_MODE_DISABLED) return 0; - num_queues = param->num_queues; + if (param->classifier_enable) {

Re: [lng-odp] [PATCH v3] linux-gen: pktio: ignore num_queues parameter if classifier enabled

2017-10-20 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet_io.c @@ -1229,7 +1229,12 @@ int odp_pktin_queue_config(odp_pktio_t pktio, if (mode == ODP_PKTIN_MODE_DISABLED) return 0; - num_queues = param->num_queues; + if

Re: [lng-odp] [PATCH API-NEXT v1] Implement checksum insertion override for dpdk pktio

2017-10-20 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/odp_packet.c line 12 @@ -1259,6 +1259,22 @@ int odp_packet_l4_offset_set(odp_packet_t pkt, uint32_t offset) return 0; } +void odp_packet_l3_chksum_insert(odp_packet_t pkt, int l3) +{ + odp_packet_hdr_t *pkt_hdr =

[lng-odp] [PATCH v3 1/1] linux-gen: pktio: ignore num_queues parameter if classifier enabled

2017-10-20 Thread Github ODP bot
From: Maxim Uvarov Api defines statemet: "When classifier is enabled in odp_pktin_queue_config() this value is ignored, otherwise at least one queue is required." https://bugs.linaro.org/show_bug.cgi?id=3289 Signed-off-by: Maxim Uvarov ---

[lng-odp] [PATCH v3 0/1] linux-gen: pktio: ignore num_queues parameter if classifier enabled

2017-10-20 Thread Github ODP bot
Api defines statemet: "When classifier is enabled in odp_pktin_queue_config() this value is ignored, otherwise at least one queue is required." https://bugs.linaro.org/show_bug.cgi?id=3289 Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email

[lng-odp] [PATCH API-NEXT v1 3/4] linux-gen: shm: make odp_shm_print_all readable again

2017-10-20 Thread Github ODP bot
From: Petri Savolainen Use ODP_PRINT instead of ODP_DBG in the print function. The idea of a print function is that it prints information when application calls it. ODP_DBG does not print anything by default. Format printted output to be a readable table of shm

[lng-odp] [PATCH API-NEXT v1 0/4] api: shm: shm block level print

2017-10-20 Thread Github ODP bot
Add SHM block level debug print function. This is similar to e.g. odp_pool_print(). All SHM blocks print function (odp_shm_print_all()) cannot print as much details on every block. Cleaned also SHM header file and odp_shm_print_all() implementation while touching the files.

[lng-odp] [PATCH API-NEXT v1 2/4] api: shm: print shm block info

2017-10-20 Thread Github ODP bot
From: Petri Savolainen Added function to print debugging information about the specified shared memory block. Info is implementation defined but should include information about allocated memory addresses, pages, etc. Signed-off-by: Petri Savolainen

[lng-odp] [PATCH API-NEXT v1 4/4] linux-gen: shm: implement odp_shm_print

2017-10-20 Thread Github ODP bot
From: Petri Savolainen Implement the new block level debug print function. Signed-off-by: Petri Savolainen --- /** Email created from pull request 246 (psavol:next-shm-print) ** https://github.com/Linaro/odp/pull/246 ** Patch:

[lng-odp] [PATCH API-NEXT v1 1/4] api: shm: style clean up

2017-10-20 Thread Github ODP bot
From: Petri Savolainen Clean up shm header file. Remove [in] Doxygen tags as function parameters are by default input. Move @note text to the main text block, as it's usual API specification text. Signed-off-by: Petri Savolainen --- /**

[lng-odp] [PATCH API-NEXT v1 0/1] api: pktio: clarify odp_pktio_config() restrictions

2017-10-20 Thread Github ODP bot
Add clarification that odp_pktio_config() cannot be used to configure options that are not supported, as indicated by odp_pktio_capability(). Signed-off-by: Bill Fischofer bill.fischo...@linaro.org github /** Email created from pull request 247

[lng-odp] [PATCH API-NEXT v1 1/1] api: pktio: clarify odp_pktio_config() restrictions

2017-10-20 Thread Github ODP bot
From: Bill Fischofer Add clarification that odp_pktio_config() cannot be used to configure options that are not supported, as indicated by odp_pktio_capability(). Signed-off-by: Bill Fischofer --- /** Email created from pull request 247

[lng-odp] [Bug 3242] setup_pktio_entry missing unlock

2017-10-20 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3242 --- Comment #1 from Maxim Uvarov --- https://github.com/Linaro/odp/commit/df978d9b4e766c8e1cb1a88a28d98318840fee22 refs/heads/master 2017-10-19T18:31:27+03:00 Maxim Uvarov maxim.uva...@linaro.org linux-gen: pktio: add missing

[lng-odp] [Linaro/odp] 1bcf17: configure: use AS_HELP_STRING instead of AC_HELP_S...

2017-10-20 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 1bcf171f00973bcc21baadf9919a61cd6abdf713 https://github.com/Linaro/odp/commit/1bcf171f00973bcc21baadf9919a61cd6abdf713 Author: Dmitry Eremin-Solenikov Date: 2017-10-19

Re: [lng-odp] Packet checksum override behavior

2017-10-20 Thread Bill Fischofer
Sounds like the API spec could be tightened up a bit to reflect that. I've posted PR #247[1] to add that clarification. --- [1] https://github.com/Linaro/odp/pull/247 On Fri, Oct 20, 2017 at 1:19 AM, Bogdan Pricope wrote: > Hi, > > odp_pktio_config() works as you

[lng-odp] [PATCH API-NEXT v1 0/1] linux-gen: ipsec: update git ignore

2017-10-20 Thread Github ODP bot
Update git .ignore file with correct executable file names. Signed-off-by: Petri Savolainen petri.savolai...@linaro.org github /** Email created from pull request 244 (psavol:next-git-ignore) ** https://github.com/Linaro/odp/pull/244 ** Patch:

[lng-odp] [PATCH API-NEXT v1 1/1] linux-gen: ipsec: update git ignore

2017-10-20 Thread Github ODP bot
From: Petri Savolainen Update git .ignore file with correct executable file names. Signed-off-by: Petri Savolainen --- /** Email created from pull request 244 (psavol:next-git-ignore) ** https://github.com/Linaro/odp/pull/244 **

[lng-odp] [PATCH API-NEXT v1 1/2] linux-gen: chksum: implement checksum insertion override functions

2017-10-20 Thread Github ODP bot
From: Bogdan Pricope Immplement L3/L4 checksum insertion override functions Signed-off-by: Bogdan Pricope --- /** Email created from pull request 245 (bogdanPricope:api_next_ovr_csum_ref_pr) ** https://github.com/Linaro/odp/pull/245 **

[lng-odp] [PATCH API-NEXT v1 2/2] linux-gen: pktio: dpdk: implement checksum insertion override

2017-10-20 Thread Github ODP bot
From: Bogdan Pricope Implement checksum insertion override for dpdk pktio Signed-off-by: Bogdan Pricope --- /** Email created from pull request 245 (bogdanPricope:api_next_ovr_csum_ref_pr) ** https://github.com/Linaro/odp/pull/245 **

[lng-odp] [PATCH API-NEXT v1 0/2] Implement checksum insertion override for dpdk pktio

2017-10-20 Thread Github ODP bot
Implement checksum insertion override generic functions and processing for dpdk pktio. github /** Email created from pull request 245 (bogdanPricope:api_next_ovr_csum_ref_pr) ** https://github.com/Linaro/odp/pull/245 ** Patch:

Re: [lng-odp] [PATCH v12] add sample shippable.yml and Dockerfile for Aarch64 builds

2017-10-20 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: shippable.yml line 14 @@ -0,0 +1,45 @@ +language: c + +compiler: + - gcc + - clang + +env: + matrix: +- CONF="" +# - CONF="--disable-abi-compat" +# - CONF="--enable-schedule-sp" +# - CONF="--enable-schedule-iquery" +

Re: [lng-odp] [PATCH v1] linux-gen: pktio: ignore num_queues parameter if classifier enabled

2017-10-20 Thread Github ODP bot
lironhimi replied on github web page: platform/linux-generic/odp_packet_io.c line 10 @@ -1229,7 +1229,12 @@ int odp_pktin_queue_config(odp_pktio_t pktio, if (mode == ODP_PKTIN_MODE_DISABLED) return 0; - num_queues = param->num_queues; + if

[lng-odp] [PATCH API-NEXT v1 3/3] validation: packet: add calls to ones complement

2017-10-20 Thread Github ODP bot
From: Petri Savolainen Call ones complement functions. Actual validation of correctness of the sum is to be done, when an implementation exist which sets the sum on packet input. Signed-off-by: Petri Savolainen --- /** Email created

[lng-odp] [PATCH API-NEXT v1 1/3] api: packet: ones complement sum

2017-10-20 Thread Github ODP bot
From: Petri Savolainen Added packet metadata for ones complement sum over IP payload in a packet. Some NICs calculate the sum during packet input (at least for IP fragments) and store the value into the packet descriptor. This offloads L4 checksum calculation for IP

[lng-odp] [PATCH API-NEXT v1 11/11] validation: ipsec: add support for PIPELINE_CLS testing

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v1 2/3] linux-gen: packet: dummy ones complement implementation

2017-10-20 Thread Github ODP bot
From: Petri Savolainen Added dummy implementation of ones complement calls. Linux generic implementation does not calculate the sum for all incoming packets as it would be wasteful in SW. It's better to wait until application asks it with odp_chksum_ones_comp16().

[lng-odp] [PATCH API-NEXT v1 0/3] api: ones complement metadata

2017-10-20 Thread Github ODP bot
Added packet metadata for ones complement sum over IP payload in a packet. Some NICs calculate the sum during packet input (at least for IP fragments) and store the value into the packet descriptor. This offloads L4 checksum calculation for IP fragments as SW does not need sum all payload data,

[lng-odp] [PATCH API-NEXT v1 10/11] linux-gen: ipsec: support pipelining to cos_t

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v1 9/11] linux-gen: classification: split cls_pkt_get_queue() function

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Separate function returning destination queue from cos_t instance. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) **

[lng-odp] [PATCH API-NEXT v1 8/11] linux-gen: classification: provide _odp_cos_get_entry() function

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Provide function mapping from odp_cos_t to internal cos_t type. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) **

[lng-odp] [PATCH API-NEXT v1 7/11] validation: ipsec: add replay window checks

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v1 6/11] linux-gen: ipsec: support replay window checks

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v1 5/11] linux-gen: ipsec: add replay window support to SAD

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v1 4/11] linux-gen: ipsec: fix soft/hard limits check

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Split count expiration check into two phases: - optional precheck, run before crypto, which fails only if hard limit is already breached - update, run after crypto in INBOUND case, so that limits will not be updated for

[lng-odp] [PATCH API-NEXT v1 3/11] validation: ipsec: verify odp_ipsec_sa_context

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

[lng-odp] [PATCH API-NEXT v1 1/11] linux-gen: ipsec: use counter instead of random IV for GCM

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Reusing IV block with GCM results in disastrous consequences. Use counter instead of random-generated IV to remove possibility for IV reuse. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email

[lng-odp] [PATCH API-NEXT v1 2/11] validation: ipsec: drop unused file

2017-10-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 ** Patch:

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

2017-10-20 Thread Github ODP bot
security fix for GCM mode: proper IV generation implementation of 32-bit replay window support implementation of PIPELINE_CLS support github /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243 **

[lng-odp] [Linaro/odp] e3108a: api: ipsec: move pipeline SA param to inbound subs...

2017-10-20 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: e3108af2f0b58c2ceca422b418439bba5de04b11 https://github.com/Linaro/odp/commit/e3108af2f0b58c2ceca422b418439bba5de04b11 Author: Dmitry Eremin-Solenikov Date: 2017-10-20

Re: [lng-odp] [PATCH v12] add sample shippable.yml and Dockerfile for Aarch64 builds

2017-10-20 Thread Github ODP bot
muvarov replied on github web page: shippable.yml line 14 @@ -0,0 +1,45 @@ +language: c + +compiler: + - gcc + - clang + +env: + matrix: +- CONF="" +# - CONF="--disable-abi-compat" +# - CONF="--enable-schedule-sp" +# - CONF="--enable-schedule-iquery" +# -

[lng-odp] [Linaro/odp] 698f37: test: validation: add IPsec API testsuite

2017-10-20 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 698f370e71db55624e1bd78063569369f86db389 https://github.com/Linaro/odp/commit/698f370e71db55624e1bd78063569369f86db389 Author: Dmitry Eremin-Solenikov Date: 2017-10-19

Re: [lng-odp] Packet checksum override behavior

2017-10-20 Thread Bogdan Pricope
Hi, odp_pktio_config() works as you said: https://github.com/Linaro/odp/blob/api-next/platform/linux-generic/odp_packet_io.c int odp_pktio_config(odp_pktio_t hdl, const odp_pktio_config_t *config) { /* Check config for invalid values */ if (config->pktin.all_bits &