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

2017-03-17 Thread Mahipal Challa
From: Shally Verma An API set to add compression/decompression support in ODP interface. Signed-off-by: Shally Verma Signed-off-by: Mahipal Challa --- include/odp/api/spec/comp.h | 668 1 file changed, 668 insertions(+) diff --git a/include/odp/a

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

2017-03-21 Thread Bala Manoharan
Hi, This proposal supports both sync and async compression offload in a single API following the crypto model, IMO We can separate SYNC and ASYNC compression offload as two different APIs and only add ASYNC compression offload in the first version and if required we can add SYNC compression mode a

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

2017-03-21 Thread Nikhil Agarwal
...@lists.linaro.org] On Behalf Of Bala Manoharan Sent: Tuesday, March 21, 2017 4:18 PM To: Mahipal Challa Cc: prasad.athr...@cavium.com; faisal.mas...@cavium.com; Mahipal Challa ; mcha...@cavium.com; lng-odp-forward Subject: Re: [lng-odp] [RFC, API-NEXT v1 1/1] comp:compression interface Hi

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

2017-03-22 Thread Bogdan Pricope
Hi, My understanding is that: - compression can be used in stateless or statefull mode. How can we differentiate between the two configurations: by specifying a special algorithm on session creation or by setting "last" field to "true" for every operation? Do we need this setting per operation or

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

2017-03-24 Thread Verma, Shally
: [lng-odp] [RFC, API-NEXT v1 1/1] comp:compression interface Hi, My understanding is that: - compression can be used in stateless or statefull mode. How can we differentiate between the two configurations: by specifying a special algorithm on session creation or by setting "last" fiel

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

2017-04-07 Thread Verma, Shally
; Masood, Faisal ; Challa, Mahipal ; lng-odp-forward ; Challa, Mahipal Subject: Re: [lng-odp] [RFC, API-NEXT v1 1/1] comp:compression interface 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