[lng-odp] api-next broken?

2017-08-31 Thread shally verma
I was trying api-next from linaro/odp as of today and am seeing this error. Am I missing anything here? I simply use ./bootstrap ./configure ./make make[2]: Entering directory `/home/shrutika/zip/zip-linux/83xx/odp/odp/example/ipfragreass' CC odp_ipfragreass-odp_ipfragreass.o CC o

Re: [lng-odp] [PATCH API-NEXT v8 1/1] comp: compression spec

2017-08-30 Thread shally verma
On Tue, Aug 29, 2017 at 10:41 PM, Dmitry Eremin-Solenikov wrote: > On 29/08/17 19:18, shally verma wrote: >> Alongside a question of retrieving results for synchronous operations, >> have one more questions - in crypto, I dont see separate output packet >> data range. So, d

Re: [lng-odp] [PATCH API-NEXT v8 1/1] comp: compression spec

2017-08-29 Thread shally verma
On Tue, Aug 29, 2017 at 6:06 PM, shally verma wrote: > On Tue, Aug 29, 2017 at 5:02 PM, Savolainen, Petri (Nokia - FI/Espoo) > wrote: >> >> >>> -Original Message- >>> From: shally verma [mailto:shallyvermacav...@gmail.com] >>> Sent: Tuesd

Re: [lng-odp] Regarding github pull request

2017-08-29 Thread shally verma
> > From: Bill Fischofer [mailto:bill.fischo...@linaro.org] > Sent: 03 August 2017 17:54 > To: shally verma > Cc: Dmitry Eremin-Solenikov ; Challa, > Mahipal ; lng-odp-forward > ; Narayana, Prasad Athreya > ; Verma, Shally > ; Attunuru, Vamsi > Subject: Re:

Re: [lng-odp] [PATCH API-NEXT v8 1/1] comp: compression spec

2017-08-29 Thread shally verma
On Tue, Aug 29, 2017 at 5:02 PM, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > >> -Original Message----- >> From: shally verma [mailto:shallyvermacav...@gmail.com] >> Sent: Tuesday, August 29, 2017 10:26 AM >> To: Narayana Prasad Athreya >> Cc:

[lng-odp] Regarding crypto event subtypes

2017-08-29 Thread shally verma
Hi In order to align to crypto, I was looking to latest spec regarding Sub-event types here : https://github.com/Linaro/odp/blob/api-next/include/odp/api/spec/event.h , where I cannot see reference to any sub-event type for crypto. So could anyone confirm if crypto will be supporting only one e

Re: [lng-odp] [PATCH API-NEXT v8 1/1] comp: compression spec

2017-08-29 Thread shally verma
one explain what is the use-case of #1 and why the use-case cannot > be met with proposed API? > > PRasad > > On Tuesday 08 August 2017 10:21 PM, shally verma wrote: > > Petri/Berry > > As per discussion in today's call, this is what I summarize : > > T

Re: [lng-odp] [EXT] Re: ODP1.15 buffer alignment issue

2017-08-10 Thread shally verma
just to add for some implementation Buffer == data itself (without any metadata or headroom). So while you work on this, please get us clarity for such implementations as well. On Fri, Aug 11, 2017 at 12:36 AM, Maxim Uvarov wrote: > On 08/10/17 21:41, Liron Himi wrote: >> Hi, >> >> I think it is

Re: [lng-odp] [PATCH API-NEXT v8 1/1] comp: compression spec

2017-08-08 Thread shally verma
Just a Resend. On Tue, Aug 8, 2017 at 10:21 PM, shally verma wrote: > Petri/Berry > > As per discussion in today's call, this is what I summarize : > > Two new requirements added: > > 1. Support compression / decompression of multiple ranges with in one > single

Re: [lng-odp] [PATCH API-NEXT v8 1/1] comp: compression spec

2017-08-08 Thread shally verma
t: Friday, August 04, 2017 4:00 PM >> To: lng-odp@lists.linaro.org >> Subject: [lng-odp] [PATCH API-NEXT v8 1/1] comp: compression spec >> >> From: Shally Verma >> >> Signed-off-by: Shally Verma >> Signed-off-by: Mahipal Challa Cc >> prasada

Re: [lng-odp] Regarding github pull request

2017-08-02 Thread shally verma
On Wed, Aug 2, 2017 at 10:04 PM, shally verma wrote: > On Wed, Aug 2, 2017 at 6:03 PM, Dmitry Eremin-Solenikov > wrote: >> On 2 August 2017 at 15:18, shally verma wrote: >>> On Wed, Aug 2, 2017 at 4:37 PM, Maxim Uvarov >>> wrote: >>>> >>

Re: [lng-odp] Regarding github pull request

2017-08-02 Thread shally verma
On Wed, Aug 2, 2017 at 6:03 PM, Dmitry Eremin-Solenikov wrote: > On 2 August 2017 at 15:18, shally verma wrote: >> On Wed, Aug 2, 2017 at 4:37 PM, Maxim Uvarov wrote: >>> >>> >>> On 2 August 2017 at 14:05, Dmitry Eremin-Solenikov >>> wrote: &g

Re: [lng-odp] Regarding github pull request

2017-08-02 Thread shally verma
On Wed, Aug 2, 2017 at 4:37 PM, Maxim Uvarov wrote: > > > On 2 August 2017 at 14:05, Dmitry Eremin-Solenikov > wrote: >> >> On 02/08/17 13:56, shally verma wrote: >> > On Wed, Aug 2, 2017 at 4:15 PM, Maxim Uvarov >> > wrote: >> >> >> &

Re: [lng-odp] Regarding github pull request

2017-08-02 Thread shally verma
On Wed, Aug 2, 2017 at 4:15 PM, Maxim Uvarov wrote: > > > On 2 August 2017 at 13:35, shally verma wrote: >> >> Hi >> >> Based on discussion in yesterday's odp public call, I was trying to >> exercise github pull request feature for patch submission. Bu

[lng-odp] Regarding github pull request

2017-08-02 Thread shally verma
Hi Based on discussion in yesterday's odp public call, I was trying to exercise github pull request feature for patch submission. But running into some doubts. -Should I create a pull request from a main odp.git repository like as explained here https://help.github.com/articles/creating-a-pull-r

Re: [lng-odp] [PATCH API-NEXT v1 1/1] api:pktio: add MAC address and MTU set functions.

2017-08-01 Thread shally verma
utomatically if you use a GitHub pull request, but must be done >> manually if you submit the patch via e-mail. >> >> Thanks. >> >> On Tue, Aug 1, 2017 at 2:38 AM, Vamsi Attunuru >> wrote: >> >>> Signed-off-by: Vamsi Attunuru >>> Signed

Re: [lng-odp] regarding packet pool creation

2017-07-25 Thread shally verma
On Tue, Jul 25, 2017 at 5:02 PM, Bill Fischofer wrote: > > > On Mon, Jul 24, 2017 at 7:26 AM, shally verma > wrote: >> >> On Mon, Jul 24, 2017 at 5:44 PM, Bill Fischofer >> wrote: >> > I should also point out that the pool min_seg_len does not mean tha

Re: [lng-odp] [PATCH API-NEXT v9 6/10] api: crypto: add crypto packet operation interface

2017-07-24 Thread shally verma
On Mon, Jul 24, 2017 at 5:55 PM, Dmitry Eremin-Solenikov wrote: > On 24/07/17 15:12, shally verma wrote: >> On Mon, Jul 24, 2017 at 5:27 PM, Dmitry Eremin-Solenikov >> wrote: >>> On 24/07/17 14:11, shally verma wrote: >>>> On Tue, Jul 11, 2017 at 7:30 P

Re: [lng-odp] regarding packet pool creation

2017-07-24 Thread shally verma
>> >> If pool_capa.max_seg_len < pool_param.pkt.len then that's an indication >> that such packets will be segmented in this implementation. The >> odp_packet_num_seg() API will tell you how many segments are contained in a >> given odp_packet_t and this is th

Re: [lng-odp] [PATCH API-NEXT v9 6/10] api: crypto: add crypto packet operation interface

2017-07-24 Thread shally verma
On Mon, Jul 24, 2017 at 5:27 PM, Dmitry Eremin-Solenikov wrote: > On 24/07/17 14:11, shally verma wrote: >> On Tue, Jul 11, 2017 at 7:30 PM, Github ODP bot wrote: >>> From: Dmitry Eremin-Solenikov > >>> @@ -311,16 +315,15 @@ typedef struct odp_crypto_session_param

Re: [lng-odp] regarding packet pool creation

2017-07-24 Thread shally verma
Resending. On Mon, Jul 24, 2017 at 5:01 PM, shally verma wrote: > Have a question regarding packet pool creation and params. As it says in > pool.h > > len = minimum length of pakcet > seg_len = minimum length of 1st segment to hold packet data bytes > > Since it says minim

[lng-odp] regarding packet pool creation

2017-07-24 Thread shally verma
Have a question regarding packet pool creation and params. As it says in pool.h len = minimum length of pakcet seg_len = minimum length of 1st segment to hold packet data bytes Since it says minimum, so actual segment size used to hold packet data size may be more than this. So if I want to crea

Re: [lng-odp] [PATCH API-NEXT v9 6/10] api: crypto: add crypto packet operation interface

2017-07-24 Thread shally verma
On Tue, Jul 11, 2017 at 7:30 PM, Github ODP bot wrote: > From: Dmitry Eremin-Solenikov > > Input and output of crypto operations are packets. API is more flexible > for application and API pipelining when output is packet with additional > metadata. Application or API pipeline stages which do not

Re: [lng-odp] Regarding odp_pktin_rcv() packets

2017-07-14 Thread shally verma
On Fri, Jul 14, 2017 at 6:06 PM, Bill Fischofer wrote: > > > On Fri, Jul 14, 2017 at 6:55 AM, shally verma > wrote: >> >> On Thu, Jul 13, 2017 at 2:17 PM, Savolainen, Petri (Nokia - FI/Espoo) >> wrote: >> > >> > >> >> -Original

Re: [lng-odp] Regarding odp_pktin_rcv() packets

2017-07-14 Thread shally verma
On Thu, Jul 13, 2017 at 2:17 PM, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > >> -Original Message----- >> From: shally verma [mailto:shallyvermacav...@gmail.com] >> Sent: Thursday, July 13, 2017 11:43 AM >> To: Savolainen, Petri (Nokia - FI/Espoo) >>

Re: [lng-odp] Regarding odp_pktin_rcv() packets

2017-07-13 Thread shally verma
On Thu, Jul 13, 2017 at 2:05 PM, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of >> shally verma >> Sent: Wednesday, July 12, 2017 3:36 PM >> To: lng-odp-f

Re: [lng-odp] Regarding odp_pktin_rcv() packets

2017-07-13 Thread shally verma
On Wed, Jul 12, 2017 at 10:59 PM, Bill Fischofer wrote: > On Wed, Jul 12, 2017 at 11:16 AM, shally verma > wrote: >> On Wed, Jul 12, 2017 at 8:50 PM, Bill Fischofer >> wrote: >>> On Wed, Jul 12, 2017 at 7:35 AM, shally verma >>> wrote: >>>> I hav

Re: [lng-odp] API behavior of unsupported mode

2017-07-13 Thread shally verma
Ok. That clarifies my doubt. Only concern was we shouldn't end up misusing directive. Thanks for inputs. Shally On Wed, Jul 12, 2017 at 11:16 PM, Bill Fischofer wrote: > On Wed, Jul 12, 2017 at 10:33 AM, shally verma > wrote: >> On Wed, Jul 12, 2017 at 8:37 PM, Bill Fi

Re: [lng-odp] Regarding odp_pktin_rcv() packets

2017-07-12 Thread shally verma
On Wed, Jul 12, 2017 at 8:50 PM, Bill Fischofer wrote: > On Wed, Jul 12, 2017 at 7:35 AM, shally verma > wrote: >> I have a question on odp_pktin_recv(odp_pktin_queue_t, odp_packet_t [], int). >> >> Once app receives packets associated to the queue, what happens to >

Re: [lng-odp] API behavior of unsupported mode

2017-07-12 Thread shally verma
enario? >Also, do you envision this to be a temporary or permanent restriction? Right now, I added this as temporary fix. But my question is in general for any unsupported feature how an corresponding API should deal with unused params. Thanks Shally > > On Wed, Jul 12, 2017 at 7:47

[lng-odp] API behavior of unsupported mode

2017-07-12 Thread shally verma
Hi If any implementation does not support specific mode of operation , say , it only support sync but not async then is it legal to mark async API params as ODP_UNUSED? As in such case API may simply return with failure code, thus references to params is not actually exercised which results in to

[lng-odp] Regarding odp_pktin_rcv() packets

2017-07-12 Thread shally verma
I have a question on odp_pktin_recv(odp_pktin_queue_t, odp_packet_t [], int). Once app receives packets associated to the queue, what happens to packets buffers passed to application? Does implementation always assume that packets will be freed by caller and re-allocates fresh packets to queue? I

Re: [lng-odp] [RFC API-NEXT v2] api: crypto: add crypto packet operation interface

2017-06-29 Thread shally verma
On Thu, Jun 29, 2017 at 4:18 AM, Dmitry Eremin-Solenikov wrote: > Input and output of crypto operations are packets. API is more flexible > for application and API pipelining when output is packet with additional > metadata. Application or API pipeline stages which do not care about > crypto resul

[lng-odp] regarding ODP_PKTIO_MACADDR_MAXSIZE in pktio spec

2017-06-28 Thread shally verma
I have question on definition of this macro ODP_PKTIO_MACADDR_MAXSIZE . In pktio,h it is mentioned as " Minimum size of output buffer for odp_pktio_mac_addr()" where as Macro name is MAXSIZE. In linux-generic implementation this value is set to 16. So how to interpret it? Does it mean user need

Re: [lng-odp] [API-NEXT, PATCH v4 1/1] comp: compression API

2017-06-27 Thread shally verma
On Tue, Jun 27, 2017 at 2:51 PM, Savolainen, Petri (Nokia - FI/Espoo) wrote: >> > diff --git a/platform/linux-generic/include/odp/api/plat/event_types.h >> b/platform/linux-generic/include/odp/api/plat/event_types.h >> > index 0f51783..adf2c31 100644 >> > --- a/platform/linux-generic/include/odp/a

Re: [lng-odp] [API-NEXT, PATCH v4 1/1] comp: compression API

2017-06-27 Thread shally verma
Ping. Reminder to review. Thanks Shally On Tue, Jun 20, 2017 at 5:05 PM, Shally Verma wrote: > API patch to enable compression/decompression support in ODP > > Changes from RFC v3: > Added separate function for compression and decompression. > Added separate event ODP_E

Re: [lng-odp] Need to standardize tools version

2017-06-21 Thread shally verma
On Thu, Jun 22, 2017 at 3:03 AM, Honnappa Nagarahalli wrote: > Why is it Hard? It is a matter of documenting/advertising which > versions we are using in CI and making that as a minimum standard. If > someone has a different compiler they can always submit the patches > for their compilers. > I se

[lng-odp] [API-NEXT, PATCH v4 1/1] comp: compression API

2017-06-20 Thread Shally Verma
-by: Shally Verma Signed-off-by: Mahipal Challa --- include/odp/api/spec/comp.h| 810 + include/odp/api/spec/event.h | 3 +- include/odp/arch/arm32-linux/odp/api/abi/comp.h| 7 + include/odp/arch/arm64-linux/odp/api/abi

[lng-odp] [API-NEXT, PATCH v4 0/1] comp: compression API

2017-06-20 Thread Shally Verma
Shally Verma (1): comp: compression API Changes from RFC v3: Add separate function for compresion/decompression Add separate events ODP_EVENT_COMP_COMPL for compression and ODP_EVENT_DECOMP_COMPL decompression completion notification. include/odp/api/spec/comp.h

Re: [lng-odp] [API-NEXT PATCH v3 1/3] api: event: add subtype to expand event type

2017-06-20 Thread shally verma
On Tue, Jun 20, 2017 at 3:12 PM, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > >> -Original Message----- >> From: shally verma [mailto:shallyvermacav...@gmail.com] >> Sent: Tuesday, June 20, 2017 8:55 AM >> To: Bill Fischofer >> Cc: Savolainen, Petri (No

Re: [lng-odp] [API-NEXT PATCH v3 1/3] api: event: add subtype to expand event type

2017-06-19 Thread shally verma
On Fri, Jun 16, 2017 at 7:15 PM, Bill Fischofer wrote: > On Fri, Jun 16, 2017 at 8:33 AM, shally verma > wrote: >> On Fri, Jun 16, 2017 at 6:42 PM, Bill Fischofer >> wrote: >>> On Fri, Jun 16, 2017 at 8:04 AM, Savolainen, Petri (Nokia - FI/Espoo) >>> wrote:

Re: [lng-odp] [API-NEXT PATCH v3 1/3] api: event: add subtype to expand event type

2017-06-16 Thread shally verma
On Fri, Jun 16, 2017 at 6:42 PM, Bill Fischofer wrote: > On Fri, Jun 16, 2017 at 8:04 AM, Savolainen, Petri (Nokia - FI/Espoo) > wrote: >>> > diff --git a/include/odp/api/spec/event.h b/include/odp/api/spec/event.h >>> > index f22efce5..2ad3ce84 100644 >>> > --- a/include/odp/api/spec/event.h >>>

Re: [lng-odp] [PATCH v4 0/2] GCC 7 fixes

2017-06-15 Thread shally verma
Does it mean that going further there would be certain limitation on gcc version to be used? I just tried to compile next branch and ./configure throws an error ./configure: line 22786: syntax error near unexpected token `-Wimplicit-fallthrough=0,' ./configure: line 22786: `AX_CHECK_COMPILE_FLAG(-

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

2017-06-05 Thread shally verma
Do we have any more comments on same? Petri Could you get time to review feedback? Can we consider v3 as accepted? Thanks Shally On Thu, Jun 1, 2017 at 10:05 PM, shally verma wrote: > Re-sending with updated comments. > > Regards > Shally > > On Thu, Jun 1, 2017 at 7:58

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

2017-06-01 Thread shally verma
Re-sending with updated comments. Regards Shally On Thu, Jun 1, 2017 at 7:58 PM, Verma, Shally wrote: > Regards > Shally > > -Original Message- > From: Savolainen, Petri (Nokia - FI/Espoo) [mailto:petri.savolainen@ > nokia.com] > Sent: 01 June 2017 18:20 > To

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

2017-05-31 Thread shally verma
Reminder. Could we please have acceptance criteria on same. Thanks Shally On Mon, May 22, 2017 at 12:24 PM, Shally Verma wrote: > Signed-off-by: Shally Verma > Signed-off-by: Mahipal Challa > --- > include/odp/api/spec/comp.h | 740 ++ > +

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

2017-05-21 Thread Shally Verma
Signed-off-by: Shally Verma Signed-off-by: Mahipal Challa --- include/odp/api/spec/comp.h | 740 1 file changed, 740 insertions(+) diff --git a/include/odp/api/spec/comp.h b/include/odp/api/spec/comp.h new file mode 100644 index 000..6c13ad4

[lng-odp] [RFC, API-NEXT v3 0/1] comp: compression interface API set

2017-05-21 Thread Shally Verma
reference odp_packet_data_range_t for accessing packet buffer Shally Verma (1): comp: compression interface include/odp/api/spec/comp.h | 740 1 file changed, 740 insertions(+) create mode 100644 include/odp/api/spec/comp.h -- 1.9.1

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

2017-04-19 Thread 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 | 748 1 file changed, 748 insertions(+) diff --git a/include/odp/api/spec/comp.h b

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

2017-04-19 Thread Shally Verma
capability struct Shally Verma (1): odp compression interface api set include/odp/api/spec/comp.h | 748 1 file changed, 748 insertions(+) create mode 100644 include/odp/api/spec/comp.h -- 1.9.1