Re: [lng-odp] IPsec API finialization

2017-09-07 Thread Nikhil Agarwal
On 7 September 2017 at 14:09, Peltonen, Janne (Nokia - FI/Espoo) < janne.pelto...@nokia.com> wrote: > Hi, > > Comments below: > > Bill Fischofer wrote: > > As discussed during today's ARCH call, we need to close on the > > remaining IPsec confusion surrounding the definition of > > odp_ipsec_sa_di

Re: [lng-odp] [API-NEXTv4 1/3] api: classification: add support for packet hashing in classification

2017-07-25 Thread Nikhil Agarwal
-Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Balasubramanian Manoharan Sent: Thursday, July 20, 2017 8:07 AM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXTv4 1/3] api: classification: add support for packet hashing in classification

Re: [lng-odp] [API-NEXT PATCH] api: ipsec: add warning status event

2017-07-17 Thread Nikhil Agarwal
Reviewed-by: Nikhil Agarwal -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Petri Savolainen Sent: Friday, July 14, 2017 6:14 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH] api: ipsec: add warning status event Add status ID

Re: [lng-odp] [API-NEXT PATCH v3 1/9] api: ipsec: add salt parameter

2017-07-13 Thread Nikhil Agarwal
For the series: Reviewed-by: Nikhil Agarwal -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Petri Savolainen Sent: Wednesday, July 12, 2017 7:25 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH v3 1/9] api: ipsec: add salt

Re: [lng-odp] [API-NEXT PATCH v3] api: pool: additional packet length configuration

2017-06-22 Thread Nikhil Agarwal
This concept for sub-pools within a pool is adding unnecessary complexity to pool configurations. What is the purpose of this? We don't support having multiple size buffers in same pool. In case application wants to attach multiple pools to same pktio, we can introduce an API to attach pool to p

Re: [lng-odp] [API-NEXT PATCH v3 0/3] IPSEC packet event

2017-06-21 Thread Nikhil Agarwal
For the series: Reviewed-by: Nikhil Agarwal -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bala Manoharan Sent: Wednesday, June 21, 2017 6:58 PM To: Petri Savolainen Cc: lng-odp-forward Subject: Re: [lng-odp] [API-NEXT PATCH v3 0/3] IPSEC

Re: [lng-odp] [API-NEXT PATCH v3 0/3] IPSEC packet event

2017-06-19 Thread Nikhil Agarwal
Some queries: - Now since IPSEC, and simple IPSEC packets are delivered through same ODP_EVENT_TYPE_PACKET, how does application knows whether L2_HEADER was valid?? Does application always have to check on subtype? - Also, do we need separate odp_ipsec_packet_to_event APIs(and vice versa) now?

Re: [lng-odp] Mem pool creation in Cavium/NXP implementations

2017-06-15 Thread Nikhil Agarwal
wrote: >> >>> >> >>> > A pool may be associated with a pktio at open time, but this >> >>> > association is not exclusive. In theory an ODP implementation could >> >>> > defer actual pool creation until it was first used, but

Re: [lng-odp] Mem pool creation in Cavium/NXP implementations

2017-06-15 Thread Nikhil Agarwal
Pool is created at odp_pool_create only. You can allocate packets form it even before pktio_open. Regards Nikhil -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Honnappa Nagarahalli Sent: Thursday, June 15, 2017 9:27 AM To: lng-odp-forward Subjec

Re: [lng-odp] [API-NEXT PATCH v2 2/2] api: ipsec: add max number of cos capability

2017-06-06 Thread Nikhil Agarwal
-Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Petri Savolainen Sent: Friday, June 02, 2017 3:08 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH v2 2/2] api: ipsec: add max number of cos capability Added capability for maximum

[lng-odp] [API-NEXT v3] API: IPSEC: Updating ipsec APIs to support sNIC implementation.

2017-04-28 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/ipsec.h | 64 ++-- include/odp/api/spec/packet_io.h | 16 ++ 2 files changed, 44 insertions(+), 36 deletions(-) diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index

Re: [lng-odp] [API_NEXT v2] API: IPSEC: Updating ipsec APIs to support sNIC implementation.

2017-04-28 Thread Nikhil Agarwal
Agarwal ; lng-odp@lists.linaro.org Subject: Re: [lng-odp] [API_NEXT v2] API: IPSEC: Updating ipsec APIs to support sNIC implementation. Hi, > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Nikhil Agarwal > Sent: Friday, April 28,

[lng-odp] [API_NEXT v2] API: IPSEC: Updating ipsec APIs to support sNIC implementation.

2017-04-27 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/ipsec.h | 62 +--- include/odp/api/spec/packet_io.h | 10 +++ 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index

Re: [lng-odp] [API-NEXT] API: IPSEC: Updating ipsec APIs to support sNIC implementation.

2017-04-07 Thread Nikhil Agarwal
peline_cls; uint8_t inline_pipeline_sa_queue; /Bogdan On 7 April 2017 at 14:15, Verma, Shally wrote: > > > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Nikhil Agarwal > Sent: 07 April 2017 15:30 > To: lng-odp@lists.linaro.org

Re: [lng-odp] [API-NEXT] API: IPSEC: Updating ipsec APIs to support sNIC implementation.

2017-04-07 Thread Nikhil Agarwal
-Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Verma, Shally Sent: Friday, April 07, 2017 4:45 PM To: Nikhil Agarwal ; lng-odp@lists.linaro.org Subject: Re: [lng-odp] [API-NEXT] API: IPSEC: Updating ipsec APIs to support sNIC implementation

[lng-odp] [API-NEXT] API: IPSEC: Updating ipsec APIs to support sNIC implementation.

2017-04-07 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/ipsec.h | 62 +++- 1 file changed, 26 insertions(+), 36 deletions(-) diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index b3dc0ca..d39e65d 100644 --- a/include/odp/api/spec

Re: [lng-odp] [API-NEXT PATCH v3 2/4] api: ipsec: add inline IPSEC support

2017-03-27 Thread Nikhil Agarwal
-- Since the Inline IPSEC is part of sNIC capability (at least for NXP), we cannot deliver packets to user specified queues. It will be delivered on pktio queues itself. On pktio then you can define the hashing/classification rules to distribute packet to different queues. For classification it

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-23 Thread Nikhil Agarwal
Few initial comments: - For Mixing inline and async processing must maintain same SA context in HW and implementation. In that case, we should shift to async SA creation so that while creating an SA, HWinterface can return the context to sw and Async processing can be done for that context.

Re: [lng-odp] [RFC, API-NEXT v1 1/1] comp:compression interface

2017-03-21 Thread Nikhil Agarwal
Moreover, if both modes need to be added it is better to follow IPSEC APIs approach instead of crypto APIs, where SYNC and ASYNC APIs are different and user explicitly control mode of operation based on capabilities. Regards Nikhil -Original Message- From: lng-odp [mailto:lng-odp-boun..

[lng-odp] [PATCHv3] example:ipsec_offload: Adding ipsec_offload example

2017-03-17 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- example/Makefile.am | 1 + example/ipsec_offload/.gitignore | 1 + example/ipsec_offload/Makefile.am| 19 + example/ipsec_offload/odp_ipsec_offload.c| 872 +++ example

[lng-odp] [PATCHv2] example:ipsec_offload: Adding ipsec_offload example

2017-02-21 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- example/Makefile.am | 1 + example/ipsec_offload/.gitignore | 1 + example/ipsec_offload/Makefile.am| 19 + example/ipsec_offload/odp_ipsec_offload.c| 871 +++ example

[lng-odp] [PATCH] example:ipsec_offload: Adding ipsec_offload example

2017-02-21 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- example/Makefile.am | 1 + example/ipsec_offload/.gitignore | 1 + example/ipsec_offload/Makefile.am| 18 + example/ipsec_offload/odp_ipsec_offload.c| 871 +++ example

Re: [lng-odp] FW: odp-crypto operations for segmented packets.

2017-02-21 Thread Nikhil Agarwal
On 18 February 2017 at 04:02, Bill Fischofer wrote: > On Fri, Feb 17, 2017 at 3:14 PM, Verma, Shally > wrote: > > Hi > > > > I was looking at linux-generic/odp_crypto.c implementation and it looks > like that each odp_crypto_operation() call assumes that each Packet is > contained within 1-segme

Re: [lng-odp] [PATCH] [RFC] API:update odp_schedle_multi to return events from multiple queues.

2017-02-07 Thread Nikhil Agarwal
On 7 February 2017 at 18:58, Bill Fischofer wrote: > On Tue, Feb 7, 2017 at 7:22 AM, Nikhil Agarwal > wrote: > > On 3 February 2017 at 19:20, Ola Liljedahl > wrote: > > > >> Do we have any performance comparison between using this new API > >> compar

Re: [lng-odp] [PATCH] [RFC] API:update odp_schedle_multi to return events from multiple queues.

2017-02-07 Thread Nikhil Agarwal
actually improves performance > (significantly) compared to using the existing API enhanced with some > under-the-hood fixup, I don't think we have a good case for changing > the API. > Comparing one packet per call vs multiple(8 packets) gives a boost of around ~30% in performance. >

[lng-odp] [PATCH] [RFC] API:update odp_schedle_multi to return events from multiple queues.

2017-02-02 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/schedule.h | 36 +++- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/include/odp/api/spec/schedule.h b/include/odp/api/spec/schedule.h index f8fed17..6e8d759 100644 --- a/include/odp/api/spec

Re: [lng-odp] schedule_multi returning tasks from multiple queues

2017-01-24 Thread Nikhil Agarwal
-Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bill Fischofer Sent: Tuesday, January 24, 2017 1:15 AM To: Nikhil Agarwal Cc: Kevin Wang ; lng-odp-forward ; Yi He Subject: Re: [lng-odp] schedule_multi returning tasks from multiple queues

Re: [lng-odp] [API-NEXT PATCH 1/4] validation: crypto: fix hw cipher/auth algorithm check

2017-01-12 Thread Nikhil Agarwal
Can we add sync/Async in capabilities and add similar check before running synchronous and asynchronous suites? Regards Nikhil -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Matias Elo Sent: Tuesday, January 10, 2017 5:39 PM To: lng-odp@lists.lina

Re: [lng-odp] [API-NEXT PATCH 4/4] validation: crypto: check auth options support before running tests

2017-01-12 Thread Nikhil Agarwal
For the series: Reviewed-by: Nikhil Agarwal -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Matias Elo Sent: Tuesday, January 10, 2017 5:39 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH 4/4] validation: crypto: check auth

Re: [lng-odp] [API-NEXT PATCH] api: ipsec: packet transformation follows RFCs

2017-01-12 Thread Nikhil Agarwal
Reviewed-by: Nikhil Agarwal -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Petri Savolainen Sent: Thursday, January 12, 2017 8:16 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH] api: ipsec: packet transformation follows RFCs

[lng-odp] Pktio Queue scheduling configuration

2017-01-11 Thread Nikhil Agarwal
Hi, In the current ODP API ODP_PKTIN_QUEUE_CONFIG, to configure input queues to Pktio, there is only one set of input queue_param in structure odp_pktin_queue_param_t while num_queues can be more than 1. If I want to attach different queues of a pktio to different scheduler groups, I did not f

Re: [lng-odp] [API-NEXT PATCH v3 00/10] crypto key length capability

2016-12-14 Thread Nikhil Agarwal
For the series Reviewed-by: Nikhil Agarwal -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Petri Savolainen Sent: Thursday, December 08, 2016 7:35 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH v3 00/10] crypto key length

Re: [lng-odp] [PATCHv2 1/1] validation: classification: fix TCP/UDP checksum update

2016-12-12 Thread Nikhil Agarwal
Reviewed-by: Nikhil Agarwal Regards Nikhil -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Balasubramanian Manoharan Sent: Thursday, October 27, 2016 6:31 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCHv2 1/1] validation: classification

Re: [lng-odp] [API-NEXT PATCH v3] api: ipsec: added IPSEC API

2016-12-11 Thread Nikhil Agarwal
Reviewed-by: Nikhil Agarwal On 12/1/2016 2:47 PM, Petri Savolainen wrote: Added definitions for a look-a-side IPSEC offload API. In addition to IPSEC packet transformations, it also supports: * inbound SA look up * outbound IP fragmentation Signed-off-by: Petri Savolainen --- Changes in v3

Re: [lng-odp] [API-NEXT PATCH] api: ipsec: added IPSEC API

2016-11-28 Thread Nikhil Agarwal
-Original Message- From: Savolainen, Petri (Nokia - FI/Espoo) [mailto:petri.savolai...@nokia-bell-labs.com] Sent: Friday, November 25, 2016 6:40 PM To: Nikhil Agarwal ; lng-odp@lists.linaro.org Subject: RE: [lng-odp] [API-NEXT PATCH] api: ipsec: added IPSEC API > -Origi

Re: [lng-odp] [API-NEXT PATCH] api: ipsec: added IPSEC API

2016-11-25 Thread Nikhil Agarwal
-Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Petri Savolainen Sent: Wednesday, November 23, 2016 4:10 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH] api: ipsec: added IPSEC API Added definitions for a look-a-side IPSEC offl

Re: [lng-odp] [API-NEXT DRAFT] api: ipsec: added IPSEC API

2016-11-16 Thread Nikhil Agarwal
Few comments. Regards Nikhil -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Petri Savolainen Sent: Tuesday, November 15, 2016 2:18 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT DRAFT] api: ipsec: added IPSEC API Added definitions f

Re: [lng-odp] [RFCv2] api:crypto: Adding IPSEC protocol APIs.

2016-11-03 Thread Nikhil Agarwal
layers are > aware of the required actions when IPSec is handled in HW? ICMP proxying by > HW? > These features are yet not include in the RFC. > > > FF > > On 26 October 2016 at 04:55, Bill Fischofer > wrote: > >> On Mon, Oct 24, 2016 at 12:04 PM, Nikhil Agarwa

[lng-odp] [RFCv2] api:crypto: Adding IPSEC protocol APIs.

2016-10-24 Thread Nikhil Agarwal
This RFC introduces IPSEC crypto offload APIs. These APIs can be used in accelerator pipeline model or for look aside IPSEC model. TODO items: - statistics amd capability APIs - Encrypt and send APIs Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/crypto.h | 29

Re: [lng-odp] [PATCH] api:crypto: Adding IPSEC protocol APIs.

2016-10-05 Thread Nikhil Agarwal Agarwal
Inline responses. Regards Nikhil -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Peltonen, Janne (Nokia - FI/Espoo) Sent: Tuesday, September 27, 2016 9:24 PM To: nikhil.agar...@linaro.org; lng-odp@lists.linaro.org Subject: Re: [lng-odp] [PATCH] api:

[lng-odp] [PATCH] api:crypto: Adding IPSEC protocol APIs.

2016-09-23 Thread Nikhil Agarwal
TODO items: - Event Notification(Eg. Seq Number overflow, SA not found, SA hard/soft expiry) - statistics APIs - Encrpt and send APIs Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/crypto.h | 29 +++ include/odp/api/spec/crypto_ipsec.h | 345

Re: [lng-odp] [PATCH] example: ipsec: Poll mode fix.

2016-09-13 Thread Nikhil Agarwal Agarwal
08, 2016 9:37 PM To: lng-odp@lists.linaro.org Subject: Re: [lng-odp] [PATCH] example: ipsec: Poll mode fix. Hello Nikhil, I think it's better to add inq to poll before pktio start. Maxim. On 08/16/16 17:22, Nikhil Agarwal wrote: > Adding pktio queues in poll mode to polled queues. &g

Re: [lng-odp] issue with odp_crypto validation suite

2016-09-13 Thread Nikhil Agarwal Agarwal
Krishna, Following is the API documentation for "auth_cipher_text" * @var odp_crypto_session_params_t::auth_cipher_text * * Controls ordering of authentication and cipher operations, * and is relative to the operation (encode vs decode). * When encoding, @c TRUE indicates the authentica

[lng-odp] [RFC] api:crypto: Adding IPSEC protocol APIs.

2016-09-01 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/crypto.h | 29 + include/odp/api/spec/crypto_ipsec.h | 114 2 files changed, 143 insertions(+) create mode 100644 include/odp/api/spec/crypto_ipsec.h diff --git a/include/odp/api/spec

Re: [lng-odp] [PATCH] example: ipsec: Poll mode fix.

2016-08-28 Thread Nikhil Agarwal
Ping. Please review. Regards Nikhil On 16 August 2016 at 19:52, Nikhil Agarwal wrote: > Adding pktio queues in poll mode to polled queues. > > Signed-off-by: gagandeep singh > Signed-off-by: Nikhil Agarwal > --- > example/ipsec/odp_ipsec.c | 6 ++ > 1 file

[lng-odp] [PATCH] example: ipsec: Poll mode fix.

2016-08-16 Thread Nikhil Agarwal
Adding pktio queues in poll mode to polled queues. Signed-off-by: gagandeep singh Signed-off-by: Nikhil Agarwal --- example/ipsec/odp_ipsec.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index 6a9a9fe..89ba1e9 100644 --- a

[lng-odp] [PATCH 2/2] api:crypto: resolve todo items

2016-07-29 Thread Nikhil Agarwal
odp_session_proc_info_t is no longer required. Clarified hash_result_offset and its relation with ICV value. Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/crypto.h | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/odp/api/spec/crypto.h b/include

[lng-odp] [PATCH 1/2] example:ipsec: removed invalid todos.

2016-07-29 Thread Nikhil Agarwal
This todo item is no longer valid. Fixed as a part of following work card. https://cards.linaro.org/browse/LNG-857 Signed-off-by: Nikhil Agarwal --- example/ipsec/odp_ipsec_stream.h | 4 1 file changed, 4 deletions(-) diff --git a/example/ipsec/odp_ipsec_stream.h b/example/ipsec

[lng-odp] [RFC OPNESSL-ODP 2/2] Adding Async ODP engine for AES cipher

2016-07-07 Thread Nikhil Agarwal
--- README | 21 +++ engine/eng_odp.c | 437 +++ 2 files changed, 458 insertions(+) create mode 100644 README create mode 100644 engine/eng_odp.c diff --git a/README b/README new file mode 100644 index 000..b13393a --- /dev/null

[lng-odp] [RFC OPNESSL-ODP 1/2] Initial Commit for Makeflies and configure scripts.

2016-07-07 Thread Nikhil Agarwal
From: Nikhil Agarwal Added Directory structure. Makeflies and configure scripts. Signed-off-by: Nikhil Agarwal --- .gitignore | 25 ++ Makefile.am| 2 + bootstrap | 7 +++ configure.ac | 136

[lng-odp] [RFC API-NEXT] Adding crypto statistics.

2016-06-10 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/crypto.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h index 7b4424d..05e9221 100644 --- a/include/odp/api/spec/crypto.h +++ b/include/odp

Re: [lng-odp] [RFCv2 API-NEXT] Adding API for Multi crypto operation support.

2016-06-10 Thread Nikhil Agarwal
-Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bala Manoharan Sent: Friday, June 10, 2016 4:30 PM To: Nikhil Agarwal Cc: LNG ODP Mailman List Subject: Re: [lng-odp] [RFCv2 API-NEXT] Adding API for Multi crypto operation support. On 10 June

Re: [lng-odp] [RFCv2 API-NEXT] Adding API for Multi crypto operation support.

2016-06-10 Thread Nikhil Agarwal
On 9 June 2016 at 16:50, Bala Manoharan wrote: > Regards, > Bala > > > On 8 June 2016 at 22:38, Nikhil Agarwal wrote: > > Signed-off-by: Nikhil Agarwal > > --- > > include/odp/api/spec/crypto.h | 29 +++-- > > 1 file

[lng-odp] [RFCv2 API-NEXT] Adding API for Multi crypto operation support.

2016-06-08 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/crypto.h | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h index d8123e9..7b4424d 100644 --- a/include/odp/api/spec/crypto.h +++ b

[lng-odp] [RFC OPENSSL-ODP] Adding README file.

2016-06-03 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- README | 21 + 1 file changed, 21 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 000..b13393a --- /dev/null +++ b/README @@ -0,0 +1,21 @@ +Copyright (c) 2013-2014, Linaro Limited +All

[lng-odp] [RFC OPNESSL-ODP 2/2] Adding Async ODP engine for AES cipher

2016-06-03 Thread Nikhil Agarwal
--- engine/eng_odp.c | 375 +++ 1 file changed, 375 insertions(+) create mode 100644 engine/eng_odp.c diff --git a/engine/eng_odp.c b/engine/eng_odp.c new file mode 100644 index 000..3340649 --- /dev/null +++ b/engine/eng_odp.c @@ -0,0 +1,3

[lng-odp] [RFC OPNESSL-ODP 1/2] Initial Commit for Makeflies and configure scripts.

2016-06-03 Thread Nikhil Agarwal
From: Nikhil Agarwal Added Directory structure. Makeflies and configure scripts. Signed-off-by: Nikhil Agarwal --- .gitignore | 25 ++ Makefile.am| 2 + bootstrap | 7 +++ configure.ac | 136

Re: [lng-odp] [RFC] Adding Multi variant for Async crypto operation.

2016-06-03 Thread Nikhil Agarwal
-Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bala Manoharan Sent: Friday, June 03, 2016 2:32 PM To: Nikhil Agarwal Cc: LNG ODP Mailman List Subject: Re: [lng-odp] [RFC] Adding Multi variant for Async crypto operation. On 2 June 2016 at 20:37

[lng-odp] [RFC] Adding Multi variant for Async crypto operation.

2016-06-02 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- include/odp/api/spec/crypto.h | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h index d8123e9..1c2b384 100644 --- a/include/odp/api/spec/crypto.h +++ b

[lng-odp] [PATCH v4] doc: user-guide: Improve crypto section.

2016-05-16 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- doc/users-guide/users-guide.adoc | 87 +++- 1 file changed, 69 insertions(+), 18 deletions(-) diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc index 0221634..b094802 100644 --- a/doc/users

Re: [lng-odp] [PATCH] doc: user-guide: Improve Crypto section.

2016-05-12 Thread Nikhil Agarwal
, Mike Holmes >>> wrote: >>> >>>> >>>> >>>> On 11 May 2016 at 19:15, Bill Fischofer >>>> wrote: >>>> >>>>> A number of grammatical corrections and suggestions for improvement. >>>>> >>>

[lng-odp] [PATCH v3] doc: user-guide: Improve crypto section.

2016-05-12 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- doc/users-guide/users-guide.adoc | 84 +++- 1 file changed, 66 insertions(+), 18 deletions(-) diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc index 0221634..b3b919d 100644 --- a/doc/users

Re: [lng-odp] [PATCH] doc: user-guide: Improve Crypto section.

2016-05-12 Thread Nikhil Agarwal
rote: >> >>> A number of grammatical corrections and suggestions for improvement. >>> >>> On Wed, May 11, 2016 at 9:45 AM, Nikhil Agarwal < >>> nikhil.agar...@linaro.org> wrote: >>> >>>> From: Nikh

[lng-odp] [PATCH v2] doc: user-guide: Improve crypto section.

2016-05-12 Thread Nikhil Agarwal
Signed-off-by: Nikhil Agarwal --- doc/users-guide/users-guide.adoc | 83 +++- 1 file changed, 65 insertions(+), 18 deletions(-) diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc index 0221634..e8d690e 100644 --- a/doc/users

[lng-odp] [PATCH] doc: user-guide: Improve Crypto section.

2016-05-11 Thread Nikhil Agarwal
From: Nikhil Agarwal Signed-off-by: Nikhil Agarwal --- doc/users-guide/users-guide.adoc | 81 +++- 1 file changed, 63 insertions(+), 18 deletions(-) diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc index 0221634..b80ed8c

Re: [lng-odp] Crypto_operation_multi API?

2016-05-10 Thread Nikhil Agarwal
enefit from the additional API? > > Regards, > Bala > > On 10 May 2016 at 20:50, Nikhil Agarwal wrote: > >> Hi All, >> >> Since we have multi flavor for packet Rx/Tx APIs on queues and scheduler, >> shall we have have a similar API for crypto operat

[lng-odp] Crypto_operation_multi API?

2016-05-10 Thread Nikhil Agarwal
Hi All, Since we have multi flavor for packet Rx/Tx APIs on queues and scheduler, shall we have have a similar API for crypto operation? It might save significant CPU cycles for implementation having hardware engines. Any thoughts? Regards Nikhil ___ l

Re: [lng-odp] [PATCH] example/ipsec: crash with invalid route parameters

2016-04-24 Thread Nikhil Agarwal
Reviewed-by: nikhil.agar...@linaro.org > -- Forwarded message -- > From: > Date: Thu, Apr 21, 2016 at 12:33 PM > Subject: [lng-odp] [PATCH] example/ipsec: crash with invalid route > parameters > To: lng-odp@lists.linaro.org > > > From: Akhil Goyal > > If invalid interface is pa

Re: [lng-odp] [PATCH] example/ipsec: crash with invalid route parameters

2016-04-22 Thread Nikhil Agarwal
A good fix to avoid crash in wrong/error configuration. Patch seems OK. Regards Nikhil Agarwal > -- Forwarded message -- > From: > Date: Thu, Apr 21, 2016 at 12:33 PM > Subject: [lng-odp] [PATCH] example/ipsec: crash with invalid route > parameter

[lng-odp] Query regarding odp_schedule

2016-03-22 Thread Nikhil Agarwal
Hi all, I had a query regarding API ODP_schedule. This API has a parameter wait, to specify time to wait for an event. Why this API is designed in such a way that we need to convert the time using API odp_schedule_wait_time, and then pass it to this API. Shouldn't it be passing the input time

Re: [lng-odp] [API-NEXT PATCH 1/4] api: crypto: add odp_crypto_capability() api

2016-02-18 Thread Nikhil Agarwal
Shall supported algos be add in crypto capabilities? Regards Nikhil From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bala Manoharan Sent: Thursday, February 18, 2016 10:40 AM To: Bill Fischofer Cc: LNG ODP Mailman List Subject: Re: [lng-odp] [API-NEXT PATCH 1/4] api: crypto

Re: [lng-odp] crypto contexts

2016-02-18 Thread Nikhil Agarwal
Othe option is instead of taking key and session as input, it is better to add an API odp_crypto_op_xxx which takes all input needed (Algos/Keys/buffer as input) and perform the single crypto operation without any session. Regards Nikhil From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] O

Re: [lng-odp] crypto contexts

2016-02-18 Thread Nikhil Agarwal
Hi, It seems none of your statement is true. Comments inline. It is platform implementation specific that how many crypto sessions it supports. If it does not support required number of sessions, then only way out as of today is to create n destroy session. Bala, If this is a generic use-case

[lng-odp] ODP IPSEC example application optimizations

2016-01-19 Thread Nikhil Agarwal
Hi All, Currently ODP IPSEC example application deploys ESP header for encryption and AH header for Authentication. This is not most widely use case scenario for IPSEC. AH is known to have issue in NAT environment. Majority of deployment in IPSEC is being done with Encryption and Authenticati

Re: [lng-odp] [PATCH] example:ipsec: Using environment varibale for pktio mode.

2015-10-19 Thread Agarwal Nikhil Agarwal
Agarwal Pktio input mode of operation should be derived from environment variable input instead of compile time flag. Signed-off-by: Nikhil Agarwal --- example/ipsec/odp_ipsec.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec

[lng-odp] FW: [PATCH] example:packet: Add pktio start in burst Mode.

2015-10-05 Thread Agarwal Nikhil Agarwal
st Mode. > > From: Nikhil Agarwal > > default state of pktio interface after odp_pktio_open is disabled. Need > to enable the interface befaore using it. > Seems like it has been missed for burst mode. > > Signed-off-by: Nikhil Agarwal > --- > example/packet/odp

Re: [lng-odp] [PATCH] example:ipsec: Fix for Polled queues

2015-07-20 Thread Agarwal Nikhil Agarwal
, July 20, 2015 8:20 PM > To: Agarwal Nikhil-B38457; lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [PATCH] example:ipsec: Fix for Polled queues > > On 07/20/15 16:07, Agarwal Nikhil Agarwal wrote: > > Hi Maxim, > > > > Thanks for your comment. > > > > I

Re: [lng-odp] [PATCH] example:ipsec: Fix for Polled queues

2015-07-20 Thread Agarwal Nikhil Agarwal
> On 07/20/15 11:57, nikhil.agar...@freescale.com wrote: > > From: Nikhil Agarwal > > > > This patch updates IPSEC application to create proper Pktin queues in > > poll mode of operation. > > PKTIN queue is created as polled queues if no scheduling parameters is >

[lng-odp] example:ipsec: query regarding ESP policy configuration

2015-06-24 Thread Agarwal Nikhil Agarwal
Hi All, Is there any way to configure IPSEC application so that both encryption and authentication is catered in esp policy only? Regards Nikhil ___ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp

Re: [lng-odp] Query regarding sequence number update in IPSEC application

2015-05-13 Thread Agarwal Nikhil Agarwal
My current concerns is w.r.t the ipsec example use case only. Usages of atomic queues may be demonstrated by other specific example. Also even if we use atomic queues for sequence number it cannot guarantee the ingress order preservation if incoming packets are picked up by different cores and