[lng-odp] [PATCH API-NEXT v4 1/1] doc: userguide: ipsec state machine changes

2017-12-12 Thread Github ODP bot
From: Bill Fischofer Replace the FSMs used to describe SA state transitions and IPsec operations with a Message Sequence Diagram (MSC) that shows the same information in an easier to follow form. Update User Guide to reflect these changes as well. Signed-off-by: Bill

[lng-odp] [PATCH API-NEXT v4 0/1] doc: userguide: ipsec state machine changes

2017-12-12 Thread Github ODP bot
Replace the FSMs used to describe SA state transitions and IPsec operations with a Message Sequence Diagram (MSC) that shows the same information in an easier to follow form. Update User Guide to reflect these changes as well. Signed-off-by: Bill Fischofer bill.fischo...@linaro.org

[lng-odp] [Bug 3517] timer test might fail

2017-12-12 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3517 --- Comment #1 from Dmitry Eremin-Solenikov --- Got the same issue with Shippable: https://app.shippable.com/github/Linaro/odp/runs/325/1/console -- You are receiving this mail because: You are on the CC list for

[lng-odp] [PATCH API-NEXT v14 10/16] linux-gen: packet: add flag for UDP-encapsulated IPsec packets

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v14 13/16] linux-gen: ipsec: support ODP_IPSEC_FRAG_CHECK

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Support checking MTU after IPsec transformation. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) **

[lng-odp] [PATCH API-NEXT v14 3/16] validation: ipsec: fix next_header field in mcgrew gcm test vectors

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Test vectors from draft-mcgrew-gcm-test-01 contain invalid next_header field in ESP trailers (0x01 = ICMP instead of 0x04 = IPv4). Correct test vectors. Test 12 is disabled till NoNH packets are properly supported in a defined way.

[lng-odp] [PATCH API-NEXT v14 12/16] linux-gen: ipsec: store mtu and frag_mode in SA

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v14 16/16] linux-gen: ipsec: pass checksum flags to packet parsing code

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Pass checksum and protocol parsing flags to packet parsing code. Checksum checks are not yet implemented by odp_packet_parse, it will be done later. Signed-off-by: Dmitry Eremin-Solenikov ---

[lng-odp] [PATCH API-NEXT v14 11/16] validation: add UDP-encapsulated IPsec test cases

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v14 15/16] validation: ipsec: add ODP_IPSEC_FRAG_CHECK checks

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v14 14/16] validation: ipsec: fix out inline with NULL pkt_out

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov pkt_out can be NULL if we expect an error. IPsec outbound inline needs proper outer header to function. Pass L2 header from inbound packet if outbound packet is NULL. Signed-off-by: Dmitry Eremin-Solenikov

[lng-odp] [PATCH API-NEXT v14 7/16] validation: ipsec: add tests for IPv6 functionality

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v14 6/16] linux-gen: ipsec: implement IPv6 protocol support

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Implement support for handling IPv6 packets and IPv6 tunnels. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) **

[lng-odp] [PATCH API-NEXT v14 2/16] linux-gen: modularize IPsec implementation

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov To ease adding IPv6/IPcomp/etc modularize IPsec implementation, refactoring out functions handling ESP/AH and header parsing/tunneling. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email

[lng-odp] [PATCH API-NEXT v14 1/16] validation: ipsec: add ipv4 name parts

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov In preparation to add IPv6 support, add ipv4 everywhere (to test packets and to test names). Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304

[lng-odp] [PATCH API-NEXT v14 9/16] linux-gen: add support for UDP-encapsulated ESP packets

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v14 5/16] linux-gen: protocols: ip: add more ipv6 defines

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v14 4/16] linux-gen: don't include odp_ipsec_internal.h in odp_packet_internal.h

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Such include adds unnecessary build dependencies. Just include , which is enough. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) **

[lng-odp] [PATCH API-NEXT v14 0/16] IPsec IPv6 implementation

2017-12-12 Thread Github ODP bot
This adds support for handling of IPv6 packets and IPv6 tunnels. github /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch: https://github.com/Linaro/odp/pull/304.patch ** Base sha:

[lng-odp] [PATCH API-NEXT v3 1/2] api: ipsec: use odp_proto_layer_t for parse layer spec

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Usign odp_proto_layer_t for parse layer spec is more logical, as it is the same enum that is used for the reset of packet parsing API. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email

[lng-odp] [PATCH API-NEXT v3 2/2] api: ipsec: drop odp_ipsec_proto_layer_t

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Use odp_proto_layer_t to specify outer header retention level. Drop separate odp_ipsec_proto_layer_t. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 336

[lng-odp] [PATCH v1 1/1] tests: compile and execute validation tests before the rest of tests

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Validation tests examine API thoroughly. Compile and execute them before performance and misc tests. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 337

[lng-odp] [PATCH API-NEXT v3 0/2] Drop odp_ipsec_proto_layer_t enum

2017-12-12 Thread Github ODP bot
github /** Email created from pull request 336 (lumag:ipsec-proto-layer) ** https://github.com/Linaro/odp/pull/336 ** Patch: https://github.com/Linaro/odp/pull/336.patch ** Base sha: d96a8207591fbcaac25b79286d7d72a537354c1f ** Merge commit sha:

[lng-odp] [PATCH v1 0/1] tests: compile and execute validation tests before the rest of tests

2017-12-12 Thread Github ODP bot
Validation tests examine API thoroughly. Compile and execute them before performance and misc tests. Signed-off-by: Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org github /** Email created from pull request 337 (lumag:tests-vald) **

[lng-odp] [Bug 3465] CID 1461688: odp_pool_create: Dereference before null check

2017-12-12 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3465 --- Comment #2 from Maxim Uvarov --- https://github.com/Linaro/odp/commit/ffcd7991e44109464fb8a71f9ee10546ea5b84b0 refs/heads/master 2017-12-12T23:13:49+03:00 Bill Fischofer bill.fischo...@linaro.org linux-generic: pool:

[lng-odp] [Linaro/odp] ffcd79: linux-generic: pool: validate params before creati...

2017-12-12 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: ffcd7991e44109464fb8a71f9ee10546ea5b84b0 https://github.com/Linaro/odp/commit/ffcd7991e44109464fb8a71f9ee10546ea5b84b0 Author: Bill Fischofer Date: 2017-12-12 (Tue, 12 Dec 2017)

[lng-odp] [Linaro/odp]

2017-12-12 Thread GitHub
Branch: refs/heads/devel/caterpillar Home: https://github.com/Linaro/odp

[lng-odp] [Linaro/odp] 21ed0f: api: shm: name is optional

2017-12-12 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 21ed0fc8045e32e3263f5782401dbfe860152965 https://github.com/Linaro/odp/commit/21ed0fc8045e32e3263f5782401dbfe860152965 Author: Petri Savolainen Date: 2017-12-12 (Tue, 12 Dec

[lng-odp] [Linaro/odp] 87d47c: api: crypto: typo correction

2017-12-12 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 87d47c93d93ed934af9502937d2aceaec59d229a https://github.com/Linaro/odp/commit/87d47c93d93ed934af9502937d2aceaec59d229a Author: Petri Savolainen Date: 2017-12-12 (Tue, 12 Dec

Re: [lng-odp] [PATCH v9] one more try to add nice stats for Shippable

2017-12-12 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/m4/validation.m4 line 14 @@ -31,3 +31,14 @@ AM_CONDITIONAL([test_vald], [test "x$test_vald" = "xyes"]) AC_SUBST([CUNIT_CFLAGS]) AC_SUBST([CUNIT_LIBS]) + +AC_ARG_ENABLE([cunit_out_xml], +

Re: [lng-odp] [PATCH v9] one more try to add nice stats for Shippable

2017-12-12 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/common/odp_cunit_common.h line 10 @@ -15,8 +15,11 @@ #include #include -#include "CUnit/Basic.h" -#include "CUnit/TestDB.h" +#include +#include +#if TEST_CUNIT_XML +#include +#endif Comment: No need to hide it under `#if`

Re: [lng-odp] [PATCH v9] one more try to add nice stats for Shippable

2017-12-12 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/common/odp_cunit_common.c @@ -291,13 +294,30 @@ static int cunit_update_suite(odp_suiteinfo_t *updated_sinfo) int odp_cunit_run(void) { int ret; +#ifdef TEST_CUNIT_XML + char name[255]; +#endif

Re: [lng-odp] [PATCH v9] one more try to add nice stats for Shippable

2017-12-12 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/m4/validation.m4 line 9 @@ -31,3 +31,14 @@ AM_CONDITIONAL([test_vald], [test "x$test_vald" = "xyes"]) AC_SUBST([CUNIT_CFLAGS]) AC_SUBST([CUNIT_LIBS]) + +AC_ARG_ENABLE([cunit_out_xml], +

Re: [lng-odp] [PATCH API-NEXT v2] api: packet: add API to convert user area ptr to odp_packet_t

2017-12-12 Thread Github ODP bot
semihalf-mazur-michal replied on github web page: include/odp/api/spec/packet.h @@ -1333,6 +1333,17 @@ void odp_packet_user_ptr_set(odp_packet_t pkt, const void *ctx); */ void *odp_packet_user_area(odp_packet_t pkt); +/** + * Packet header from user area pointer + * + * Return address of

Re: [lng-odp] [PATCH API-NEXT v2] api: packet: add API to convert user area ptr to odp_packet_t

2017-12-12 Thread Github ODP bot
semihalf-mazur-michal replied on github web page: include/odp/api/spec/packet.h @@ -1333,6 +1333,17 @@ void odp_packet_user_ptr_set(odp_packet_t pkt, const void *ctx); */ void *odp_packet_user_area(odp_packet_t pkt); +/** + * Packet header from user area pointer + * + * Return address of

Re: [lng-odp] [PATCH API-NEXT v2] api: packet: add API to convert user area ptr to odp_packet_t

2017-12-12 Thread Github ODP bot
semihalf-mazur-michal replied on github web page: include/odp/api/spec/packet.h @@ -1333,6 +1333,17 @@ void odp_packet_user_ptr_set(odp_packet_t pkt, const void *ctx); */ void *odp_packet_user_area(odp_packet_t pkt); +/** + * Packet header from user area pointer Comment: corrected in v2

[lng-odp] [PATCH API-NEXT v13 15/16] validation: ipsec: add ODP_IPSEC_FRAG_CHECK checks

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v13 16/16] linux-gen: ipsec: pass checksum flags to packet parsing code

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Pass checksum and protocol parsing flags to packet parsing code. Checksum checks are not yet implemented by odp_packet_parse, it will be done later. Signed-off-by: Dmitry Eremin-Solenikov ---

[lng-odp] [PATCH API-NEXT v13 14/16] validation: ipsec: fix out inline with NULL pkt_out

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov pkt_out can be NULL if we expect an error. IPsec outbound inline needs proper outer header to function. Pass L2 header from inbound packet if outbound packet is NULL. Signed-off-by: Dmitry Eremin-Solenikov

[lng-odp] [PATCH API-NEXT v13 12/16] linux-gen: ipsec: store mtu and frag_mode in SA

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v13 11/16] validation: add UDP-encapsulated IPsec test cases

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v13 7/16] validation: ipsec: add tests for IPv6 functionality

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v13 13/16] linux-gen: ipsec: support ODP_IPSEC_FRAG_CHECK

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Support checking MTU after IPsec transformation. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) **

[lng-odp] [PATCH API-NEXT v13 9/16] linux-gen: add support for UDP-encapsulated ESP packets

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v13 10/16] linux-gen: packet: add flag for UDP-encapsulated IPsec packets

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v13 8/16] linux-gen: ipsec: simplify seq no handling

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov There is no point in filling artificial AAD struct for AH just for the sake of sequence number checking. Instead use AAD just for ESP and provide separate seq_no field. Signed-off-by: Dmitry Eremin-Solenikov

[lng-odp] [PATCH API-NEXT v13 6/16] linux-gen: ipsec: implement IPv6 protocol support

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Implement support for handling IPv6 packets and IPv6 tunnels. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) **

[lng-odp] [PATCH API-NEXT v13 5/16] linux-gen: protocols: ip: add more ipv6 defines

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v13 2/16] linux-gen: modularize IPsec implementation

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov To ease adding IPv6/IPcomp/etc modularize IPsec implementation, refactoring out functions handling ESP/AH and header parsing/tunneling. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email

[lng-odp] [PATCH API-NEXT v13 1/16] validation: ipsec: add ipv4 name parts

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov In preparation to add IPv6 support, add ipv4 everywhere (to test packets and to test names). Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304

[lng-odp] [PATCH API-NEXT v13 4/16] linux-gen: don't include odp_ipsec_internal.h in odp_packet_internal.h

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Such include adds unnecessary build dependencies. Just include , which is enough. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) **

[lng-odp] [PATCH API-NEXT v13 3/16] validation: ipsec: fix next_header field in mcgrew gcm test vectors

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Test vectors from draft-mcgrew-gcm-test-01 contain invalid next_header field in ESP trailers (0x01 = ICMP instead of 0x04 = IPv4). Correct test vectors. Test 12 is disabled till NoNH packets are properly supported in a defined way.

[lng-odp] [PATCH API-NEXT v13 0/16] IPsec IPv6 implementation

2017-12-12 Thread Github ODP bot
This adds support for handling of IPv6 packets and IPv6 tunnels. github /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch: https://github.com/Linaro/odp/pull/304.patch ** Base sha:

[lng-odp] [PATCH API-NEXT v2 1/2] api: ipsec: use odp_proto_layer_t for parse layer spec

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Usign odp_proto_layer_t for parse layer spec is more logical, as it is the same enum that is used for the reset of packet parsing API. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email

[lng-odp] [PATCH API-NEXT v2 2/2] api: ipsec: drop odp_ipsec_proto_layer_t

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Use odp_proto_layer_t to specify outer header retention level. Drop separate odp_ipsec_proto_layer_t. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 336

[lng-odp] [PATCH API-NEXT v2 0/2] Drop odp_ipsec_proto_layer_t enum

2017-12-12 Thread Github ODP bot
github /** Email created from pull request 336 (lumag:ipsec-proto-layer) ** https://github.com/Linaro/odp/pull/336 ** Patch: https://github.com/Linaro/odp/pull/336.patch ** Base sha: 65d690fbcf03c6a4d5eb3f01bde36807833feaaa ** Merge commit sha:

[lng-odp] [Linaro/odp] 76997b: api: packet: refine layer offset specification

2017-12-12 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 76997bb4087981751966df0fa1d0897486a3da1d https://github.com/Linaro/odp/commit/76997bb4087981751966df0fa1d0897486a3da1d Author: Petri Savolainen Date: 2017-12-12 (Tue, 12 Dec

[lng-odp] [PATCH API-NEXT v11 15/16] validation: ipsec: add ODP_IPSEC_FRAG_CHECK checks

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v11 14/16] validation: ipsec: fix out inline with NULL pkt_out

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov pkt_out can be NULL if we expect an error. IPsec outbound inline needs proper outer header to function. Pass L2 header from inbound packet if outbound packet is NULL. Signed-off-by: Dmitry Eremin-Solenikov

[lng-odp] [PATCH API-NEXT v11 16/16] linux-gen: ipsec: pass checksum flags to packet parsing code

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Pass checksum and protocol parsing flags to packet parsing code. Checksum checks are not yet implemented by odp_packet_parse, it will be done later. Signed-off-by: Dmitry Eremin-Solenikov ---

[lng-odp] [PATCH API-NEXT v11 13/16] linux-gen: ipsec: support ODP_IPSEC_FRAG_CHECK

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Support checking MTU after IPsec transformation. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) **

[lng-odp] [PATCH API-NEXT v11 11/16] validation: add UDP-encapsulated IPsec test cases

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v11 12/16] linux-gen: ipsec: store mtu and frag_mode in SA

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v11 10/16] linux-gen: packet: add flag for UDP-encapsulated IPsec packets

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v11 9/16] linux-gen: add support for UDP-encapsulated ESP packets

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v11 8/16] linux-gen: ipsec: simplify seq no handling

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov There is no point in filling artificial AAD struct for AH just for the sake of sequence number checking. Instead use AAD just for ESP and provide separate seq_no field. Signed-off-by: Dmitry Eremin-Solenikov

[lng-odp] [PATCH API-NEXT v11 6/16] linux-gen: ipsec: implement IPv6 protocol support

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Implement support for handling IPv6 packets and IPv6 tunnels. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) **

[lng-odp] [PATCH API-NEXT v11 4/16] linux-gen: don't include odp_ipsec_internal.h in odp_packet_internal.h

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Such include adds unnecessary build dependencies. Just include , which is enough. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) **

[lng-odp] [PATCH API-NEXT v11 5/16] linux-gen: protocols: ip: add more ipv6 defines

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch:

[lng-odp] [PATCH API-NEXT v11 3/16] validation: ipsec: fix next_header field in mcgrew gcm test vectors

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Test vectors from draft-mcgrew-gcm-test-01 contain invalid next_header field in ESP trailers (0x01 = ICMP instead of 0x04 = IPv4). Correct test vectors. Test 12 is disabled till NoNH packets are properly supported in a defined way.

[lng-odp] [PATCH API-NEXT v11 2/16] linux-gen: modularize IPsec implementation

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov To ease adding IPv6/IPcomp/etc modularize IPsec implementation, refactoring out functions handling ESP/AH and header parsing/tunneling. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email

[lng-odp] [PATCH API-NEXT v11 1/16] validation: ipsec: add ipv4 name parts

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov In preparation to add IPv6 support, add ipv4 everywhere (to test packets and to test names). Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 304

[lng-odp] [PATCH API-NEXT v11 0/16] IPsec IPv6 implementation

2017-12-12 Thread Github ODP bot
This adds support for handling of IPv6 packets and IPv6 tunnels. github /** Email created from pull request 304 (lumag:ipsec-ipv6-2) ** https://github.com/Linaro/odp/pull/304 ** Patch: https://github.com/Linaro/odp/pull/304.patch ** Base sha:

[lng-odp] [PATCH API-NEXT v2 1/1] api: packet: add API to convert user area ptr to odp_packet_t

2017-12-12 Thread Github ODP bot
From: Michal Mazur This new API function will take a pointer to user area and return ODP packet handle associated with that user area. It is needed when application wants to send buffers back to ODP and has only a pointer to its private type. ODP implementations in which user

[lng-odp] [PATCH API-NEXT v2 0/1] api: packet: add API to convert user area ptr to odp_packet_t

2017-12-12 Thread Github ODP bot
This new API function will take a pointer to user area and calculate pointer to ODP buffer's header associated with it. It is needed when application wants to send buffers back to ODP and has only a pointer to its private type. Some implementation (like ODP-DPDK) can implement this API using

[lng-odp] [Linaro/odp] 015674: api: event: add free multiple

2017-12-12 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 015674f10e67c319e6299fe99332787c491d59c2 https://github.com/Linaro/odp/commit/015674f10e67c319e6299fe99332787c491d59c2 Author: Petri Savolainen Date: 2017-12-12 (Tue, 12 Dec

[lng-odp] [Linaro/odp] 87ec94: api: packet: separate checksum check flags

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

[lng-odp] [Linaro/odp] 072b0d: linux-gen: buffer: remove unused members from odp_...

2017-12-12 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 072b0d72318cfb5b847300404a2bd2130e5130c1 https://github.com/Linaro/odp/commit/072b0d72318cfb5b847300404a2bd2130e5130c1 Author: Matias Elo Date: 2017-12-12 (Tue, 12 Dec 2017)

Re: [lng-odp] IPsec and crypto performance and OpenSSL

2017-12-12 Thread Peltonen, Janne (Nokia - FI/Espoo)
Dmitry Eremin-Solenikov [mailto:dmitry.ereminsoleni...@linaro.org] wrote: > On 12 December 2017 at 14:00, Peltonen, Janne (Nokia - FI/Espoo) > wrote: > >> Also note that this will break explicit IV support. > > > > Why so? The iv is set in every operation. > > Sorry, I

[lng-odp] [Linaro/odp] 811281: travis: add enable-deprecated test configuration

2017-12-12 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 811281a22b6274b7f41b926a9cfbe09e48a366bd https://github.com/Linaro/odp/commit/811281a22b6274b7f41b926a9cfbe09e48a366bd Author: Matias Elo Date: 2017-12-04 (Mon, 04 Dec 2017)

Re: [lng-odp] [PATCH API-NEXT v1] api: ipsec: require IPv4 or IPv6 flag to be set

2017-12-12 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/ipsec.h line 4 @@ -1207,6 +1207,7 @@ typedef struct odp_ipsec_status_t { * * Each input packet must have a valid value for these metadata (other metadata * is ignored): + * - IPv4 or IPv6 flag: Set packet flag

Re: [lng-odp] [PATCH API-NEXT v1] api: ipsec: require IPv4 or IPv6 flag to be set

2017-12-12 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: include/odp/api/spec/ipsec.h line 4 @@ -1207,6 +1207,7 @@ typedef struct odp_ipsec_status_t { * * Each input packet must have a valid value for these metadata (other metadata * is ignored): + * - IPv4 or IPv6 flag: Set packet flag

[lng-odp] [PATCH API-NEXT v10 1/2] api: packet: separate checksum check flags

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Separate union controlling different checksum checks. It will be used by IPsec API. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 314 (lumag:ipsec-chksum) **

[lng-odp] [PATCH API-NEXT v10 0/2] IPsec checksumming API

2017-12-12 Thread Github ODP bot
Separate checksumming flags into separate type to be used by both packet parse and IPsec functions. github /** Email created from pull request 314 (lumag:ipsec-chksum) ** https://github.com/Linaro/odp/pull/314 ** Patch:

[lng-odp] [PATCH API-NEXT v10 2/2] api: ipsec: reuse checksum checking flags from packet API

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Reuse odp_packet_parse_chksum_t from packet API to ease passing checksum flags to packet parsing functions. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 314

Re: [lng-odp] IPsec and crypto performance and OpenSSL

2017-12-12 Thread Dmitry Eremin-Solenikov
On 12 December 2017 at 14:00, Peltonen, Janne (Nokia - FI/Espoo) wrote: >> Also note that this will break explicit IV support. > > Why so? The iv is set in every operation. Sorry, I meant implicit IV, when there is no override_iv_ptr, but IV is 'kept' inside session.

Re: [lng-odp] IPsec and crypto performance and OpenSSL

2017-12-12 Thread Peltonen, Janne (Nokia - FI/Espoo)
> Also note that this will break explicit IV support. Why so? The iv is set in every operation. Janne > -Original Message- > From: Dmitry Eremin-Solenikov [mailto:dmitry.ereminsoleni...@linaro.org] > Sent: Tuesday, December 12, 2017 12:36 PM > To: Peltonen, Janne (Nokia -

[lng-odp] [PATCH API-NEXT v9 1/2] api: packet: separate checksum check flags

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Separate union controlling different checksum checks. It will be used by IPsec API. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 314 (lumag:ipsec-chksum) **

[lng-odp] [PATCH API-NEXT v9 2/2] api: ipsec: reuse checksum checking flags from packet API

2017-12-12 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Reuse odp_packet_parse_chksum_t from packet API to ease passing checksum flags to packet parsing functions. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 314

[lng-odp] [PATCH API-NEXT v9 0/2] IPsec checksumming API

2017-12-12 Thread Github ODP bot
Separate checksumming flags into separate type to be used by both packet parse and IPsec functions. github /** Email created from pull request 314 (lumag:ipsec-chksum) ** https://github.com/Linaro/odp/pull/314 ** Patch:

Re: [lng-odp] Suspected SPAM - Re: IPsec and crypto performance and OpenSSL

2017-12-12 Thread Peltonen, Janne (Nokia - FI/Espoo)
> So, I'd suggest to preallocate Open SSL (per thread) context memory in > global_init(). I > guess context allocation depends on algorithm, etc config, but we could e.g. > pre-allocate > the most obvious ones (e.g. AES+SHA1, or AES-GCM) and leave all others as > they are today. > A balance