[lng-odp] [Linaro/odp] 88e124: configure.ac: update API and .so versions

2017-11-08 Thread GitHub
Branch: refs/heads/next Home: https://github.com/Linaro/odp Commit: 88e124e13900109e0d0aec1981417382f357c98a https://github.com/Linaro/odp/commit/88e124e13900109e0d0aec1981417382f357c98a Author: Maxim Uvarov Date: 2017-11-09 (Thu, 09 Nov 2017) Changed paths: M configure

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

2017-11-08 Thread Github ODP bot
Balasubramanian Manoharan(bala-manoharan) replied on github web page: platform/linux-generic/include/odp/api/std_types.h line 6 @@ -29,6 +29,8 @@ extern "C" { typedef int odp_bool_t; +typedef uint16_t odp_percent_t; + /** Comment: Currently, I have followed the syntax existing in api-next.

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

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_classification.c line 5 @@ -190,6 +190,8 @@ int odp_cls_capability(odp_cls_capability_t *capability) capability->supported_terms.bit.tcp_sport = 1; capability->supported_terms.bit.sip_addr

Re: [lng-odp] [PATCH API-NEXT v1] api: session level AAD length

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/crypto.h line 35 @@ -381,8 +394,15 @@ typedef struct odp_crypto_op_param_t { /** Pointer to ADD */ uint8_t *ptr; - /** AAD length in bytes. Use odp_crypto_auth_cap

Re: [lng-odp] [PATCH API-NEXT v1] api: session level AAD length

2017-11-08 Thread Github ODP bot
GBalakrishna replied on github web page: include/odp/api/spec/crypto.h line 35 @@ -381,8 +394,15 @@ typedef struct odp_crypto_op_param_t { /** Pointer to ADD */ uint8_t *ptr; - /** AAD length in bytes. Use odp_crypto_auth_capability() for -

Re: [lng-odp] [PATCH API-NEXT v1] Use chksum API

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: helper/include/odp/helper/chksum.h line 21 @@ -44,21 +44,7 @@ typedef enum { */ static inline odp_u16sum_t odph_chksum(void *buffer, int len) { - uint16_t *buf = (uint16_t *)buffer; - uint32_t sum = 0; - uint16_t result; - - for (sum

Re: [lng-odp] [PATCH API-NEXT v1] Use chksum API

2017-11-08 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: helper/include/odp/helper/chksum.h line 21 @@ -44,21 +44,7 @@ typedef enum { */ static inline odp_u16sum_t odph_chksum(void *buffer, int len) { - uint16_t *buf = (uint16_t *)buffer; - uint32_t sum = 0; - uint16_t resu

Re: [lng-odp] [PATCH v1] Misc fast path optimizations

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/pktio/dpdk.c line 5 @@ -1079,7 +1079,7 @@ static int dpdk_input_queues_config(pktio_entry_t *pktio_entry, const odp_pktin_queue_param_t *p) { odp_pktin_mode_t mode = pktio_entry->s.param.in_mod

[lng-odp] [PATCH API-NEXT v2 8/8] validation: ipsec: support AES-GMAC-ESP validation

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add AES-GMAC-ESP testcase based on draft-mcgrew-gcm-test-01. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/288.patch ** Base

[lng-odp] [PATCH API-NEXT v2 7/8] validation: ipsec: check authentication key length is supported

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add check through auth capabilities, verifying that key length is supported. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/288

[lng-odp] [PATCH API-NEXT v2 5/8] linux-gen: crypto: add AES-GMAC implementation

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Implement AES-GMAC on top of OpenSSL AES-GCM with all text going into AAD part. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/

[lng-odp] [PATCH API-NEXT v2 6/8] linux-gen: ipsec: add support for AES-GMAC-ESP

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Implement AES-GMAC-ESP support. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/288.patch ** Base sha: d22c949cc466bf28de559855

[lng-odp] [PATCH API-NEXT v2 4/8] validation: crypto: add AES-GMAC testcase

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add AES-GMAC test vector based on draft-mcgrew-gcm-test-01. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/288.patch ** Base s

[lng-odp] [PATCH API-NEXT v2 3/8] api: crypto: add AES-GMAC declarations

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add AES-GMAC declarations to support RFC4543. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/288.patch ** Base sha: d22c949cc4

[lng-odp] [PATCH API-NEXT v2 2/8] linux-gen: ipsec: don't leak SA on creation error

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Some paths during odp_ipsec_sa_create() can lead to SA leakage. Fix them by always releasing SA in error case. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: http

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

2017-11-08 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 created from pull request 288 (lumag:gmac) ** https://github.com/Linar

[lng-odp] [PATCH API-NEXT v2 0/8] AES-GMAC implementation

2017-11-08 Thread Github ODP bot
This is an example of AES-GMAC(-ESP) implementation. Plaintext is passed as normal packet, IV/salt are passed according to the rest of API. This incorporates one commit from #243. github /** Email created from pull request 288 (lumag:gmac) ** https://gith

Re: [lng-odp] [PATCH API-NEXT v1] AES-GMAC implementation

2017-11-08 Thread Dmitry Eremin-Solenikov
updated

Re: [lng-odp] [PATCH API-NEXT v1] AES-GMAC implementation

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_crypto_internal.h line 9 @@ -51,7 +51,10 @@ struct odp_crypto_generic_session { uint8_t key[EVP_MAX_KEY_LENGTH]; uint32_t key_length; uint32_t bytes

Re: [lng-odp] [PATCH API-NEXT v1] AES-GMAC implementation

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: test/validation/api/crypto/test_vectors.h line 33 @@ -361,6 +361,39 @@ static crypto_test_reference_t aes_gcm_reference[] = { } }; +static crypto_test_reference_t aes_gmac_reference[] = { + { + .auth_k

Re: [lng-odp] issues with usage of mellanox 100G NICs with ODP & ODP-DPDK

2017-11-08 Thread gyanesh patra
- where to set CONFIG_RTE_LIBRTE_MLX5_PMD ? I believe in DPDK we set it whilie compiling. How to set it for ODP?? - with mellanox NICs, it is not required to explicitly bind the interface to dpdk. I can use portID "0,1" with dpdk example. Is it the same way to specify with ODP-DPDK l2fwd example

[lng-odp] [Bug 3411] wrong openssl_lock pointer type

2017-11-08 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3411 --- Comment #1 from Maxim Uvarov --- https://github.com/Linaro/odp/commit/0e04be4851ecc94da8b4cac3c576260c0518c936 refs/heads/master 2017-11-08T22:32:30+03:00 Petri Savolainen petri.savolai...@linaro.org linux-gen: crypto: fix openssl_lock pointer type

[lng-odp] [Linaro/odp] 0e04be: linux-gen: crypto: fix openssl_lock pointer type

2017-11-08 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 0e04be4851ecc94da8b4cac3c576260c0518c936 https://github.com/Linaro/odp/commit/0e04be4851ecc94da8b4cac3c576260c0518c936 Author: Petri Savolainen Date: 2017-11-08 (Wed, 08 Nov 2017) Changed paths: M pla

[lng-odp] [Linaro/odp] d59c00: example: fix pointers to odp_l2fwd.c source

2017-11-08 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: d59c00c5f0255a5f1fc462332eef291bb2993f64 https://github.com/Linaro/odp/commit/d59c00c5f0255a5f1fc462332eef291bb2993f64 Author: Dmitry Eremin-Solenikov Date: 2017-11-08 (Wed, 08 Nov 2017) Changed paths:

Re: [lng-odp] [PATCH API-NEXT v2] api: packet parse functions

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c line 56 @@ -2252,6 +2252,63 @@ int packet_parse_l3_l4(odp_packet_hdr_t *pkt_hdr, layer, ethtype); } +int odp_packet_parse(odp_packet_t pkt, uint32_t off

Re: [lng-odp] [PATCH API-NEXT v2] api: packet parse functions

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/packet.h line 124 @@ -1140,6 +1179,82 @@ int odp_packet_move_data(odp_packet_t pkt, uint32_t dst_offset, */ /** + * Packet parse parameters + */ +typedef struct odp_packet_parse_param_t { + /** Proto

Re: [lng-odp] [PATCH v1] Misc fast path optimizations

2017-11-08 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/include/odp_buffer_internal.h line 4 @@ -104,17 +104,10 @@ struct odp_buffer_hdr_t { /* User area pointer */ void*uarea_addr; - /* User area size */ Comment: This is not planned untill T

Re: [lng-odp] [PATCH v1] Misc fast path optimizations

2017-11-08 Thread Github ODP bot
nagarahalli replied on github web page: platform/linux-generic/include/odp_buffer_internal.h line 4 @@ -104,17 +104,10 @@ struct odp_buffer_hdr_t { /* User area pointer */ void*uarea_addr; - /* User area size */ Comment: It is about 2.0 merge to master, it will happen

Re: [lng-odp] [PATCH v1] Misc fast path optimizations

2017-11-08 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/include/odp_buffer_internal.h line 4 @@ -104,17 +104,10 @@ struct odp_buffer_hdr_t { /* User area pointer */ void*uarea_addr; - /* User area size */ Comment: @nagarahalli Any reason why

Re: [lng-odp] [PATCH v1] DPDK pktio fixes

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/dpdk.c line 70 @@ -1372,10 +1382,10 @@ static int dpdk_recv(pktio_entry_t *pktio_entry, int index, if (!pkt_dpdk->lockless_rx) odp_ticketlock_lock(&pkt_dpdk->rx_lock[index]);

Re: [lng-odp] [PATCH v1] DPDK pktio fixes

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/dpdk.c line 39 @@ -1135,6 +1135,13 @@ static void dpdk_init_capability(pktio_entry_t *pktio_entry, rte_eth_dev_info_get(pkt_dpdk->port_id, dev_info); capa->max_input_queues = RTE_MIN(dev

Re: [lng-odp] [PATCH v1] DPDK pktio fixes

2017-11-08 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/pktio/dpdk.c line 39 @@ -1135,6 +1135,13 @@ static void dpdk_init_capability(pktio_entry_t *pktio_entry, rte_eth_dev_info_get(pkt_dpdk->port_id, dev_info); capa->max_input_queues = RTE_MIN(dev_info->

Re: [lng-odp] [PATCH v1] DPDK pktio fixes

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/dpdk.c line 58 @@ -1249,10 +1253,16 @@ static int dpdk_open(odp_pktio_t id ODP_UNUSED, pkt_dpdk->vdev_sysc_promisc = 1; rte_eth_promiscuous_disable(pkt_dpdk->port_id); - i

Re: [lng-odp] issues with usage of mellanox 100G NICs with ODP & ODP-DPDK

2017-11-08 Thread Maxim Uvarov
On 11/08/17 19:32, gyanesh patra wrote: > I am not sure what you mean. Can you please elaborate? > > As i mentioned before I am able to run dpdk examples. Hence the drivers > are available and working fine. > I configured ODP & ODP-DPDK with "LDFLAGS=-libverbs" and compiled to > work with mellanox

[lng-odp] [PATCH API-NEXT v7 16/16] linux-gen: ipsec: don't leak SA on creation error

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Some paths during odp_ipsec_sa_create() can lead to SA leakage. Fix them by always releasing SA in error case. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://github.com/Linaro/odp/pull/243

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

2017-11-08 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 packets failing ICV check. Signed-off-

[lng-odp] [PATCH API-NEXT v7 13/16] validation: check that erroneous IPsec packets have error flag set

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Verify that odp_packet_has_error() returns true for IPsec packets with error status in result. 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: https

[lng-odp] [PATCH API-NEXT v7 15/16] linux-gen: ipsec: correct frag_offset for tunneled packets

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Generated outer header should have frag_offset = 0, MF = 0. Change code accordingly. 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: https://github.

[lng-odp] [PATCH API-NEXT v7 0/16] IPsec implementation updates

2017-11-08 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 ** Pa

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

2017-11-08 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) ** https://github.com/Linaro/odp/pull/243 ** Patch: https://github.com/Linaro/odp/pul

[lng-odp] [PATCH API-NEXT v7 14/16] linux-gen: ipsec: validate ip header total length

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Check that IP packet length from the header is not bogus. 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: https://github.com/Linaro/odp/pull/243.pat

[lng-odp] [PATCH API-NEXT v7 12/16] linux-gen: ipsec: mark IPsec packets with errors with error flag

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add new ipsec_err error flag, which is set by IPsec code if there was an error during IPsec packet processing. This allow application code to quickly check packets using odp_packet_has_error() function and use fast path if there was none. Signed-off-by: Dmitry Eremi

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

2017-11-08 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: https://github.com/Linaro/odp/pull/243.patch ** Base sha: d22c949cc466bf28de559855a1cb525740578137

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

2017-11-08 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: https://github.com/Linaro/odp/pull/243.patch ** Base sha: d22c949cc466bf28de559855a1cb525740578137

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

2017-11-08 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) ** https://github.com/Linaro/odp/pull/243 ** Patch: https://github.com/Linaro/odp/pull/2

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

2017-11-08 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: https://github.com/Linaro/odp/pull/243.patch ** Base sha: d22c949cc466bf28de559855a1cb525740578137

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

2017-11-08 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: https://github.com/Linaro/odp/pull/243.patch ** Base sha: d22c949cc466bf28de559855a1cb525740578137

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

2017-11-08 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: https://github.com/Linaro/odp/pull/243.patch ** Base sha: d22c949cc466bf28de559855a1cb525740578137

[lng-odp] [PATCH API-NEXT v7 3/16] validation: ipsec: verify odp_ipsec_sa_context

2017-11-08 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: https://github.com/Linaro/odp/pull/243.patch ** Base sha: d22c949cc466bf28de559855a1cb525740578137

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

2017-11-08 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: https://github.com/Linaro/odp/pull/243.patch ** Base sha: d22c949cc466bf28de559855a1cb525740578137

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

2017-11-08 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 created from pull request 243 (lumag:ipsec-packet-impl-3) ** https://g

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

2017-11-08 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) ** https://github.com/Linaro/odp/pull/277 ** Patch: https://github.com/Linaro/odp/p

[lng-odp] [PATCH API-NEXT v3 1/4] api: std_types: add odp_percent_t data type

2017-11-08 Thread Github ODP bot
From: Balasubramanian Manoharan odp_percent_t is used to express values which are percentages Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 277 (bala-manoharan:RED) ** https://github.com/Linaro/odp/pull/277 ** Patch: https://github.com/Linaro/odp/pull/277.pa

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

2017-11-08 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) ** https://github.com/Linaro/odp/pull/277 ** Patch: https://github.com/Linaro/odp/pull/277.pat

[lng-odp] [PATCH API-NEXT v3 2/4] api: threshold: add odp_threshold_t parameter

2017-11-08 Thread Github ODP bot
From: Balasubramanian Manoharan odp_threshold_t is used to configure different threshold types Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 277 (bala-manoharan:RED) ** https://github.com/Linaro/odp/pull/277 ** Patch: https://github.com/Linaro/odp/pull/277.p

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

2017-11-08 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: d22c949cc466b

[lng-odp] [PATCH API-NEXT v1 8/8] validation: ipsec: support AES-GMAC-ESP validation

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add AES-GMAC-ESP testcase based on draft-mcgrew-gcm-test-01. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/288.patch ** Base

[lng-odp] [PATCH API-NEXT v1 5/8] linux-gen: crypto: add AES-GMAC implementation

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Implement AES-GMAC on top of OpenSSL AES-GCM with all text going into AAD part. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/

[lng-odp] [PATCH API-NEXT v1 7/8] validation: ipsec: check authentication key length is supported

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add check through auth capabilities, verifying that key length is supported. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/288

[lng-odp] [PATCH API-NEXT v1 2/8] linux-gen: ipsec: don't leak SA on creation error

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Some paths during odp_ipsec_sa_create() can lead to SA leakage. Fix them by always releasing SA in error case. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: http

[lng-odp] [PATCH API-NEXT v1 3/8] api: crypto: add AES-GMAC declarations

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add AES-GMAC declarations to support RFC4543. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/288.patch ** Base sha: d22c949cc4

[lng-odp] [PATCH API-NEXT v1 0/8] AES-GMAC implementation

2017-11-08 Thread Github ODP bot
This is an example of AES-GMAC(-ESP) implementation. Plaintext is passed as normal packet, IV/salt are passed according to the rest of API. This incorporates one commit from #243. github /** Email created from pull request 288 (lumag:gmac) ** https://gith

[lng-odp] [PATCH API-NEXT v1 6/8] linux-gen: ipsec: add support for AES-GMAC-ESP

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Implement AES-GMAC-ESP support. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/288.patch ** Base sha: d22c949cc466bf28de559855

[lng-odp] [PATCH API-NEXT v1 4/8] validation: crypto: add AES-GMAC testcase

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add AES-GMAC test vector based on draft-mcgrew-gcm-test-01. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 288 (lumag:gmac) ** https://github.com/Linaro/odp/pull/288 ** Patch: https://github.com/Linaro/odp/pull/288.patch ** Base s

[lng-odp] [PATCH v1 0/1] linux-gen: crypto: drop DES-CBC support

2017-11-08 Thread Github ODP bot
DES-CBC (not 3DES-CBC) support is invalid (DES should use 8 bytes key, not 24 bytes), it is not covered by testsuite and DES is cracable/deprecated/etc since long ago. Stop providing single-key DES support. In case one really needs it, it can be emulated through supplying same key triple times to 3

[lng-odp] [PATCH v1 1/1] linux-gen: crypto: drop DES-CBC support

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov DES-CBC (not 3DES-CBC) support is invalid (DES should use 8 bytes key, not 24 bytes), it is not covered by testsuite and DES is cracable/deprecated/etc since long ago. Stop providing single-key DES support. In case one really needs it, it can be emulated through supp

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

2017-11-08 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 created from pull request 288 (lumag:gmac) ** https://github.com/Linar

Re: [lng-odp] [PATCH v1] Misc fast path optimizations

2017-11-08 Thread Github ODP bot
nagarahalli replied on github web page: platform/linux-generic/include/odp_buffer_internal.h line 4 @@ -104,17 +104,10 @@ struct odp_buffer_hdr_t { /* User area pointer */ void*uarea_addr; - /* User area size */ Comment: This change is done already in 2.0. > Dmitry E

Re: [lng-odp] [PATCH v1] DPDK pktio fixes

2017-11-08 Thread Github ODP bot
nagarahalli replied on github web page: platform/linux-generic/pktio/dpdk.c line 70 @@ -1372,10 +1382,10 @@ static int dpdk_recv(pktio_entry_t *pktio_entry, int index, if (!pkt_dpdk->lockless_rx) odp_ticketlock_lock(&pkt_dpdk->rx_lock[index]); /** -* ixgbe_

[lng-odp] [PATCH v2 0/1] next update version

2017-11-08 Thread Github ODP bot
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email created from pull request 285 (muvarov:devel/next_upversion) ** https://github.com/Linaro/odp/pull/285 ** Patch: https://github.com/Linaro/odp/pull/285.patch ** Base sha: b61de566190e19c

[lng-odp] [PATCH v2 1/1] configure.ac: update API and .so versions

2017-11-08 Thread Github ODP bot
From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 285 (muvarov:devel/next_upversion) ** https://github.com/Linaro/odp/pull/285 ** Patch: https://github.com/Linaro/odp/pull/285.patch ** Base sha: b61de566190e19cc79531fdca737787cc359584b ** Merge commit sha

Re: [lng-odp] issues with usage of mellanox 100G NICs with ODP & ODP-DPDK

2017-11-08 Thread gyanesh patra
I am not sure what you mean. Can you please elaborate? As i mentioned before I am able to run dpdk examples. Hence the drivers are available and working fine. I configured ODP & ODP-DPDK with "LDFLAGS=-libverbs" and compiled to work with mellanox. I followed the same while compiling dpdk too. Is

Re: [lng-odp] issues with usage of mellanox 100G NICs with ODP & ODP-DPDK

2017-11-08 Thread Maxim Uvarov
is Mellanox pmd compiled in? Maxim. On 11/08/17 17:58, gyanesh patra wrote: > Hi, > I am trying to run ODP & ODP-DPDK examples on our server with mellanox 100G > NICs. I am using the odp_l2fwd example. While running the example, I am > facing some issues. > -> When I run "ODP" example using the i

Re: [lng-odp] [PATCH API-NEXT v1] Implement checksum validation status API

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/pktio/dpdk.c line 44 @@ -337,39 +337,62 @@ static struct rte_mempool_ops ops_stack = { MEMPOOL_REGISTER_OPS(ops_stack); -#define HAS_IP4_CSUM_FLAG(m, f) ((m->ol_flags & PKT_RX_IP_CKSUM_MASK) == f) +#define IP4_CSUM_RESULT(m) (m->ol_fl

Re: [lng-odp] [PATCH API-NEXT v1] Implement checksum validation status API

2017-11-08 Thread Github ODP bot
bogdanPricope replied on github web page: platform/linux-generic/pktio/dpdk.c line 75 @@ -337,39 +337,62 @@ static struct rte_mempool_ops ops_stack = { MEMPOOL_REGISTER_OPS(ops_stack); -#define HAS_IP4_CSUM_FLAG(m, f) ((m->ol_flags & PKT_RX_IP_CKSUM_MASK) == f) +#define IP4_CSUM_RESULT(m) (m-

Re: [lng-odp] [PATCH API-NEXT v1] Implement checksum validation status API

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/pktio/dpdk.c line 44 @@ -337,39 +337,62 @@ static struct rte_mempool_ops ops_stack = { MEMPOOL_REGISTER_OPS(ops_stack); -#define HAS_IP4_CSUM_FLAG(m, f) ((m->ol_flags & PKT_RX_IP_CKSUM_MASK) == f) +#define IP4_CSUM_RESULT(m) (m->ol_fl

Re: [lng-odp] [PATCH API-NEXT v1] Implement checksum validation status API

2017-11-08 Thread Github ODP bot
bogdanPricope replied on github web page: example/generator/odp_generator.c line 32 @@ -811,21 +809,14 @@ static int gen_recv_thread(void *arg) continue; for (i = 0, pkt_cnt = 0; i < ev_cnt; i++) { pkt = odp_packet_from_event(events[i

Re: [lng-odp] [PATCH API-NEXT v1] Implement checksum validation status API

2017-11-08 Thread Github ODP bot
bogdanPricope replied on github web page: platform/linux-generic/pktio/dpdk.c line 44 @@ -337,39 +337,62 @@ static struct rte_mempool_ops ops_stack = { MEMPOOL_REGISTER_OPS(ops_stack); -#define HAS_IP4_CSUM_FLAG(m, f) ((m->ol_flags & PKT_RX_IP_CKSUM_MASK) == f) +#define IP4_CSUM_RESULT(m) (m-

Re: [lng-odp] [PATCH API-NEXT v1] Implement checksum validation status API

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/pktio/dpdk.c line 44 @@ -337,39 +337,62 @@ static struct rte_mempool_ops ops_stack = { MEMPOOL_REGISTER_OPS(ops_stack); -#define HAS_IP4_CSUM_FLAG(m, f) ((m->ol_flags & PKT_RX_IP_CKSUM_MASK) == f) +#define IP4_CSUM_RESULT(m) (m->ol_fl

Re: [lng-odp] [PATCH API-NEXT v1] Implement checksum validation status API

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/pktio/dpdk.c line 75 @@ -337,39 +337,62 @@ static struct rte_mempool_ops ops_stack = { MEMPOOL_REGISTER_OPS(ops_stack); -#define HAS_IP4_CSUM_FLAG(m, f) ((m->ol_flags & PKT_RX_IP_CKSUM_MASK) == f) +#define IP4_CSUM_RESULT(m) (m->ol_fl

Re: [lng-odp] [PATCH API-NEXT v1] Implement checksum validation status API

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: example/generator/odp_generator.c line 32 @@ -811,21 +809,14 @@ static int gen_recv_thread(void *arg) continue; for (i = 0, pkt_cnt = 0; i < ev_cnt; i++) { pkt = odp_packet_from_event(events[i]); -

Re: [lng-odp] [PATCH API-NEXT v2] api: packet parse functions

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: include/odp/api/spec/packet.h line 59 @@ -1140,6 +1179,82 @@ int odp_packet_move_data(odp_packet_t pkt, uint32_t dst_offset, */ /** + * Packet parse parameters + */ +typedef struct odp_packet_parse_param_t { + /** Protocol header at parse starting po

Re: [lng-odp] [PATCH API-NEXT v2] api: packet parse functions

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: include/odp/api/spec/packet.h @@ -1140,6 +1185,48 @@ int odp_packet_move_data(odp_packet_t pkt, uint32_t dst_offset, */ /** + * Parse packet + * + * Parse protocol headers in packet data. Parsing starts at 'offset', which + * is the first header byte of pr

Re: [lng-odp] [PATCH API-NEXT v2] api: packet parse functions

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/packet.h line 74 @@ -1140,6 +1179,82 @@ int odp_packet_move_data(odp_packet_t pkt, uint32_t dst_offset, */ /** + * Packet parse parameters + */ +typedef struct odp_packet_parse_param_t { + /** Protoc

Re: [lng-odp] [PATCH API-NEXT v2] api: packet parse functions

2017-11-08 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: include/odp/api/spec/packet.h line 74 @@ -1140,6 +1179,82 @@ int odp_packet_move_data(odp_packet_t pkt, uint32_t dst_offset, */ /** + * Packet parse parameters + */ +typedef struct odp_packet_parse_param_t { + /** Protocol head

Re: [lng-odp] [PATCH API-NEXT v2] api: packet parse functions

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/packet.h line 83 @@ -1140,6 +1179,82 @@ int odp_packet_move_data(odp_packet_t pkt, uint32_t dst_offset, */ /** + * Packet parse parameters + */ +typedef struct odp_packet_parse_param_t { + /** Protoc

Re: [lng-odp] [PATCH API-NEXT v2] api: packet parse functions

2017-11-08 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: include/odp/api/spec/packet.h @@ -71,6 +71,51 @@ extern "C" { * Packet is red */ +/** + * Protocol + */ +typedef enum odp_proto_t { + /** No protocol defined */ + ODP_PROTO_NONE = 0, + + /** Ethernet (including VL

Re: [lng-odp] [PATCH API-NEXT v2] api: packet parse functions

2017-11-08 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/packet.h @@ -71,6 +71,51 @@ extern "C" { * Packet is red */ +/** + * Protocol + */ +typedef enum odp_proto_t { + /** No protocol defined */ + ODP_PROTO_NONE = 0, + + /** Ethernet (inclu

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

2017-11-08 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/include/odp/api/std_types.h line 6 @@ -29,6 +29,8 @@ extern "C" { typedef int odp_bool_t; +typedef uint16_t odp_percent_t; + /** Comment: No, `odp_bool_t` exact implementation is not part of the spec, as it i

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

2017-11-08 Thread Github ODP bot
Balasubramanian Manoharan(bala-manoharan) replied on github web page: platform/linux-generic/include/odp/api/std_types.h line 6 @@ -29,6 +29,8 @@ extern "C" { typedef int odp_bool_t; +typedef uint16_t odp_percent_t; + /** Comment: They typedef for odp_bool_t is still under platform/linux-g

Re: [lng-odp] [PATCH v1] Misc fast path optimizations

2017-11-08 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/include/odp/api/plat/packet_inlines.h line 5 @@ -21,6 +21,9 @@ /** @internal Inline function offsets */ extern const _odp_packet_inline_offset_t _odp_packet_inline; +/** @internal Pool inline function offsets */

Re: [lng-odp] [PATCH v1] Misc fast path optimizations

2017-11-08 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: platform/linux-generic/include/odp/api/plat/packet_inlines.h line 5 @@ -21,6 +21,9 @@ /** @internal Inline function offsets */ extern const _odp_packet_inline_offset_t _odp_packet_inline; +/** @internal Pool inline function offsets */ +extern c

Re: [lng-odp] [PATCH v1] next update version

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: configure.ac line 14 @@ -36,10 +36,10 @@ AM_SILENT_RULES([yes]) # 3. if interfaces were removed, then use C+1:0:0 ## -ODP_LIBSO_VERSION=115:0:2 +ODP_LIBSO_VERSION=116:0:3 Comment: @lum

Re: [lng-odp] [PATCH v1] next update version

2017-11-08 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: configure.ac line 14 @@ -36,10 +36,10 @@ AM_SILENT_RULES([yes]) # 3. if interfaces were removed, then use C+1:0:0 ## -ODP_LIBSO_VERSION=115:0:2 +ODP_LIBSO_VERSION=

Re: [lng-odp] [PATCH v1] next update version

2017-11-08 Thread Github ODP bot
muvarov replied on github web page: configure.ac line 14 @@ -36,10 +36,10 @@ AM_SILENT_RULES([yes]) # 3. if interfaces were removed, then use C+1:0:0 ## -ODP_LIBSO_VERSION=115:0:2 +ODP_LIBSO_VERSION=116:0:3 Comment: @lum

Re: [lng-odp] [PATCH v1] next update version

2017-11-08 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: configure.ac line 14 @@ -36,10 +36,10 @@ AM_SILENT_RULES([yes]) # 3. if interfaces were removed, then use C+1:0:0 ## -ODP_LIBSO_VERSION=115:0:2 +ODP_LIBSO_VERSION=

[lng-odp] [PATCH v1 1/1] example: fix pointers to odp_l2fwd.c source

2017-11-08 Thread Github ODP bot
From: Dmitry Eremin-Solenikov During mass-move of tests I forgot to update odp_l2fwd example to point to new locattion. Fix that now. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 286 (lumag:l2fwd-fix) ** https://github.com/Linaro/odp/pull/286 ** Patch: https:

[lng-odp] [PATCH v1 0/1] example: fix pointers to odp_l2fwd.c source

2017-11-08 Thread Github ODP bot
During mass-move of tests I forgot to update odp_l2fwd example to point to new locattion. Fix that now. Signed-off-by: Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org github /** Email created from pull request 286 (lumag:l2fwd-fix) ** https://gith

[lng-odp] [PATCH v1 0/1] example: fix pointers to odp_l2fwd.c source

2017-11-08 Thread Github ODP bot
During mass-move of tests I forgot to update odp_l2fwd example to point to new locattion. Fix that now. Signed-off-by: Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org github /** Email created from pull request 286 (lumag:l2fwd-fix) ** https://gith

[lng-odp] [PATCH v1 3/3] linux-gen: dpdk: call packet parse function only when necessary

2017-11-08 Thread Github ODP bot
From: Matias Elo Not calling packet_parse_layer() when packet input parsing is disabled removes two unnecessary function calls from fast path. Signed-off-by: Matias Elo --- /** Email created from pull request 287 (matiaselo:fix/dpdk_pktio) ** https://github.com/Linaro/odp/pull/287 ** Patch: h

  1   2   >