[lng-odp] [Linaro/odp] ea9f2a: configure: don't try building driver api guide

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

[lng-odp] [PATCH 2.0 v4 1/1] linux-gen: buffer: remove burst metadata from odp_buffer_hdr_t

2017-11-03 Thread Github ODP bot
From: Kevin Wang The total packet meta data size was 7 cache lines for Linux-generic. For scalable scheduler, the burst metadata is not required. So just remove it for scalable scheduler. After the changes, the size of the meta data is 4 cache lines for Linux-generic. Signed-off-by: Kevin Wang

[lng-odp] [PATCH 2.0 v4 0/1] linux-gen: buffer: remove burst metadata from odp_buffer_hdr_t

2017-11-03 Thread Github ODP bot
The total packet meta data size was 7 cache lines for Linux-generic. With this change the size of the meta data is 4 cache lines for Linux-generic. Make scalable scheduler as the default scheduler. github /** Email created from pull request 266 (kevinwangsk:

[lng-odp] [PATCH API-NEXT v2 0/6] api-next remove drv code

2017-11-03 Thread Github ODP bot
remove drv code from api-next which will be maintained in 2.0 branch to final worked version. github /** Email created from pull request 272 (muvarov:api-next_removedrv) ** https://github.com/Linaro/odp/pull/272 ** Patch: https://github.com/Linaro/odp/pul

[lng-odp] [PATCH API-NEXT v2 1/6] drv: doc, linux-gen, include: drop incomplete drv interface

2017-11-03 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Driver interface at master branch is incomplete. Drop it for now. API-next will receive update DDF framework separately. Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- /** Email created from pull request 272 (mu

[lng-odp] [PATCH API-NEXT v2 2/6] configure: don't try building driver api guide

2017-11-03 Thread Github ODP bot
From: Dmitry Eremin-Solenikov driver api guide was removed from master branch. Drop it from configure.ac. Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- /** Email created from pull request 272 (muvarov:api-next_removedrv) ** https://github.

[lng-odp] [PATCH API-NEXT v2 3/6] doc: include Doxyfile into EXTRA_DIST

2017-11-03 Thread Github ODP bot
From: Dmitry Eremin-Solenikov As it is done with the rest of Doxygen docs, include Doxyfile into EXTRA_DIST of corresponding doc directory. Drop $(DX_CONFIG) from top-level Makefile.am, as it becomes unused now. Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by:

[lng-odp] [PATCH API-NEXT v2 4/6] travis: move Doxygen compilation to before_install

2017-11-03 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Move Doxygen compilation to before_install to make it available to make distcheck. Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- /** Email created from pull request 272 (muvarov:api-next_removedrv) ** https://

[lng-odp] [PATCH API-NEXT v2 5/6] build: run doxygen-doc during make distcheck

2017-11-03 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Check that distribution has all files necessary to build doxygen documentation. Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- /** Email created from pull request 272 (muvarov:api-next_removedrv) ** https://git

Re: [lng-odp] [PATCH API-NEXT v2] api-next remove drv code

2017-11-03 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: doc/Doxyfile_common line 13 @@ -33,12 +33,9 @@ DOT_IMAGE_FORMAT = svg PREDEFINED = __GNUC__ \ __attribute__(x)= \ ODP_ALIGNED(x)= \ -ODPDRV_ALIGNED(x)= \ __BIG_ENDIAN_BITFIELD \

[lng-odp] [PATCH API-NEXT v6 0/15] IPsec implementation updates

2017-11-03 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 v6 2/15] validation: ipsec: drop unused file

2017-11-03 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 v6 3/15] validation: ipsec: verify odp_ipsec_sa_context

2017-11-03 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 v6 4/15] linux-gen: ipsec: fix soft/hard limits check

2017-11-03 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 v6 1/15] linux-gen: ipsec: use counter instead of random IV for GCM

2017-11-03 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 v6 6/15] linux-gen: ipsec: support replay window checks

2017-11-03 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 v6 8/15] linux-gen: classification: provide _odp_cos_get_entry() function

2017-11-03 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 v6 10/15] linux-gen: ipsec: support pipelining to cos_t

2017-11-03 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 v6 11/15] validation: ipsec: add support for PIPELINE_CLS testing

2017-11-03 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 v6 12/15] linux-gen: ipsec: mark IPsec packets with errors with error flag

2017-11-03 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 v6 9/15] linux-gen: classification: split cls_pkt_get_queue() function

2017-11-03 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 v6 7/15] validation: ipsec: add replay window checks

2017-11-03 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 v6 5/15] linux-gen: ipsec: add replay window support to SAD

2017-11-03 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 v6 13/15] validation: check that erroneous IPsec packets have error flag set

2017-11-03 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 v6 15/15] linux-gen: ipsec: correct frag_offset for tunneled packets

2017-11-03 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 v6 14/15] linux-gen: ipsec: validate ip header total length

2017-11-03 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 v1 0/1] linux-gen: crypto: fix openssl_lock pointer type

2017-11-03 Thread Github ODP bot
Wrong pointer type (pointer to pointer) to openssl_lock array caused data overlapping when running on other than 64-bit machines. Fixed pointer type and simplified global data structure to contain only one dynamically sized array (openssl locks). Session array was already fixed size but was not def

[lng-odp] [PATCH v1 1/1] linux-gen: crypto: fix openssl_lock pointer type

2017-11-03 Thread Github ODP bot
From: Petri Savolainen Wrong pointer type (pointer to pointer) to openssl_lock array caused data overlapping when running on other than 64-bit machines. Fixed pointer type and simplified global data structure to contain only one dynamically sized array (openssl locks). Session array was already

[lng-odp] [PATCH API-NEXT v1 0/3] api: packet parse functions

2017-11-03 Thread Github ODP bot
Application may need help on inner packet parsing e.g. after decrypt or IP reassembly of a packet. Application specifies from where to start and where to stop parsing. Implementation may be vectorized (more efficient) when multiple packets are parsed together with the same parse requirements.

[lng-odp] [PATCH API-NEXT v1 1/3] api: packet: add parse functions

2017-11-03 Thread Github ODP bot
From: Petri Savolainen Application may need help on packet parsing e.g. after decrypt or IP reassembly of a packet. Application specifies from where to start and where to stop parsing. Implementation may be vectorized (more efficient) when multiple packets are parsed together with the same parse

[lng-odp] [PATCH API-NEXT v1 3/3] api: ipsec: use common protocol layer enum

2017-11-03 Thread Github ODP bot
From: Petri Savolainen Use common values between ipsec parse and packet protocol layer enums. Signed-off-by: Petri Savolainen --- /** Email created from pull request 273 (psavol:next-packet-parse) ** https://github.com/Linaro/odp/pull/273 ** Patch: https://github.com/Linaro/odp/pull/273.patch

[lng-odp] [PATCH API-NEXT v1 2/3] api: pktio: use common protocol layer enum

2017-11-03 Thread Github ODP bot
From: Petri Savolainen Use common values between pktio parser layer and packet protocol layer enums. Signed-off-by: Petri Savolainen --- /** Email created from pull request 273 (psavol:next-packet-parse) ** https://github.com/Linaro/odp/pull/273 ** Patch: https://github.com/Linaro/odp/pull/27

Re: [lng-odp] [PATCH API-NEXT v2] AES-CTR support

2017-11-03 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: include/odp/api/spec/crypto.h line 8 @@ -90,7 +90,10 @@ typedef enum { ODP_DEPRECATE(ODP_CIPHER_ALG_AES128_CBC), /** @deprecated Use ODP_CIPHER_ALG_AES_GCM instead */ - ODP_DEPRECATE(ODP_CIPHER_ALG_AES128_GCM) +

Re: [lng-odp] [PATCH API-NEXT v2] AES-CTR support

2017-11-03 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/crypto.h line 8 @@ -90,7 +90,10 @@ typedef enum { ODP_DEPRECATE(ODP_CIPHER_ALG_AES128_CBC), /** @deprecated Use ODP_CIPHER_ALG_AES_GCM instead */ - ODP_DEPRECATE(ODP_CIPHER_ALG_AES128_GCM) + OD

Re: [lng-odp] [PATCH API-NEXT v2] AES-CTR support

2017-11-03 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/crypto.h line 18 @@ -169,6 +172,9 @@ typedef union odp_crypto_cipher_algos_t { /** @deprecated Use aes_gcm instead */ uint32_t ODP_DEPRECATE(aes128_gcm) : 1; + /** ODP_CIPHER_

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

2017-11-03 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/packet.h line 76 @@ -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', wh

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

2017-11-03 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/packet.h line 96 @@ -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', wh

[lng-odp] OOO on Monday and Tuesday

2017-11-03 Thread Maxim Uvarov
Monday is official holiday in Russia. On Tuesday I will be on HighLoad conference. Will take laptop and will respond on emails. Depends on schedule may appear on ODP public call. Best regards, Maxim.