[lng-odp] [PATCHv6 0/3] ODP Crypto API

2014-08-12 Thread Robbie King
in odp_crypto.h Robbie King (3): Add crypto library to dependencies and configure script Add ODP crypto API file Add linux-generic crypto implementation DEPENDENCIES | 60 +++ configure.ac | 17 + include/odp_crypto.h

[lng-odp] [PATCH 00/13] IPsec example application

2014-08-21 Thread Robbie King
packets) to allow packet processing code to verify ETH packets regardless of source (interface versus loop) - Requires a per packet user context (part of patch) - Update .gitignore to exclude ID file Robbie King (13): Add user context to packet Add helper include file with IPSec

[lng-odp] [PATCH 04/13] Add IPsec example app to build environment

2014-08-21 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- .gitignore|2 ++ configure.ac |1 + example/Makefile.am |2 +- example/ipsec/Makefile.am | 12 4 files changed, 16 insertions(+), 1 deletions(-) create mode 100644 example/ipsec

[lng-odp] [PATCH 10/13] IPsec example SP DB

2014-08-21 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec/odp_ipsec_sp_db.c | 124 +++ example/ipsec/odp_ipsec_sp_db.h | 71 ++ 2 files changed, 195 insertions(+), 0 deletions(-) create mode 100644 example/ipsec/odp_ipsec_sp_db.c

[lng-odp] [PATCH 01/13] Add user context to packet

2014-08-21 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- include/odp_packet.h | 18 ++ .../linux-generic/include/odp_packet_internal.h|2 ++ platform/linux-generic/odp_packet.c| 10 ++ 3 files changed, 30 insertions(+), 0

[lng-odp] [PATCH 06/13] IPsec example app support routines

2014-08-21 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec/odp_ipsec_misc.h | 321 1 files changed, 321 insertions(+), 0 deletions(-) create mode 100644 example/ipsec/odp_ipsec_misc.h diff --git a/example/ipsec/odp_ipsec_misc.h b/example/ipsec

[lng-odp] [PATCHv2 0/4] IPsec example application

2014-08-21 Thread Robbie King
versus using odp_schedule - Compress all of application source and make into one patch - Fix whitespace errors exposed when applying patches Robbie King (4): Add user context to packet Add helper include file with IPSec headers Add ability to set packet flags Add IPsec example app

[lng-odp] [PATCHv2 1/4] Add user context to packet

2014-08-21 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- include/odp_packet.h | 18 ++ .../linux-generic/include/odp_packet_internal.h|2 ++ platform/linux-generic/odp_packet.c| 10 ++ 3 files changed, 30 insertions(+), 0

[lng-odp] [PATCHv2 2/4] Add helper include file with IPSec headers

2014-08-21 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- include/helper/odp_ipsec.h | 73 1 files changed, 73 insertions(+), 0 deletions(-) create mode 100644 include/helper/odp_ipsec.h diff --git a/include/helper/odp_ipsec.h b/include/helper/odp_ipsec.h

[lng-odp] [PATCHv2 4/4] Add IPsec example app to build environment

2014-08-21 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- .gitignore|2 + configure.ac |1 + example/Makefile.am |2 +- example/ipsec/Makefile.am | 12 + example/ipsec/README | 164 example/ipsec

[lng-odp] [PATCHv2 3/4] Add ability to set packet flags

2014-08-21 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- include/odp_packet_flags.h| 136 + platform/linux-generic/odp_packet_flags.c | 87 ++ 2 files changed, 223 insertions(+), 0 deletions(-) diff --git a/include/odp_packet_flags.h b

[lng-odp] [PATCHv3 0/4] IPsec example application

2014-08-25 Thread Robbie King
- Fix type of odp_queue_t to be correct in polling workaround Robbie King (4): Add user context to packet Add helper include file with IPSec headers Add ability to set packet flags Add IPsec example app to build environment .gitignore |2

[lng-odp] [PATCHv3 1/4] Add user context to packet

2014-08-25 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/api/odp_packet.h| 18 ++ .../linux-generic/include/odp_packet_internal.h|2 ++ platform/linux-generic/odp_packet.c| 10 ++ 3 files changed, 30 insertions(+), 0

[lng-odp] [PATCHv3 3/4] Add ability to set packet flags

2014-08-25 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- .../linux-generic/include/api/odp_packet_flags.h | 136 platform/linux-generic/odp_packet_flags.c | 87 + 2 files changed, 223 insertions(+), 0 deletions(-) diff --git a/platform/linux-generic/include

[lng-odp] [PATCHv3 2/4] Add helper include file with IPSec headers

2014-08-25 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- include/helper/odp_ipsec.h | 73 1 files changed, 73 insertions(+), 0 deletions(-) create mode 100644 include/helper/odp_ipsec.h diff --git a/include/helper/odp_ipsec.h b/include/helper/odp_ipsec.h

[lng-odp] [PATCHv3 4/4] Add IPsec example app to build environment

2014-08-25 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- .gitignore|2 + configure.ac |1 + example/Makefile.am |2 +- example/ipsec/Makefile.am | 12 + example/ipsec/README | 164 example/ipsec

[lng-odp] [PATCHv4 1/4] Add user context to packet

2014-08-27 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/api/odp_packet.h| 18 ++ .../linux-generic/include/odp_packet_internal.h|2 ++ platform/linux-generic/odp_packet.c| 10 ++ 3 files changed, 30 insertions(+), 0

[lng-odp] [PATCHv4 2/4] Add helper include file with IPSec headers

2014-08-27 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- include/helper/odp_ipsec.h | 73 1 files changed, 73 insertions(+), 0 deletions(-) create mode 100644 include/helper/odp_ipsec.h diff --git a/include/helper/odp_ipsec.h b/include/helper/odp_ipsec.h

[lng-odp] [PATCHv4 0/4] IPsec example application

2014-08-27 Thread Robbie King
- Fix type of odp_queue_t to be correct in polling workaround V4: Incorporate Anders' lastest feedback - Fixed memory leak in command line parsing routines - Added copyright to README in example/ipsec Robbie King (4): Add user context to packet Add helper include file with IPSec headers

[lng-odp] [PATCHv6 1/4] Add user context to packet

2014-09-05 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/api/odp_packet.h| 18 ++ .../linux-generic/include/odp_packet_internal.h|2 ++ platform/linux-generic/odp_packet.c| 10 ++ 3 files changed, 30 insertions(+), 0

[lng-odp] [PATCHv6 3/4] Add ability to set packet flags

2014-09-05 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- .../linux-generic/include/api/odp_packet_flags.h | 136 platform/linux-generic/odp_packet_flags.c | 87 + 2 files changed, 223 insertions(+), 0 deletions(-) diff --git a/platform/linux-generic/include

[lng-odp] [PATCHv6 2/4] Add helper include file with IPSec headers

2014-09-05 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- helper/include/odph_ipsec.h | 73 +++ 1 files changed, 73 insertions(+), 0 deletions(-) create mode 100644 helper/include/odph_ipsec.h diff --git a/helper/include/odph_ipsec.h b/helper/include

[lng-odp] [PATCHv7 0/4] IPsec example application

2014-09-09 Thread Robbie King
V7: Incorporate Ander's latest feedback - Place ipsec in alphabetical order in configure.ac - Place ipsec in alphabetical order in example/Makefile.am Robbie King (4): Add user context to packet Add helper include file with IPSec headers Add ability to set packet flags Add IPsec example

[lng-odp] [PATCHv7 3/4] Add ability to set packet flags

2014-09-09 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- .../linux-generic/include/api/odp_packet_flags.h | 136 platform/linux-generic/odp_packet_flags.c | 87 + 2 files changed, 223 insertions(+), 0 deletions(-) diff --git a/platform/linux-generic/include

[lng-odp] [PATCHv7 2/4] Add helper include file with IPSec headers

2014-09-09 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- helper/include/odph_ipsec.h | 73 +++ 1 files changed, 73 insertions(+), 0 deletions(-) create mode 100644 helper/include/odph_ipsec.h diff --git a/helper/include/odph_ipsec.h b/helper/include

[lng-odp] [RFC v1 1/3] Add completion event updates to odp_crypto.h

2014-12-09 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/api/odp_crypto.h | 56 ++--- 1 file changed, 42 insertions(+), 14 deletions(-) diff --git a/platform/linux-generic/include/api/odp_crypto.h b/platform/linux-generic/include/api/odp_crypto.h index

[lng-odp] [RFC v1 0/3] Proposed crypto completion event implementation

2014-12-09 Thread Robbie King
functions from there on out. Subsequent version of patch will (hopefully) demonstrate how a synchronous only implementation can be achieved relatively effeciently using the same API. Robbie King (3): Add completion event updates to odp_crypto.h Add completion event updates

[lng-odp] [RFC v1 2/3] Add completion event updates to implementation

2014-12-09 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- .../linux-generic/include/odp_crypto_internal.h| 1 + platform/linux-generic/odp_crypto.c| 60 +++--- 2 files changed, 43 insertions(+), 18 deletions(-) diff --git a/platform/linux-generic/include

[lng-odp] [RFC v1 3/3] Update IPsec example app to use new completion event constructs

2014-12-09 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec/odp_ipsec.c | 68 --- 1 file changed, 46 insertions(+), 22 deletions(-) diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index 76d27c5..e28618b 100644 --- a/example/ipsec

[lng-odp] [RFC v2 2/3] Add completion event updates to implementation

2014-12-10 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- .../linux-generic/include/odp_crypto_internal.h| 2 + platform/linux-generic/odp_crypto.c| 98 ++ 2 files changed, 83 insertions(+), 17 deletions(-) diff --git a/platform/linux-generic/include

[lng-odp] [RFC v4 1/3] Add completion event updates to odp_crypto.h

2014-12-16 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/api/odp_crypto.h | 93 + 1 file changed, 47 insertions(+), 46 deletions(-) diff --git a/platform/linux-generic/include/api/odp_crypto.h b/platform/linux-generic/include/api/odp_crypto.h index

[lng-odp] [RFC v4 0/3] Proposed crypto completion event implementation

2014-12-16 Thread Robbie King
results to caller for synchronous calls. Patch creates a 'result' structure that is used to convey crypto operation results, and it does away with accessor functions. Robbie King (3): Add completion event updates to odp_crypto.h Add completion event updates to implementation Update

[lng-odp] [RFC v4 2/3] Add completion event updates to implementation

2014-12-16 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- .../linux-generic/include/odp_crypto_internal.h| 4 +- platform/linux-generic/odp_crypto.c| 75 +++--- 2 files changed, 39 insertions(+), 40 deletions(-) diff --git a/platform/linux-generic/include

[lng-odp] [RFC v4 3/3] Update IPsec example app to use new completion event constructs

2014-12-16 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec/odp_ipsec.c | 68 +++ 1 file changed, 39 insertions(+), 29 deletions(-) diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index 538f8dc..b6f4bc5 100644 --- a/example/ipsec

[lng-odp] [PATCHv1 1/3] api: crypto: new completion event scheme

2015-01-15 Thread Robbie King
Crypto completion event is now sole responsibility of the implementation when API is operating asynchrnously. Synchronous mode can now return results directly without involving completion event at all. Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec/odp_ipsec.c

[lng-odp] [PATCHv1 3/3] example: ipsec: move L2/3/4 offset set

2015-01-15 Thread Robbie King
Packet offset set routines now verify that offset is not beyond packet length. IPSec example was attempting to set offsets before setting length to total packet length, causing a seg fault when code later tries to use L3 offset. Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec

[lng-odp] [PATCHv1 0/3] api: crypto: ODP 1.0 API update

2015-01-15 Thread Robbie King
v1 - Move completion event allocation into implementation, allow synchronous implementation to return status immediately (i.e. no completion event involved). Fix two crypto related issues found during debug. Robbie King (3): api: crypto: new completion event scheme api: packet

[lng-odp] [PATCHv2 1/3] api: crypto: new completion event scheme

2015-01-27 Thread Robbie King
Crypto completion event is now sole responsibility of the implementation when API is operating asynchrnously. Synchronous mode can now return results directly without involving completion event at all. Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec/odp_ipsec.c

[lng-odp] [PATCHv2 0/3] api: crypto: ODP 1.0 API update

2015-01-27 Thread Robbie King
v1 - Move completion event allocation into implementation, allow synchronous implementation to return status immediately (i.e. no completion event involved). Fix two crypto related issues found during debug. v2 - Merged with odp_event_t changes. Robbie King (3): api: crypto: new

[lng-odp] [PATCHv2 3/3] example: ipsec: move L2/3/4 offset set

2015-01-27 Thread Robbie King
Packet offset set routines now verify that offset is not beyond packet length. IPSec example was attempting to set offsets before setting length to total packet length, causing a seg fault when code later tries to use L3 offset. Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec

[lng-odp] [PATCHv2 2/3] api: packet: add API to copy metadata

2015-01-27 Thread Robbie King
Add internal API to allow implementation to copy packet metatdata when replicating a packet. Add the call to crypto to fix test failure. Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_packet_internal.h | 2 ++ platform/linux-generic/odp_crypto.c

[lng-odp] [PATCHv3 3/4] example: ipsec: move L2/3/4 offset set

2015-01-28 Thread Robbie King
Packet offset set routines now verify that offset is not beyond packet length. IPSec example was attempting to set offsets before setting length to total packet length, causing a seg fault when code later tries to use L3 offset. Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec

[lng-odp] [PATCHv3 2/4] api: packet: add API to copy metadata

2015-01-28 Thread Robbie King
Add internal API to allow implementation to copy packet metatdata when replicating a packet. Add the call to crypto to fix test failure. Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_packet_internal.h | 2 ++ platform/linux-generic/odp_crypto.c

[lng-odp] [PATCHv3 0/4] api: crypto: ODP 1.0 API update

2015-01-28 Thread Robbie King
throughout crypto API, examples and tests. Robbie King (4): api: crypto: new completion event scheme api: packet: add API to copy metadata example: ipsec: move L2/3/4 offset set api: crypto: change bool to odp_bool_t example/ipsec/odp_ipsec.c | 92

[lng-odp] [PATCHv3 4/4] api: crypto: change bool to odp_bool_t

2015-01-28 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec/odp_ipsec.c| 12 ++-- example/ipsec/odp_ipsec_cache.c | 2 +- example/ipsec/odp_ipsec_cache.h | 4 ++-- example/ipsec/odp_ipsec_misc.h

[lng-odp] [PATCHv4 5/5] example: ipsec: use event type at dequeue

2015-01-28 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- example/ipsec/odp_ipsec.c| 15 +-- platform/linux-generic/include/odp_buffer_internal.h | 8 platform/linux-generic/odp_buffer.c | 7 +++ platform/linux-generic/odp_crypto.c

[lng-odp] [PATCHv4 2/5] api: packet: add API to copy metadata

2015-01-28 Thread Robbie King
Add internal API to allow implementation to copy packet metatdata when replicating a packet. Add the call to crypto to fix test failure. Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_packet_internal.h | 2 ++ platform/linux-generic/odp_crypto.c

[lng-odp] [PATCHv4 0/5] api: crypto: ODP 1.0 API update

2015-01-28 Thread Robbie King
throughout crypto API, examples and tests. v4 - Incorporate Petri's naming comments and fully implement events within crypto. Modified the IPSec example to use event type for steering dequeued work. Robbie King (5): api: crypto: new completion event scheme api: packet: add API

[lng-odp] [RFCv1 1/2] Convert linux thread/proc helpers to use core mask

2015-01-10 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- helper/include/odph_linux.h | 34 +++-- platform/linux-generic/include/api/odp_coremask.h | 128 -- platform/linux-generic/odp_coremask.c | 157 +++--- platform/linux-generic

[lng-odp] [PATCHv2 2/2] Update tests/examples to use coremasks

2015-01-12 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- example/generator/odp_generator.c | 48 +-- example/ipsec/odp_ipsec.c | 30 +-- example/l2fwd/odp_l2fwd.c | 43 ++- example/packet

[lng-odp] [PATCHv1 1/2] Convert linux thread/proc helpers to use core mask

2015-01-12 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- helper/include/odph_linux.h | 28 ++-- platform/linux-generic/Makefile.am| 4 +- platform/linux-generic/include/api/odp.h | 2 +- platform/linux-generic/include/api/odp_coremask.h | 186

[lng-odp] [PATCHv1 0/2] Convert linux thread/proc helpers to use CPU mask

2015-01-12 Thread Robbie King
. Changed parameter ordering to be consistent with other ODP APIs. Updated the examples/tests to use the modified APIs. Robbie King (2): Convert linux thread/proc helpers to use core mask Update tests/examples to use coremasks example/generator/odp_generator.c | 48

[lng-odp] [PATCHv3 03/10] linux-generic: packet_io: add term_global

2015-02-23 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Songming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c

[lng-odp] [PATCHv3 07/10] linux-generic: thread: add term_global

2015-02-23 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Songming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c

[lng-odp] [PATCHv3 09/10] linux-generic: schedule: add term_local

2015-02-23 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Sonming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c | 19

[lng-odp] [PATCHv3 01/10] linux-generic: classification: add term_global

2015-02-23 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Sonming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_classification.c | 26

[lng-odp] [PATCHv3 00/10] add global and local termination

2015-02-23 Thread Robbie King
v3: Termination routines now continue despite failures. Also added some debugging code to aid in root causing scheduler termination issues. v2: Addresses the only comment to replace static const char shm_name[] with const char SHM_DEFAULT_NAME[] Yan Sonming (10): linux-generic:

[lng-odp] [PATCHv3 04/10] linux-generic: schedule: add term_global

2015-02-23 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Sonming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c | 5

[lng-odp] [PATCHv3 10/10] linux-generic: buffer pool: add term_local

2015-02-23 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Sonming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c | 5

[lng-odp] [PATCHv3 02/10] linux-generic: odp_crypto: add term_global

2015-02-23 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Sonming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_crypto.c | 11

[lng-odp] [PATCHv3 08/10] linux-generic: shm: add term_global

2015-02-23 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Songming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c | 5

[lng-odp] [PATCHv3 05/10] linux-generic: queue: add term_global

2015-02-23 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Songming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c

[lng-odp] [PATCHv3 06/10] linux-generic: buffer_pool: add term_global

2015-02-23 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Songming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c

[lng-odp] [PATCHv1 2/4] linux-generic: odp_crypto: add all sessions free term check

2015-02-25 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/odp_crypto.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index 8acd470..c3d1d91 100644 --- a/platform

[lng-odp] [PATCHv1 3/4] linux-generic: odp_crypto: add session_destory implementation

2015-02-25 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/odp_crypto.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index c3d1d91..0c38263 100644 --- a/platform/linux-generic

[lng-odp] [PATCHv1 4/4] validation: crypto: verify session_destroy

2015-02-25 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- test/validation/crypto/odp_crypto_test_async_inp.c | 3 +++ test/validation/crypto/odp_crypto_test_sync_inp.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/test/validation/crypto/odp_crypto_test_async_inp.c b/test/validation/crypto

[lng-odp] [PATCHv1 1/4] linux-generic: odp_crypto: change session allocation to free list

2015-02-25 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- .../linux-generic/include/odp_crypto_internal.h| 2 +- platform/linux-generic/odp_crypto.c| 33 +- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/platform/linux-generic/include

[lng-odp] [PATCHv4 04/10] linux-generic: schedule: add term_global

2015-02-24 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Sonming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c | 5

[lng-odp] [PATCHv4 02/10] linux-generic: odp_crypto: add term_global

2015-02-24 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Sonming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_crypto.c | 11

[lng-odp] [PATCHv4 08/10] linux-generic: shm: add term_global

2015-02-24 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Songming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c

[lng-odp] [PATCHv4 05/10] linux-generic: queue: add term_global

2015-02-24 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Songming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c

[lng-odp] [PATCHv4 01/10] linux-generic: classification: add term_global

2015-02-24 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Sonming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_classification.c | 26

[lng-odp] [PATCHv4 00/10] add global and local termination

2015-02-24 Thread Robbie King
v4: Incorporated cleanup feedback from Maxim. v3: Termination routines now continue despite failures. Also added some debugging code to aid in root causing scheduler termination issues. v2: Addresses the only comment to replace static const char shm_name[] with const char SHM_DEFAULT_NAME[]

[lng-odp] [PATCHv4 10/10] linux-generic: buffer pool: add term_local

2015-02-24 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Sonming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c | 5

[lng-odp] [PATCHv4 09/10] linux-generic: schedule: add term_local

2015-02-24 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Sonming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c | 19

[lng-odp] [PATCHv4 06/10] linux-generic: buffer_pool: add term_global

2015-02-24 Thread Robbie King
From: Yan Sonming yan.songm...@linaro.org Signed-off-by: Yan Songming yan.songm...@linaro.org Signed-off-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Robbie King robk...@cisco.com --- platform/linux-generic/include/odp_internal.h | 1 + platform/linux-generic/odp_init.c

[lng-odp] [PATCHv1 2/3] validation: crypto: add common test cleanup

2015-02-24 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- test/validation/odp_crypto.c | 32 1 file changed, 32 insertions(+) diff --git a/test/validation/odp_crypto.c b/test/validation/odp_crypto.c index b109a75..6efe0d6 100644 --- a/test/validation/odp_crypto.c +++ b

[lng-odp] [PATCHv1 3/3] validation: crypto: add packet free to sync test

2015-02-24 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- test/validation/crypto/odp_crypto_test_sync_inp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/validation/crypto/odp_crypto_test_sync_inp.c b/test/validation/crypto/odp_crypto_test_sync_inp.c index b8c067d..da42e3f 100644 --- a/test

[lng-odp] [PATCHv1 0/3] validation: crypto: cleanup termination

2015-02-24 Thread Robbie King
v1 - Adds infrastructure to cunit common to allow for test cleanup, add crypto implementation and fix missing packet free in sync API tests. Patch does not require the term patch to build/run but does require it to demonstrate clean run of crypto validation test. Robbie King

[lng-odp] [PATCHv1 1/3] validation: common: add support for test term

2015-02-24 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- test/validation/common/odp_cunit_common.c | 9 + test/validation/common/odp_cunit_common.h | 2 ++ 2 files changed, 11 insertions(+) diff --git a/test/validation/common/odp_cunit_common.c b/test/validation/common/odp_cunit_common.c index

[lng-odp] [PATCHv2 1/3] validation: common: add support for test term

2015-02-26 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- test/validation/common/odp_cunit_common.c | 9 + test/validation/common/odp_cunit_common.h | 2 ++ 2 files changed, 11 insertions(+) diff --git a/test/validation/common/odp_cunit_common.c b/test/validation/common/odp_cunit_common.c index

[lng-odp] [PATCHv2 3/3] validation: crypto: add packet free to sync test

2015-02-26 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- test/validation/crypto/odp_crypto_test_sync_inp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/validation/crypto/odp_crypto_test_sync_inp.c b/test/validation/crypto/odp_crypto_test_sync_inp.c index d2cb3be..477ae54 100644 --- a/test

[lng-odp] [PATCHv2 0/3] validation: crypto: cleanup termination

2015-02-26 Thread Robbie King
tests. Patch does not require the term patch to build/run but does require it to demonstrate clean run of crypto validation test. Robbie King (3): validation: common: add support for test term validation: crypto: add common test cleanup validation: crypto: add packet free to sync

[lng-odp] [PATCHv2 2/3] validation: crypto: add common test cleanup

2015-02-26 Thread Robbie King
Signed-off-by: Robbie King robk...@cisco.com --- test/validation/odp_crypto.c | 24 1 file changed, 24 insertions(+) diff --git a/test/validation/odp_crypto.c b/test/validation/odp_crypto.c index fbe5dbb..48c7c09 100644 --- a/test/validation/odp_crypto.c +++ b/test

Re: [lng-odp] [PATCH] Add 64 bit context to packet

2014-08-19 Thread Robbie King (robking)
...@linaro.org] Sent: Tuesday, August 19, 2014 9:47 AM To: Robbie King (robking) Cc: Bill Fischofer; lng-odp-forward Subject: Re: [lng-odp] [PATCH] Add 64 bit context to packet Better use a pointer than a 64 bit integer. On a 32 bit system, someone may use this to store both a pointer and a 32-bit

Re: [lng-odp] [PATCH v4 1/1] API support for querying mac address

2014-08-20 Thread Robbie King (robking)
Hi Bala, I patched this in and was able to query mac address using odp_pktio_t handle. Thanks! -Original Message- From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Balasubramanian Manoharan Sent: Wednesday, August 20, 2014 10:08 AM To:

Re: [lng-odp] [PATCHv2 0/2] Add infrastructure required by IPSec example

2014-08-21 Thread Robbie King (robking)
Please ignore this one, I will put these out as part of the IPsec example application patch. -Original Message- From: Robbie King (robking) Sent: Tuesday, August 19, 2014 10:31 AM To: lng-odp@lists.linaro.org Cc: Robbie King (robking) Subject: [PATCHv2 0/2] Add infrastructure required

Re: [lng-odp] [PATCH 00/13] IPsec example application

2014-08-21 Thread Robbie King (robking)
will add the scheduling logic back and merge the patches, then resend later today. -Original Message- From: Taras Kondratiuk [mailto:taras.kondrat...@linaro.org] Sent: Thursday, August 21, 2014 11:20 AM To: Robbie King (robking); lng-odp@lists.linaro.org Subject: Re: [lng-odp] [PATCH 00/13

[lng-odp] Any restrictions on when odp_pktio_open can be called?

2014-08-24 Thread Robbie King (robking)
Hi Petri, my apologies if you’re not the right person for my question. I’m working on the Cisco DP port to ODP, and I’ve hit a problem that I’m trying to root cause. I am calling “odp_pktio_open” after worker threads have started calling odp_schedule, but I’m not seeing any work from the input

Re: [lng-odp] Any restrictions on when odp_pktio_open can be called?

2014-08-24 Thread Robbie King (robking)
Never mind. ;-) Bug in my code, now just have to back out 37 printfs. Really need to start using “git branch” when going down these rat holes… From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Robbie King (robking) Sent: Sunday, August 24, 2014 3:03

Re: [lng-odp] Clarification of ICV handling in linux-generic crypto...

2014-08-25 Thread Robbie King (robking)
Badicioiu [mailto:alexandru.badici...@linaro.org] Sent: Monday, August 25, 2014 10:38 AM To: Robbie King (robking) Cc: Taras Kondratiuk; lng-odp-forward (lng-odp@lists.linaro.org); Bala Manoharan Subject: Re: Clarification of ICV handling in linux-generic crypto... Hi Robbie, if I understand correctly

Re: [lng-odp] [PATCHv3 2/4] Add helper include file with IPSec headers

2014-08-27 Thread Robbie King (robking)
Haslam [mailto:stuart.has...@arm.com] Sent: Wednesday, August 27, 2014 8:37 AM To: Savolainen, Petri (NSN - FI/Espoo) Cc: Robbie King (robking); Victor Kamensky; lng-odp@lists.linaro.org Subject: Re: [lng-odp] [PATCHv3 2/4] Add helper include file with IPSec headers On Wed, Aug 27, 2014 at 01:10:13PM

Re: [lng-odp] [PATCH v4 1/1] API support for querying mac address

2014-09-03 Thread Robbie King (robking)
Anders has requested that I put a bugID in my patches for IPsec example application where I have a #define to work around the fact this patch isn't in yet. Does such a bugID already exist, or is there a chance this patch will be accepted soon? I would really like to get the IPsec app patches in

Re: [lng-odp] [PATCHv3 0/4] IPsec example application

2014-09-03 Thread Robbie King (robking)
Taras, do you have a bug ID for the IPSEC_POLL_QUEUES workaround? Anders has requested that be included in my IPsec application patch. -Original Message- From: Taras Kondratiuk [mailto:taras.kondrat...@linaro.org] Sent: Tuesday, August 26, 2014 10:42 AM To: Robbie King (robking); lng-odp

Re: [lng-odp] [PATCHv3 0/4] IPsec example application

2014-09-04 Thread Robbie King (robking)
apologies if these details are already spelled out somewhere. Thanks, Robbie -Original Message- From: Anders Roxell [mailto:anders.rox...@linaro.org] Sent: Thursday, September 04, 2014 8:25 AM To: Taras Kondratiuk Cc: Robbie King (robking); lng-odp@lists.linaro.org; Mike Holmes (Google Drive

Re: [lng-odp] [PATCHv5 4/4] Add IPsec example app to build environment

2014-09-04 Thread Robbie King (robking)
Thanks Anders, sorry just getting to this. Please see [rk] inline, need to get clarification on a couple things. -Original Message- From: Anders Roxell [mailto:anders.rox...@linaro.org] Sent: Friday, August 29, 2014 11:02 AM To: Robbie King (robking) Cc: lng-odp@lists.linaro.org Subject

Re: [lng-odp] [PATCHv7 0/4] IPsec example application

2014-09-12 Thread Robbie King (robking)
and everybody! Maxim. On 09/09/2014 05:49 PM, Robbie King wrote: Hello all, Here is the refactored IPsec example application. V1: Changes from the existing github version are: - Split into multiple source/header files - Support for querying MAC address via pktio handle - Removed

[lng-odp] LCU14:ODP discussions after lunch today?

2014-09-15 Thread Robbie King (robking)
Thought I remembered discussions about afternoon sessions. Thanks, Robbie ___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp

Re: [lng-odp] LCU14:ODP discussions after lunch today?

2014-09-15 Thread Robbie King (robking)
Got it, thanks. Copying Blake as well. From: Marshall Guillory marshall.guill...@linaro.org Sent: Sep 15, 2014 11:11 AM To: Robbie King (robking) Cc: lng-odp@lists.linaro.org Subject: Re: [lng-odp] LCU14:ODP discussions after lunch today? ODP Project UPdate from Bill is at 1210pm in Grand

Re: [lng-odp] crypto session/operation symmetry testing

2014-10-09 Thread Robbie King (robking)
...@linaro.org] Sent: Wednesday, August 20, 2014 10:51 AM To: Robbie King (robking) Cc: Taras Kondratiuk; lng-odp-forward (lng-odp@lists.linaro.org); Bala Manoharan Subject: Re: Clarification of ICV handling in linux-generic crypto... Hi Robbie, I noticed myself that the application takes care

  1   2   >