Re: [lng-odp] odp_hash_crc32() vs python zlib crc32

2018-08-20 Thread Daniel Feferman
Hi Petri, Thanks for the feedback. Yes, trying "123456789" I'm able to check the result 0xcbf43926, but the result of crc32 on ODP is a decimal and seems to be a positive number, always, am I wrong? Best, Daniel On Mon, Aug 20, 2018 at 4:42 AM Savolainen, Petri (Nokia - FI/Espoo) <

[lng-odp] [Linaro/odp] 620565: api: queue: split queue spec header file

2018-08-20 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 6205659639b7efac4c84cea6abfaac62e2745eb1 https://github.com/Linaro/odp/commit/6205659639b7efac4c84cea6abfaac62e2745eb1 Author: Petri Savolainen Date: 2018-08-20 (Mon, 20 Aug 2018) Changed paths: M

[lng-odp] [Linaro/odp] a71de6: api: pktio: extend odp_pktin_queue_param_t to supp...

2018-08-20 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: a71de69dd1f1defbdc5dc42edb1c8947d82e60fc https://github.com/Linaro/odp/commit/a71de69dd1f1defbdc5dc42edb1c8947d82e60fc Author: Bogdan Pricope Date: 2018-08-20 (Mon, 20 Aug 2018) Changed paths: M

[lng-odp] [Linaro/odp] 8de2b3: linux-gen: odp_tm_queue_destroy should not take ca...

2018-08-20 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 8de2b39a6498fb52d838fd6eaefc1af9e044d718 https://github.com/Linaro/odp/commit/8de2b39a6498fb52d838fd6eaefc1af9e044d718 Author: Maxim Uvarov Date: 2018-08-20 (Mon, 20 Aug 2018) Changed paths: M

[lng-odp] [Bug 3958] Maximum number of scheduling groups is restricting and unintuitively retrieved

2018-08-20 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3958 Bill Fischofer changed: What|Removed |Added Assignee|bogdan.pric...@linaro.org |bala.manoha...@linaro.org -- You are

[lng-odp] [Linaro/odp] 5b9754: api: packet: add parse result call

2018-08-20 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 5b97541db91dbb5beffdfe0d64272206a1507e0b https://github.com/Linaro/odp/commit/5b97541db91dbb5beffdfe0d64272206a1507e0b Author: Petri Savolainen Date: 2018-08-20 (Mon, 20 Aug 2018) Changed paths: M

[lng-odp] [PATCH v3 11/11] validation: pktio: add SCTP checksum tests

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add tests validating SCTP checksumming on pkt out and checksum verification on pkt in. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch:

[lng-odp] [PATCH v3 9/11] linux-gen: pktio: loop: handle SCTP checksums

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add code to emulate hardware SCTP checksumming support over loop device (as it is done for IPv4/TCP/UDP). Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch:

[lng-odp] [PATCH v3 6/11] linux-gen: add SCTP protocol header

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch: https://github.com/Linaro/odp/pull/674.patch ** Base sha: dc28824415ea510e3ef62e47f7640bf4a8420fde **

[lng-odp] [PATCH v3 10/11] linux-gen: ipsec: insert checksum into SCTP packets if required

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch: https://github.com/Linaro/odp/pull/674.patch ** Base sha: dc28824415ea510e3ef62e47f7640bf4a8420fde **

[lng-odp] [PATCH v3 8/11] linux-gen: packet: support SCTP packet insertion

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add support for insertion of checksum into SCTP packets. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch: https://github.com/Linaro/odp/pull/674.patch **

[lng-odp] [PATCH v3 7/11] linux-gen: packet: parse SCTP packets and verify checksum

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Verify SCTP packet checksums. Use CRC32-c as requied by RFC3309 instead of original Adler-32. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch:

[lng-odp] [PATCH v3 3/11] validation: pktio: parser: add SCTP test

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add SCTP packet parsing test, checking that protocol is properly recognized. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch:

[lng-odp] [PATCH v3 5/11] helper: add SCTP handling functions

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add functions to set and verify SCTP packet checksum. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch: https://github.com/Linaro/odp/pull/674.patch **

[lng-odp] [PATCH v3 4/11] helper: add SCTP protocol header

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch: https://github.com/Linaro/odp/pull/674.patch ** Base sha: dc28824415ea510e3ef62e47f7640bf4a8420fde **

[lng-odp] [PATCH v3 2/11] validation: pktio: fix checks in pktio tests

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov - cleanly close PktI/O if packet creation has failed - verify UDP checksum in UDP checksum override test Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch:

[lng-odp] [PATCH v3 0/11] SCTP checksums support

2018-08-20 Thread Github ODP bot
Add support for setting and validating SCTP checksums. github /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch: https://github.com/Linaro/odp/pull/674.patch ** Base sha:

[lng-odp] [PATCH v3 1/11] validation: pktio: check sctp flag in parser tests

2018-08-20 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 674 (lumag:sctp-checksum) ** https://github.com/Linaro/odp/pull/674 ** Patch: https://github.com/Linaro/odp/pull/674.patch ** Base sha: dc28824415ea510e3ef62e47f7640bf4a8420fde **

[lng-odp] [PATCH v7 1/1] travis: add docker tests

2018-08-20 Thread Github ODP bot
From: Maxim Uvarov initial Travis docker runs Signed-off-by: Maxim Uvarov --- /** Email created from pull request 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch ** Base sha:

[lng-odp] [PATCH v7 0/1] travis: add docker tests

2018-08-20 Thread Github ODP bot
initial Travis docker runs Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org github /** Email created from pull request 647 (muvarov:master_docker2) ** https://github.com/Linaro/odp/pull/647 ** Patch: https://github.com/Linaro/odp/pull/647.patch **

[lng-odp] [PATCH API-NEXT v3 2/4] linux-gen: packet: implement packet result calls

2018-08-20 Thread Github ODP bot
From: Petri Savolainen Simple implementation of the new packet result calls. Especially, flag copy needs to be optimized by storing flag bits directly into API defined format (packet_parse_result_flag_t) in the packet header. Signed-off-by: Petri Savolainen --- /** Email created from pull

[lng-odp] [PATCH API-NEXT v3 4/4] validation: packet: add parse result test

2018-08-20 Thread Github ODP bot
From: Petri Savolainen Test new parse result functions. Signed-off-by: Petri Savolainen --- /** Email created from pull request 672 (psavol:next-packet-metadata) ** https://github.com/Linaro/odp/pull/672 ** Patch: https://github.com/Linaro/odp/pull/672.patch ** Base sha:

[lng-odp] [PATCH API-NEXT v3 0/4] Packet parse result API

2018-08-20 Thread Github ODP bot
Get most commonly used packet parse results with a single function call. May improve performance when multiple metadata fields are read, especially in ABI compat mode. github /** Email created from pull request 672 (psavol:next-packet-metadata) **

[lng-odp] [PATCH API-NEXT v3 3/4] validation: packet: add num_pkt parameter to parse_test_alloc

2018-08-20 Thread Github ODP bot
From: Petri Savolainen It's more robust to use a parameter instead of assuming that a fixed number of packets are allocated. Signed-off-by: Petri Savolainen --- /** Email created from pull request 672 (psavol:next-packet-metadata) ** https://github.com/Linaro/odp/pull/672 ** Patch:

[lng-odp] [PATCH API-NEXT v3 1/4] api: packet: add parse result call

2018-08-20 Thread Github ODP bot
From: Petri Savolainen This enables application to read all commonly used packet parser results with a single function call. This may improve performance when multiple results are needed, especially in ABI compatible builds where function inlining is likely disabled. Signed-off-by: Petri

[lng-odp] [PATCH API-NEXT v3 1/2] api: pktio: extend odp_pktin_queue_param_t to support per queue configuration

2018-08-20 Thread Github ODP bot
From: Bogdan Pricope Per queue configuration enables advanced usecases where input queues of the same interface may belong to different scheduler groups. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 660 (bogdanPricope:api_next_pktin_queue_pr) **

[lng-odp] [PATCH API-NEXT v3 2/2] linux-gen: pktio: implement per queue pktin configuration

2018-08-20 Thread Github ODP bot
From: Bogdan Pricope Enables advanced usecases where heterogeneous settings are needed on input queues of the same interface. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 660 (bogdanPricope:api_next_pktin_queue_pr) ** https://github.com/Linaro/odp/pull/660 ** Patch:

[lng-odp] [PATCH API-NEXT v3 0/2] api: pktio: extend odp_pktin_queue_param_t to support per queue configuration

2018-08-20 Thread Github ODP bot
Per queue configuration enables advanced usecases where input queues of the same interface may belong to different scheduler groups or have different multithread safe modes. github /** Email created from pull request 660

Re: [lng-odp] odp_hash_crc32() vs python zlib crc32

2018-08-20 Thread Savolainen, Petri (Nokia - FI/Espoo)
Hi, Did you give 0x as the init value for zlib call? CRC32 algorithm is defined with that as the init value. Also, you can check correct operation by trying to hash "123456789" (the common check string), which should result 0xcbf43926 as output for CRC32. See e.g.