Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-dpdk/test/wrapper-script.sh line 5 @@ -1,6 +1,7 @@ #!/bin/bash -export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 --vdev "crypto_openssl"} +export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 "--vdev \ +"crypto_openssl" --vdev

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 171 @@ -663,76 +666,105 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth, return idx; } -static int get_crypto_dev(struct rte_crypto_sym_xform *cipher_xform, -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-dpdk/odp_crypto.c line 19 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 41 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-dpdk/odp_crypto.c line 26 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 62 @@ -615,7 +618,7 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth, while (cap->op != RTE_CRYPTO_OP_TYPE_UNDEFINED) { cap_auth_algo = cap->sym.auth.algo;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 26 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-dpdk/odp_crypto.c line 171 @@ -663,76 +666,105 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth, return idx; } -static int get_crypto_dev(struct rte_crypto_sym_xform *cipher_xform, - struct

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 19 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/performance/odp_crypto.c line 17 @@ -45,6 +45,21 @@ static uint8_t test_key24[24] = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x15, 0x16, 0x17, 0x18 }; +static uint8_t test_key64[64] = { 0x01, 0x02, 0x03,

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-dpdk/odp_crypto.c line 19 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/performance/odp_crypto.c line 35 @@ -226,6 +241,18 @@ static crypto_alg_config_t algs_config[] = { .auth_digest_len = 12, }, }, + { + .name = "null-hmac-md5-96", +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 12 @@ -303,13 +303,15 @@ odp_ipsec_sa_t odp_ipsec_sa_create(const odp_ipsec_sa_param_t *param) case ODP_CIPHER_ALG_3DES_CBC: ipsec_sa->esp_iv_len = 8;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/test/wrapper-script.sh line 5 @@ -1,6 +1,7 @@ #!/bin/bash -export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 --vdev "crypto_openssl"} +export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 "--vdev \

Re: [lng-odp] [PATCH API-NEXT v3] api: pktio: clarify timeout and stop interaction

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/packet_io.h line 25 @@ -884,14 +887,19 @@ int odp_pktin_recv(odp_pktin_queue_t queue, odp_packet_t packets[], int num); * @param numMaximum number of packets to receive * @param wait

Re: [lng-odp] [PATCH API-NEXT v1] User pointer init to NULL - rebased

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c line 51 @@ -1259,7 +1260,15 @@ int odp_packet_input_index(odp_packet_t pkt) void odp_packet_user_ptr_set(odp_packet_t pkt, const void *ptr) { - packet_hdr(pkt)->buf_hdr.user_ptr = ptr;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 333 @@ -855,48 +924,51 @@ int odp_crypto_session_create(odp_crypto_session_param_t *param, auth_xform.auth.key.length = 0; } + auth_xform.auth.digest_length = 0; +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 215 @@ -776,6 +808,22 @@ static int get_crypto_dev(struct rte_crypto_sym_xform *cipher_xform, return -1; } +static void set_chain_order(struct rte_crypto_sym_xform **first_xform, +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 238 @@ -784,8 +832,9 @@ int odp_crypto_session_create(odp_crypto_session_param_t *param, uint8_t cdev_id = 0; struct rte_crypto_sym_xform cipher_xform; struct

[lng-odp] [PATCH API-NEXT v1 2/6] linux-gen: packet: hide internal definitions from Doxygen

2018-01-16 Thread Github ODP bot
From: Petri Savolainen This internal header file is included from API files and thus Doxygen sees it. Use Doxygen tag @cond to hide implementation internal definitions. Dummy Doxygen doxumentation is not needed any more. Signed-off-by: Petri Savolainen

[lng-odp] [PATCH API-NEXT v1 1/6] linux-gen: packet: single user ptr field

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Remove unnecessary union of user context u64/pointer. Rename the field for better code readability. Signed-off-by: Petri Savolainen --- /** Email created from pull request 392 (psavol:next-user-ptr-init-rebase)

[lng-odp] [PATCH API-NEXT v1 6/6] validation: packet: test user pointer init to NULL

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Test if user pointer is NULL after alloc and reset. Signed-off-by: Petri Savolainen --- /** Email created from pull request 392 (psavol:next-user-ptr-init-rebase) ** https://github.com/Linaro/odp/pull/392 **

[lng-odp] [PATCH API-NEXT v1 3/6] linux-gen: packet: clean up error and output flags

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Removed three unused error flags. Combined error and output flags into a single uint32_t. This saves four bytes and init of those bytes. There's still room for 12 flags in this word. Later on, these and input flags could be also combined.

[lng-odp] [PATCH API-NEXT v1 4/6] api: packet: initialize user ptr to NULL

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Require that implementation initializes the pointer value to NULL. Application can use the pointer more robustly when it can tell if the pointer has been set previously or not. Signed-off-by: Petri Savolainen ---

[lng-odp] [PATCH API-NEXT v1 5/6] linux-gen: packet: initialize user ptr to NULL

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Use a flag to record if user pointer has been set. This avoids resetting the pointer in every alloc. Signed-off-by: Petri Savolainen --- /** Email created from pull request 392 (psavol:next-user-ptr-init-rebase)

[lng-odp] [PATCH API-NEXT v1 3/4] validation: queue: multi-thread plain queue test

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Test plain queue enqueue and dequeue with multiple concurrent threads. Test blocking and non-blocking lock-free implementations. Signed-off-by: Petri Savolainen --- /** Email created from pull request 393

Re: [lng-odp] [PATCH API-NEXT v3] api: pktio: clarify timeout and stop interaction

2018-01-16 Thread Github ODP bot
bogdanPricope replied on github web page: include/odp/api/spec/packet_io.h line 25 @@ -884,14 +887,19 @@ int odp_pktin_recv(odp_pktin_queue_t queue, odp_packet_t packets[], int num); * @param numMaximum number of packets to receive * @param wait Wait time specified as

[lng-odp] [PATCH API-NEXT v1 2/4] validation: queue: test lock-free queue

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Added simple, single threaded enqueue/dequeue test for lock-free queues. Signed-off-by: Petri Savolainen --- /** Email created from pull request 393 (psavol:next-lockfree-queue-impl-rebased) **

[lng-odp] [PATCH API-NEXT v1 1/4] api: queue: block-free capabilities

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Lock-free and wait-free implementations may differ a lot from the default (blocking) implementation. Thus the maximum number of queues and queue sizes may be more limited. Non-blocking enum is not needed anymore as capability, since number of

[lng-odp] [PATCH API-NEXT v1 0/6] User pointer init to NULL - rebased

2018-01-16 Thread Github ODP bot
Rebased PR 388 into a new branch due to heavy api-next history rewrite. github /** Email created from pull request 392 (psavol:next-user-ptr-init-rebase) ** https://github.com/Linaro/odp/pull/392 ** Patch: https://github.com/Linaro/odp/pull/392.patch **

[lng-odp] [PATCH API-NEXT v1 4/4] linux-gen: queue: lock-free implementation

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Simple implementation of non-blocking, lock-free plain queues. Enqueues are done freely to any free ring node with an atomically increasing counter value. Dequeue operation finds the node with lowest counter value. Implementation requires

[lng-odp] [PATCH CATERPILLAR v3 4/4] example: instrum: configure papi event set

2018-01-16 Thread Github ODP bot
From: Bogdan Pricope Configure the set of papi counters to be acquired via an environment variable. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 381 (bogdanPricope:cat_benchmark_poc) **

[lng-odp] [PATCH v1 0/1] validation: packet: minimal chksum status test

2018-01-16 Thread Github ODP bot
There was no references into chksum status functions in validation test suite. Add minimal test to see at least that functions exist. Parse function should be updated with a checksum implementation, before actual checksum checking can be tested. Signed-off-by: Petri Savolainen

[lng-odp] [PATCH v2 1/1] configure: enable linux helpers by default

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Enable Linux helpers by default as e.g. OFP uses those. Build and test helper code does not add significant overhead, but catches potential issues early. Signed-off-by: Petri Savolainen --- /** Email created from

[lng-odp] [PATCH v2 0/2] Support linking tests/examples dynamically with libodp-linux.so

2018-01-16 Thread Github ODP bot
Distributions won't like statically-linked binaries. Provide configure switch to link examples and tests dynamically. github /** Email created from pull request 390 (lumag:dynamic-link-tests) ** https://github.com/Linaro/odp/pull/390 ** Patch:

[lng-odp] [PATCH v2 2/2] travis: run tests with dynamically-linked tests

2018-01-16 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 390 (lumag:dynamic-link-tests) ** https://github.com/Linaro/odp/pull/390 ** Patch:

Re: [lng-odp] problem about odp-ovs(with dpdk)

2018-01-16 Thread Maxim Uvarov
On 01/16/18 10:35, lin huang wrote: > Hi guys, >I get a problem when I try to use odp-ovs with odp-dpdk. > I compiled the odp-dpdk and odp-ovs successfully. and then I want to try add > a port to ovs bridge with the following command: > > ovs-vsctl add-port br0 odp:enp0s8 -- set Interface

[lng-odp] [PATCH CATERPILLAR v1 0/1] pktio: honor config.h settings

2018-01-16 Thread Github ODP bot
It's not enough to chech if a macro is defined to enable or disable a pktio, we also need to check if it is set to 1 as per its description. Signed-off-by: Josep Puigdemont josep.puigdem...@linaro.org github /** Email created from pull request 394

[lng-odp] [PATCH v1 1/1] configure: enable linux helpers by default

2018-01-16 Thread Github ODP bot
From: Petri Savolainen Enable Linux helpers by default as e.g. OFP uses those. Build and test helper code does not add significant overhead, but catches potential issues early. Signed-off-by: Petri Savolainen --- /** Email created from

[lng-odp] [PATCH v1 0/1] enable linux helpers by default

2018-01-16 Thread Github ODP bot
Enable Linux helpers by default as e.g. OFP uses those. Build and test helper code does not add significant overhead, but catches potential issues early. Signed-off-by: Petri Savolainen petri.savolai...@linaro.org github /** Email created from pull request

[lng-odp] [Bug 3574] New: Use of ODP_ALIGNED()/ODP_ALIGNED_CACHE

2018-01-16 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3574 Bug ID: 3574 Summary: Use of ODP_ALIGNED()/ODP_ALIGNED_CACHE Product: OpenDataPlane - linux- generic reference Version: unspecified Hardware: Other OS: Linux Status:

[lng-odp] [PATCH v1 1/1] validation: packet: minimal chksum status test

2018-01-16 Thread Github ODP bot
From: Petri Savolainen There was no references into chksum status functions in validation test suite. Add minimal test to see at least that functions exist. Parse function should be updated with a checksum implementation, before actual checksum checking can be

[lng-odp] [PATCH v2 0/1] enable linux helpers by default

2018-01-16 Thread Github ODP bot
Enable Linux helpers by default as e.g. OFP uses those. Build and test helper code does not add significant overhead, but catches potential issues early. Signed-off-by: Petri Savolainen petri.savolai...@linaro.org github /** Email created from pull request

[lng-odp] [PATCH v2 1/2] build: provide an option to link examples dynamically

2018-01-16 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Distributions won't like statically-linked binaries. Provide configure switch to link examples and tests dynamically. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull

[lng-odp] [PATCH v3 0/2] Support linking tests/examples dynamically with libodp-linux.so

2018-01-16 Thread Github ODP bot
Distributions won't like statically-linked binaries. Provide configure switch to link examples and tests dynamically. github /** Email created from pull request 390 (lumag:dynamic-link-tests) ** https://github.com/Linaro/odp/pull/390 ** Patch:

[lng-odp] [PATCH API-NEXT v8 0/3] IPsec TFC packets/padding support

2018-01-16 Thread Github ODP bot
Support TFC features: TFC padding TX and RX via adding additonal data after packet payload TFC packets RX via ODP_IPSEC_STATUS event. TX and RX SYNC is TBD. github /** Email created from pull request 329 (lumag:ipsec-tfc) **

[lng-odp] [PATCH v3 2/2] travis: run tests with dynamically-linked tests

2018-01-16 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 390 (lumag:dynamic-link-tests) ** https://github.com/Linaro/odp/pull/390 ** Patch:

[lng-odp] Packet checksums support during IPsec operations

2018-01-16 Thread Dmitry Eremin-Solenikov
Hello, Currently ODP API describes configurable checksum generation and validation for internal packets during IPsec transformation. However it does not have a set of capabilities, so each implementation will have to do it in software, unless backed by actual hardware. A question arose during

[lng-odp] [PATCH v3 1/2] build: provide an option to link examples dynamically

2018-01-16 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Distributions won't like statically-linked binaries. Provide configure switch to link examples and tests dynamically. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull

[lng-odp] [PATCH API-NEXT v8 2/3] api: ipsec: add tfc_padding_truncate capability

2018-01-16 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Some hardware truncates TFC padding from received packets. Application can use this capability to determine if it should use ESP_TFC_PADDING_NOT_SUPPORTED notification when negotiating SA. Signed-off-by: Dmitry Eremin-Solenikov

[lng-odp] [PATCH API-NEXT v8 3/3] api: ipsec: document usage of IPv4/IPv6 flags on inbound packets

2018-01-16 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Document usage of IPv4/IPv6 flags on inbound packets. Provide special case for TFC dummy packets, which are marked by both flags being cleared. Signed-off-by: Dmitry Eremin-Solenikov --- /**

[lng-odp] [PATCH API-NEXT v8 1/3] api: ipsec: document TFC padding usage

2018-01-16 Thread Github ODP bot
From: Dmitry Eremin-Solenikov It is possible to include TFC padding into ESP packets. Document usage of such padding according to RFC. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 329

Re: [lng-odp] [PATCH v2] enable linux helpers by default

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: helper/m4/configure.m4 line 14 @@ -8,14 +8,13 @@ AC_ARG_ENABLE([test-helper], AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ]) ## -# Enable/disable

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 41 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 26 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

[lng-odp] [Linaro/odp] e8ec57: api: queue: block-free capabilities

2018-01-16 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: e8ec57b012fea43ae501adb66f5c8ee2f03d0a6c https://github.com/Linaro/odp/commit/e8ec57b012fea43ae501adb66f5c8ee2f03d0a6c Author: Petri Savolainen Date: 2018-01-16 (Tue, 16 Jan

Re: [lng-odp] [PATCH v2] enable linux helpers by default

2018-01-16 Thread Github ODP bot
Josep Puigdemont(joseppc) replied on github web page: helper/m4/configure.m4 @@ -8,12 +8,11 @@ AC_ARG_ENABLE([test-helper], AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ]) ## -# Enable/disable helper-ext -#

Re: [lng-odp] [PATCH v2] enable linux helpers by default

2018-01-16 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: helper/m4/configure.m4 @@ -8,12 +8,11 @@ AC_ARG_ENABLE([test-helper], AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ]) ## -# Enable/disable helper-ext -#

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 19 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] problem about odp-ovs(with dpdk)

2018-01-16 Thread lin huang
Thank you!!! I did the commands: /home/vagrant/dpdk/usertools/dpdk-devbind.py --bind=igb_uio :00:08.0 /home/vagrant/dpdk/usertools/dpdk-devbind.py --bind=igb_uio :00:09.0 And the dvebind tool status shows: root@vagrant:/home/vagrant/dpdk# ./usertools/dpdk-devbind.py --status Network

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_packet.c line 85 @@ -2052,6 +2083,18 @@ static inline uint8_t parse_ipv4(packet_parser_t *prs, const uint8_t **parseptr, *offset += ihl * 4; *parseptr += ihl * 4; + if

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-dpdk/odp_crypto.c line 19 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 19 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH API-NEXT v1] User pointer init to NULL - rebased

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp/api/plat/packet_types.h line 6 @@ -67,101 +67,89 @@ typedef enum { #endif -/** @internal Packet field accessor */ +/** @cond _ODP_HIDE_FROM_DOXYGEN_ */ + Comment: I like using this feature,

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-generic/odp_ipsec_sad.c line 12 @@ -303,13 +303,15 @@ odp_ipsec_sa_t odp_ipsec_sa_create(const odp_ipsec_sa_param_t *param) case ODP_CIPHER_ALG_3DES_CBC: ipsec_sa->esp_iv_len = 8;

[lng-odp] [PATCH v4 0/2] Support linking tests/examples dynamically with libodp-linux.so

2018-01-16 Thread Github ODP bot
Distributions won't like statically-linked binaries. Provide configure switch to link examples and tests dynamically. github /** Email created from pull request 390 (lumag:dynamic-link-tests) ** https://github.com/Linaro/odp/pull/390 ** Patch:

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 26 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

[lng-odp] [PATCH v4 2/2] travis: run tests with dynamically-linked tests

2018-01-16 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 390 (lumag:dynamic-link-tests) ** https://github.com/Linaro/odp/pull/390 ** Patch:

[lng-odp] [PATCH v4 1/2] build: provide an option to link examples dynamically

2018-01-16 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Distributions won't like statically-linked binaries. Provide configure switch to link examples and tests dynamically. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 171 @@ -663,76 +666,105 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth, return idx; } -static int get_crypto_dev(struct rte_crypto_sym_xform *cipher_xform, -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 215 @@ -776,6 +808,22 @@ static int get_crypto_dev(struct rte_crypto_sym_xform *cipher_xform, return -1; } +static void set_chain_order(struct rte_crypto_sym_xform **first_xform, +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 238 @@ -784,8 +832,9 @@ int odp_crypto_session_create(odp_crypto_session_param_t *param, uint8_t cdev_id = 0; struct rte_crypto_sym_xform cipher_xform; struct

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c line 31 @@ -1948,6 +1949,35 @@ int _odp_packet_copy_md_to_packet(odp_packet_t srcpkt, odp_packet_t dstpkt) return dst_uarea_size < src_uarea_size; } +static uint16_t

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_chksum_internal.h line 35 @@ -0,0 +1,59 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/performance/odp_crypto.c line 17 @@ -45,6 +45,21 @@ static uint8_t test_key24[24] = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x15, 0x16, 0x17, 0x18 }; +static uint8_t test_key64[64] = { 0x01, 0x02, 0x03,

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/performance/odp_crypto.c line 35 @@ -226,6 +241,18 @@ static crypto_alg_config_t algs_config[] = { .auth_digest_len = 12, }, }, + { + .name = "null-hmac-md5-96", +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-dpdk/odp_crypto.c line 26 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c line 80 @@ -2052,6 +2083,18 @@ static inline uint8_t parse_ipv4(packet_parser_t *prs, const uint8_t **parseptr, *offset += ihl * 4; *parseptr += ihl * 4; + if

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c line 116 @@ -2099,6 +2144,18 @@ static inline uint8_t parse_ipv6(packet_parser_t *prs, const uint8_t **parseptr, *offset += sizeof(_odp_ipv6hdr_t); *parseptr +=

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c line 121 @@ -2099,6 +2144,18 @@ static inline uint8_t parse_ipv6(packet_parser_t *prs, const uint8_t **parseptr, *offset += sizeof(_odp_ipv6hdr_t); *parseptr +=

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 41 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 62 @@ -615,7 +618,7 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth, while (cap->op != RTE_CRYPTO_OP_TYPE_UNDEFINED) { cap_auth_algo = cap->sym.auth.algo;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-dpdk/odp_crypto.c line 41 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-dpdk/test/wrapper-script.sh line 5 @@ -1,6 +1,7 @@ #!/bin/bash -export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 --vdev "crypto_openssl"} +export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 "--vdev \ +"crypto_openssl" --vdev

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c line 85 @@ -2052,6 +2083,18 @@ static inline uint8_t parse_ipv4(packet_parser_t *prs, const uint8_t **parseptr, *offset += ihl * 4; *parseptr += ihl * 4; + if

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c line 160 @@ -2155,14 +2212,35 @@ static inline void parse_tcp(packet_parser_t *prs, /** * Parser helper function for UDP */ -static inline void parse_udp(packet_parser_t *prs, -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 19 @@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, case ODP_AUTH_ALG_MD5_96: #endif auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; -

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/include/odp_chksum_internal.h line 24 @@ -0,0 +1,59 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP checksum -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 333 @@ -855,48 +924,51 @@ int odp_crypto_session_create(odp_crypto_session_param_t *param, auth_xform.auth.key.length = 0; } + auth_xform.auth.digest_length = 0; +

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_chksum_internal.h line 24 @@ -0,0 +1,59 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP

Re: [lng-odp] [PATCH v3][WIP] Validate checksums during packet parsing

2018-01-16 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_chksum_internal.h line 30 @@ -0,0 +1,59 @@ +/* Copyright (c) 2013, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * ODP

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/test/wrapper-script.sh line 5 @@ -1,6 +1,7 @@ #!/bin/bash -export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 --vdev "crypto_openssl"} +export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 "--vdev \

[lng-odp] [Linaro/odp] ea7b42: linux-gen: mediated devices common code

2018-01-16 Thread GitHub
Branch: refs/heads/caterpillar Home: https://github.com/Linaro/odp Commit: ea7b4281992e3cf772fb84708ed7f3985bce78e7 https://github.com/Linaro/odp/commit/ea7b4281992e3cf772fb84708ed7f3985bce78e7 Author: Ilias Apalodimas Date: 2018-01-17 (Wed, 17

[lng-odp] [PATCH CATERPILLAR v1 1/1] pktio: honor config.h settings

2018-01-16 Thread Github ODP bot
From: Josep Puigdemont It's not enough to chech if a macro is defined to enable or disable a pktio, we also need to check if it is set to 1 as per its description. Signed-off-by: Josep Puigdemont --- /** Email created from pull request

Re: [lng-odp] problem about odp-ovs(with dpdk)

2018-01-16 Thread Bogdan Pricope
See below commands (adapt to your PCI IDs and driver): ${DPDK_PATH}/usertools/dpdk-devbind.py -s ${DPDK_PATH}/usertools/dpdk-devbind.py -u :01:00.0 ${DPDK_PATH}usertools/dpdk-devbind.py -u :01:00.1 ${DPDK_PATH}/usertools/dpdk-devbind.py --bind=igb_uio :01:00.0

[lng-odp] [Linaro/odp] 223798: validation: crypto: print untested capabilities

2018-01-16 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 2237981c5e20dd4efb2e181ad59785e6f9f099bb https://github.com/Linaro/odp/commit/2237981c5e20dd4efb2e181ad59785e6f9f099bb Author: Dmitry Eremin-Solenikov Date: 2018-01-16

[lng-odp] [PATCH CATERPILLAR v3 3/4] example: instrum: use low level API to retrieve performance counters

2018-01-16 Thread Github ODP bot
From: Bogdan Pricope Signed-off-by: Bogdan Pricope --- /** Email created from pull request 381 (bogdanPricope:cat_benchmark_poc) ** https://github.com/Linaro/odp/pull/381 ** Patch: https://github.com/Linaro/odp/pull/381.patch ** Base sha:

[lng-odp] [PATCH CATERPILLAR v3 0/4] RFC - code instrumentation with PAPI library

2018-01-16 Thread Github ODP bot
ODP API instrumentation with PAPI (Performance API) library (http://icl.cs.utk.edu/papi) "instrum" example is using library preload, symbols overloading and PAPI to obtain performance counters (like data cache miss or conditional branch count) for execution of ODP API calls. Performance

[lng-odp] [PATCH CATERPILLAR v3 2/4] example: instrum: add skeleton

2018-01-16 Thread Github ODP bot
From: Bogdan Pricope Signed-off-by: Bogdan Pricope --- /** Email created from pull request 381 (bogdanPricope:cat_benchmark_poc) ** https://github.com/Linaro/odp/pull/381 ** Patch: https://github.com/Linaro/odp/pull/381.patch ** Base sha:

[lng-odp] [Linaro/odp] d99b3b: physmem: change API, alloc now does a mapping too

2018-01-16 Thread GitHub
Branch: refs/heads/devel/native-drivers Home: https://github.com/Linaro/odp Commit: d99b3beb5ba18f061b4baa2debd46d674e542403 https://github.com/Linaro/odp/commit/d99b3beb5ba18f061b4baa2debd46d674e542403 Author: Josep Puigdemont Date: 2018-01-16

  1   2   >