[lng-odp] ODP crypto API

2015-12-08 Thread Bogdan Pricope
pletion notification of special type when session creation is completed or... ? Bogdan Pricope Software Engineer Engineering Office Email bogdan.pric...@enea.com Phone +4 074.20.20.475 Enea Global Services www.enea.com<http://www.enea.com/> [cid:image002.png@01D0B99B.6F4867F0] This mess

Re: [lng-odp] ODP crypto API

2015-12-08 Thread Bogdan Pricope
of the cases but not in all. Bogdan Pricope Software Engineer Engineering Office Email bogdan.pric...@enea.com Phone +4 074.20.20.475 Enea Global Services www.enea.com<http://www.enea.com/> [cid:image002.png@01D0B99B.6F4867F0] This message, including attachments, is CONFIDENTIAL. It ma

[lng-odp] ODP 1.5 - Crash while cleanup ODP/ODP timer pool

2016-01-11 Thread Bogdan Pricope
Hi, I am using ODP-LNG 1.5 and I am getting this crash while trying to cleanup ODP timer pool + other resources. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe700 (LWP 27019)] timer_notify (sigval=sigval@entry=...) at odp_timer.c:638 638

Re: [lng-odp] ODP 1.5 - Crash while cleanup ODP/ODP timer pool

2016-01-13 Thread Bogdan Pricope
Mike, I am running OFP cunit test: ofp_test_init. It happens 1 out of 3 runs. gdb ./test/cunit/ofp_test_init Bogdan From: Mike Holmes [mailto:mike.hol...@linaro.org] Sent: Tuesday, January 12, 2016 5:57 PM To: Bogdan Pricope <bogdan.pric...@enea.com> Cc: lng-odp@lists.linaro.org Subje

[lng-odp] Checksum offload

2016-03-16 Thread Bogdan Pricope
Hi ODP, How can we get (using ODP API) the checksum offload capabilities of an interface and how can we get the result of HW checksum validation operation? Best regards, Bogdan ___ lng-odp mailing list lng-odp@lists.linaro.org

[lng-odp] User defined context pointer associated with pktio

2016-03-08 Thread Bogdan Pricope
Hi, Would it be possible to have a user defined context pointer associated with the pktio (+ set/get functions) as we have for queues? Background: we need to be able to retrieve pointer of our interface info starting from pktio. We previously used a workaround: set the pointer to user defined

Re: [lng-odp] [openfastpath] User defined context pointer associated with pktio

2016-04-07 Thread Bogdan Pricope
ULL; return entry->s.context; } Best regards, Bogdan From: Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Thursday, April 07, 2016 1:04 AM To: Bogdan Pricope <bogdan.pric...@enea.com> Cc: lng-odp@lists.linaro.org; openfastp...@list.openfastpath.org

Re: [lng-odp] [API-NEXT PATCH 1/3] api: pktio: add user context support for interfaces

2016-04-08 Thread Bogdan Pricope
Fischofer [mailto:bill.fischo...@linaro.org] Sent: Friday, April 08, 2016 3:05 PM To: Savolainen, Petri (Nokia - FI/Espoo) <petri.savolai...@nokia.com>; Bogdan Pricope <bogdan.pric...@enea.com> Cc: lng-odp@lists.linaro.org Subject: Re: [lng-odp] [API-NEXT PATCH 1/3] api: pktio: add user cont

Re: [lng-odp] [openfastpath] User defined context pointer associated with pktio

2016-04-08 Thread Bogdan Pricope
Hi, It looks good. Thank you, Bogdan From: Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Thursday, April 07, 2016 2:41 PM To: Bogdan Pricope <bogdan.pric...@enea.com> Cc: lng-odp@lists.linaro.org; openfastp...@list.openfastpath.org Subject: Re: [openfastpath] User defined c

Re: [lng-odp] [API-NEXT PATCH 1/3] api: pktio: add user context support for interfaces

2016-04-14 Thread Bogdan Pricope
From: Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Wednesday, April 13, 2016 10:47 PM To: Ola Liljedahl <ola.liljed...@linaro.org> Cc: Savolainen, Petri (Nokia - FI/Espoo) <petri.savolai...@nokia.com>; Bogdan Pricope <bogdan.pric...@enea.com>; lng-odp@lists.lina

Re: [lng-odp] [API-NEXT PATCH 1/3] api: pktio: add user context support for interfaces

2016-04-14 Thread Bogdan Pricope
Hi Bill, Yes, it should work (with some effort) fine with OFP. Reviewed-by: Bogdan Pricope <bogdan.pric...@enea.com> Thanks, Bogdan From: Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Friday, April 15, 2016 12:16 AM To: Bogdan Pricope <bogdan.pric...@enea.com> Cc: O

[lng-odp] [PATCH 1/1] test: generator: Updated global stats calculation to provide useful/easy-to-parse information

2017-02-07 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 58 +++ 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index c

[lng-odp] [PATCHv2 1/1] test: generator: Updated global statistics calculation to provide useful/easy-to-parse information

2017-02-07 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 58 +++ 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 6

[lng-odp] [PATCHv3 1/1] test: generator: Updated global statistics calculation to provide useful/easy-to-parse information

2017-02-07 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 57 --- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 6

Re: [lng-odp] [PATCH 1/5] test: generator: compose sending packets from reference packet plus differences

2017-02-15 Thread Bogdan Pricope
Monarch LTS then ? > > On 15 February 2017 at 03:58, Bogdan Pricope <bogdan.pric...@linaro.org> > wrote: >> >> Hi, >> >> There were multiple small “fixes” required to make the packet valid. >> They should go in together and in all branches. >> >

Re: [lng-odp] [PATCH 1/5] test: generator: compose sending packets from reference packet plus differences

2017-02-14 Thread Bogdan Pricope
Hi, Any mechanism that will prevent from copying data is a good thing. This change can be done after the new API is merged in master branch. Br, Bogdan On 13 February 2017 at 21:04, Bill Fischofer <bill.fischo...@linaro.org> wrote: > On Mon, Feb 13, 2017 at 6:49 AM, Bogda

Re: [lng-odp] [PATCH 3/5] test: generator: various improvements

2017-02-09 Thread Bogdan Pricope
Reviewed-and-tested-by: Bogdan Pricope <bogdan.pric...@linaro.org> On 8 February 2017 at 14:19, Petri Savolainen <petri.savolai...@linaro.org> wrote: > User may select number of worker threads (-w) or cpumask (-c) > (but not both) to limit number of worker thread. > > I

Re: [lng-odp] [PATCH 1/5] test: generator: compose sending packets from reference packet plus differences

2017-02-15 Thread Bogdan Pricope
Hi, There were multiple small “fixes” required to make the packet valid. They should go in together and in all branches. Br, Bogdan On 14 February 2017 at 16:38, Nicolas Morey-Chaisemartin <nmo...@kalray.eu> wrote: > > > Le 02/13/2017 à 01:49 PM, Bogdan Pricope a écrit

[lng-odp] [PATCH 2/5] test: generator: send UDP packets in bursts

2017-02-13 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 77 +++ 1 file changed, 53 insertions(+), 24 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index d

[lng-odp] [PATCH 5/5] test: generator: use multiple TX queues in send UDP mode

2017-02-13 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 136 +++--- 1 file changed, 84 insertions(+), 52 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8

[lng-odp] [PATCH 1/5] test: generator: compose sending packets from reference packet plus differences

2017-02-13 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 131 +- 1 file changed, 114 insertions(+), 17 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8

[lng-odp] [PATCH 4/5] test: generator: use multiple RX queue in receiving mode

2017-02-13 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index fbd3ec0..8ed3b4b

[lng-odp] [PATCH 3/5] test: generator: receive packets in bursts

2017-02-13 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 158bddf..fbd3ec0

[lng-odp] [PATCH 0/5] test:generator: improve performance

2017-02-13 Thread Bogdan Pricope
Hi, The goal of this series is to improve performance of "odp_generator" example application. [PATCH 1/5] test: generator: compose sending packets from reference packet plus differences Packets to send are basically similar with only small differences. [PATCH 2/5] test: generator: send

Re: [lng-odp] [PATCH 1/5] test: generator: compose sending packets from reference packet plus differences

2017-03-02 Thread Bogdan Pricope
My comments, inline. On 03/01/2017 08:59 AM, Yi He wrote: > Comments on 1/5 and 2/5, other patches in this series look OK to me. > > On 13 February 2017 at 20:49, Bogdan Pricope <bogdan.pric...@linaro.org > <mailto:bogdan.pric...@linaro.org>> wrote: > >

[lng-odp] Fwd: Re: [PATCH 2/5] test: generator: send UDP packets in bursts

2017-03-02 Thread Bogdan Pricope
CC Linaro. Forwarded Message Subject:Re: [lng-odp] [PATCH 2/5] test: generator: send UDP packets in bursts Date: Thu, 2 Mar 2017 13:29:30 +0200 From: Bogdan Pricope <bogdan.pric...@linaro.org> Reply-To: bogdan.pric...@linaro.org Organization:

[lng-odp] Fwd: [PATCHv3 1/1] test: generator: Updated global statistics calculation to provide useful/easy-to-parse information

2017-03-02 Thread Bogdan Pricope
Ping. Forwarded Message Subject:[PATCHv3 1/1] test: generator: Updated global statistics calculation to provide useful/easy-to-parse information Date: Tue, 7 Feb 2017 14:10:59 +0200 From: Bogdan Pricope <bogdan.pric...@linaro.org> To: lng-odp@lists.lina

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

2016-11-28 Thread Bogdan Pricope
Hi Petri, 1. I am not a big fan of idea that application level data stored per SA needs to be accessed per packet: for example for asynchronous processing you need to know if processing is inbound or outbound, tunnel or transport and also to update stats through this mechanism:

Re: [lng-odp] [PATCHv7 0/3] changelog: summary of changes for odp v1.12.0.0

2016-11-28 Thread Bogdan Pricope
./configure --help | grep ABI --disable-abi-compat disables ABI compatible mode, enables inline code in header files while in CHANGELOG: +`--enable-abi-compat=yes`:: and +`--enable-abi-compat=no`:: but no: --disable-abi-compat I guess is common practice and --disable-abi-compat is

Re: [lng-odp] [MONARCH PATCH] git_hash: handle git worktree

2016-11-18 Thread Bogdan Pricope
Roger. On 18 November 2016 at 12:25, Nicolas Morey-Chaisemartin wrote: > Hi everyone, > > Could someone using gmail confirm that my mail didn't end up in your junk > folder please :) > > Nicolas > > Le 11/18/2016 à 11:18 AM, Nicolas Morey-Chaisemartin a écrit : > > In git

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

2016-11-20 Thread Bogdan Pricope
Hi Petri, We need some changes to API in order to accommodate OFP IPsec patch: 1. On inbound direction, OFP needs on output of IPsec operation: a. Next Layer Protocol - L3: IPv4 / IPv6 for tunnel mode ; L4: UDP/TCP/etc. for transport mode (this is encrypted in original packet) b. Next

Re: [lng-odp] IPsec offload considerations (pdf)

2016-11-03 Thread Bogdan Pricope
..and as google doc (for comments) https://docs.google.com/document/d/15DqVig4iaGlq_D411x6YMVTo-8NmTUnGoa534_-t_fY/edit?usp=sharing Best regards, Bogdan On 2 November 2016 at 17:57, Bogdan Pricope <bogdan.pric...@linaro.org> wrote: > And on google drive... > > https://drive.go

[lng-odp] IPsec offload considerations

2016-11-02 Thread Bogdan Pricope
Hi, Attached document contains some considerations on how to split different IPsec functionalities between ODP and OFP and how to achieve IPsec offload. Is short and has nice pictures. Best regards, Bogdan

Re: [lng-odp] IPsec offload considerations (pdf)

2016-11-02 Thread Bogdan Pricope
And on google drive... https://drive.google.com/file/d/0B-ao0kEarpohaEhLeGdOc0NpMmp4WUItbEZIbFJwSGFmSllj/view?usp=sharing On 2 November 2016 at 17:48, Bogdan Pricope <bogdan.pric...@linaro.org> wrote: > > > Hi, > > Attached document contains some considerations on h

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

2016-11-29 Thread Bogdan Pricope
In this API version, ODP is keeping counters for SA lifetime, so maybe is not a good example. What if we will need to transfer some other info from IPsec engine to application: some flags, sizes etc.? This is why I proposed to have some extensible metadata with the packet and not only L3 and L4

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

2016-12-06 Thread Bogdan Pricope
Hi Petri, 1. Will it worth it to add information (like relevant direction inbound/outbound or sync/async) in the name of some SA parameters? typedef struct odp_ipsec_sa_param_t { ………. /** Parameters for tunnel mode */ odp_ipsec_tunnel_param_t out_tunnel; /**

[lng-odp] [PATCHv4 0/5] test: generator: improve performance

2017-03-24 Thread Bogdan Pricope
Improve performance of "odp_generator" example application. Bogdan Pricope (5): test: generator: compose sending packets from reference packet plus differences test: generator: send UDP packets in bursts test: generator: receive packets in bursts test: generator: use multipl

[lng-odp] [PATCHv4 5/5] test: generator: use multiple TX queues in send UDP mode

2017-03-24 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 136 +++--- 1 file changed, 84 insertions(+), 52 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index d

[lng-odp] [PATCHv4 3/5] test: generator: receive packets in bursts

2017-03-24 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index a47bd94..34014d8

[lng-odp] [PATCHv4 4/5] test: generator: use multiple RX queue in receiving mode

2017-03-24 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 34014d8..df47857

[lng-odp] [PATCHv4 1/5] test: generator: compose sending packets from reference packet plus differences

2017-03-24 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 130 +- 1 file changed, 113 insertions(+), 17 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8

[lng-odp] [PATCHv5 5/5] test: generator: use multiple TX queues in send UDP mode

2017-03-28 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 136 +++--- 1 file changed, 84 insertions(+), 52 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 9

[lng-odp] [PATCHv5 3/5] test: generator: receive packets in bursts

2017-03-28 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index a9b07e5..452fa8b

[lng-odp] [PATCHv5 1/5] test: generator: compose sending packets from reference packet plus differences

2017-03-28 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 130 +- 1 file changed, 113 insertions(+), 17 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8

[lng-odp] [PATCHv5 4/5] test: generator: use multiple RX queue in receiving mode

2017-03-28 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 452fa8b..9305aa9

[lng-odp] [PATCHv5 2/5] test: generator: send UDP packets in bursts

2017-03-28 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 74 --- 1 file changed, 53 insertions(+), 21 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8

[lng-odp] [PATCHv5 0/5] test: generator: improve performance

2017-03-28 Thread Bogdan Pricope
Improve performance of "odp_generator" example application. Bogdan Pricope (5): test: generator: compose sending packets from reference packet plus differences test: generator: send UDP packets in bursts test: generator: receive packets in bursts test: generator: use multipl

Re: [lng-odp] [API-NEXT PATCH v3 1/4] api: ipsec: extend lookaside API

2017-03-27 Thread Bogdan Pricope
On 27 March 2017 at 13:27, Savolainen, Petri (Nokia - FI/Espoo) wrote: > >> > /** >> > + * Configuration options for IPSEC inbound processing >> > + */ >> > +typedef struct odp_ipsec_inbound_config_t { >> > + /** Default destination queue for IPSEC

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

2017-03-27 Thread Bogdan Pricope
On 26 March 2017 at 18:06, Bill Fischofer wrote: > Hit return too soon. > > On Sun, Mar 26, 2017 at 10:01 AM, Bill Fischofer > wrote: >> On Fri, Mar 24, 2017 at 10:04 AM, Petri Savolainen >> wrote: >>> Added

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

2017-03-27 Thread Bogdan Pricope
On 24 March 2017 at 17:04, Petri Savolainen wrote: > Added support for inline IPSEC processing on packet input and > output. Inline mode IPSEC and traffic manager cannot be enabled > (currently) on the same pktio interface. > > Signed-off-by: Petri Savolainen

Re: [lng-odp] [API-NEXT PATCH] api: packet: add per packet checksum control

2017-03-29 Thread Bogdan Pricope
What about: void odp_packet_out_l3_csum_override(odp_packet_t pkt, odp_bool_t compute); On 29 March 2017 at 16:16, Maxim Uvarov wrote: > On 03/29/17 13:10, Savolainen, Petri (Nokia - FI/Espoo) wrote: >> >> >> From: Maxim Uvarov [mailto:maxim.uva...@linaro.org] >> Sent:

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

2017-03-27 Thread Bogdan Pricope
1. Maybe we need to separate exception path from success path (allow same path / separate path). 2. If a combination is not supported than configuration will fail (we can have a function to validate configured combinations, if needed). It will be a "natural" limitation. The real benefit is

Re: [lng-odp] [PATCHv4] test: generator: Updated global statistics calculation to provide useful/easy-to-parse information

2017-03-31 Thread Bogdan Pricope
Hi Maxim, Yi, Since this part is fresh in our memory, can you please review this patch as well? BR, Bogdan On 15 March 2017 at 09:48, Bogdan Pricope <bogdan.pric...@linaro.org> wrote: > Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> > --- > example/generator

[lng-odp] [PATCHv4 2/5] test: generator: send UDP packets in bursts

2017-03-24 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 75 --- 1 file changed, 54 insertions(+), 21 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8

Re: [lng-odp] [PATCH 1/2] linux-gen: netmap: use pid to make vdev mac addresses unique

2017-03-16 Thread Bogdan Pricope
Hi Matias, Today, on "ODP Apps, Cloud, Demos, OFP" meeting I asked about the possibility/opportunity to add an odp_pktio_mac_addr_set() API. This API may not make sense for some pktios but may be useful for others: OFP may (eventually) use tap pktio to replace existing tap functionality

[lng-odp] [PATCHv3 5/5] test: generator: use multiple TX queues in send UDP mode

2017-03-20 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 136 +++--- 1 file changed, 84 insertions(+), 52 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8

[lng-odp] [PATCHv3 4/5] test: generator: use multiple RX queue in receiving mode

2017-03-20 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 1932852..81f89bf

[lng-odp] [PATCHv3 1/5] test: generator: compose sending packets from reference packet plus differences

2017-03-20 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 130 +- 1 file changed, 113 insertions(+), 17 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8

[lng-odp] [PATCHv3 2/5] test: generator: send UDP packets in bursts

2017-03-20 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 81 +++ 1 file changed, 57 insertions(+), 24 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 3

[lng-odp] [PATCHv3 0/5] test: generator: improve performance

2017-03-20 Thread Bogdan Pricope
Improve performance of "odp_generator" example application. Bogdan Pricope (5): test: generator: compose sending packets from reference packet plus differences test: generator: send UDP packets in bursts test: generator: receive packets in bursts test: generator: use multipl

[lng-odp] [PATCHv3 3/5] test: generator: receive packets in bursts

2017-03-20 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 2d95ba8..1932852

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

[lng-odp] [PATCHv4] test: generator: Updated global statistics calculation

2017-03-15 Thread Bogdan Pricope
Updated global statistics calculation to provide useful/easy-to-parse information Bogdan Pricope (1): test: generator: Updated global statistics calculation to provide useful/easy-to-parse information example/generator/odp_generator.c | 57 --- 1 file

[lng-odp] [PATCHv4] test: generator: Updated global statistics calculation to provide useful/easy-to-parse information

2017-03-15 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 57 --- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8

[lng-odp] [PATCH] test: generator: replace gettimeofday() with ODP API calls

2017-04-03 Thread Bogdan Pricope
This is a fix for Bug 2416 - example/generator/odp_generator.c contains todo items Bogdan Pricope (1): test: generator: replace gettimeofday() with ODP API calls example/generator/odp_generator.c | 89 ++- 1 file changed, 41 insertions(+), 48 deletions

[lng-odp] [PATCH] test: generator: replace gettimeofday() with ODP API calls

2017-04-03 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 89 ++- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 9

[lng-odp] [PATCH] examples: generator: UDP ports configuration

2017-04-12 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 95fb543..4817294

[lng-odp] [PATCH] examples: generator: UDP ports config

2017-04-12 Thread Bogdan Pricope
Add command line options to configure UDP ports for generated traffic. Bogdan Pricope (1): examples: generator: UDP ports configuration example/generator/odp_generator.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) -- 1.9.1

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

2017-04-07 Thread Bogdan Pricope
Hi Nikhil, Let me see if I understand the limitations: Inbound IPsec processing - pkt/status destination may be: For lookaside async mode - SA queue: OK for pkts, OK for status - pktio queue: not applicable - COS: OK (for pkts) For inline mode: - - SA queue: NOK for pkts, OK for

[lng-odp] [PATCH 1/2] example: generator: fix stop criteria - number of packets sent

2017-04-11 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 95fb543..63e3f2b 100644 --- a/example/gen

[lng-odp] [PATCH 2/2] example: generator: flush output messages

2017-04-11 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 63e3f2b..ede1cdf 100644 --- a/example/generator/odp_generator.c

[lng-odp] [PATCH 0/2] examples: generator: various fixes

2017-04-11 Thread Bogdan Pricope
Various fixes for odp_generator. Bogdan Pricope (2): example: generator: fix stop criteria - number of packets sent example: generator: flush output messages example/generator/odp_generator.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 1.9.1

Re: [lng-odp] [PATCH] test: generator: replace gettimeofday() with ODP API calls

2017-04-11 Thread Bogdan Pricope
Ping! On 3 April 2017 at 13:00, Bogdan Pricope <bogdan.pric...@linaro.org> wrote: > Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> > --- > example/generator/odp_generator.c | 89 > ++- > 1 file changed, 41 insertions(+

[lng-odp] Binaries removed from snapshots.linaro.org

2017-03-13 Thread Bogdan Pricope
Hi, For ofp-ci, I am using some snapshots binaries. For some reason, this one was removed last week. http://snapshots.linaro.org/debian/images/nano-x86/1/linaro-jessie-nano-20150123-1.tar.gz Please put it back. Thank you, Bogdan

[lng-odp] [PATCHv2 0/5] odp_generator upgrade

2017-03-14 Thread Bogdan Pricope
Improve performance of "odp_generator" example application. Bogdan Pricope (5): test: generator: compose sending packets from reference packet plus differences test: generator: send UDP packets in bursts test: generator: receive packets in bursts test: generator: use multipl

[lng-odp] [PATCHv2 5/5] test: generator: use multiple TX queues in send UDP mode

2017-03-14 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 136 +++--- 1 file changed, 84 insertions(+), 52 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 9

[lng-odp] [PATCHv2 3/5] test: generator: receive packets in bursts

2017-03-14 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 2d95ba8..e14c62f

[lng-odp] [PATCHv2 2/5] test: generator: send UDP packets in bursts

2017-03-14 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 81 +++ 1 file changed, 57 insertions(+), 24 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 3

[lng-odp] [PATCHv2 4/5] test: generator: use multiple RX queue in receiving mode

2017-03-14 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index e14c62f..9f0484f

[lng-odp] [PATCHv2 1/5] test: generator: compose sending packets from reference packet plus differences

2017-03-14 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 130 +- 1 file changed, 113 insertions(+), 17 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8

[lng-odp] [PATCHv2 0/5] test: generator: improve performance

2017-03-14 Thread Bogdan Pricope
Improve performance of "odp_generator" example application. Bogdan Pricope (5): test: generator: compose sending packets from reference packet plus differences test: generator: send UDP packets in bursts test: generator: receive packets in bursts test: generator: use multipl

Re: [lng-odp] [PATCH] examples: generator: UDP ports configuration

2017-04-18 Thread Bogdan Pricope
ping. On 12 April 2017 at 15:54, Bogdan Pricope <bogdan.pric...@linaro.org> wrote: > Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> > --- > example/generator/odp_generator.c | 20 +--- > 1 file changed, 17 insertions(+), 3 deletions(-)

Re: [lng-odp] [PATCH 0/2] examples: generator: various fixes

2017-04-18 Thread Bogdan Pricope
ping. On 11 April 2017 at 14:25, Bogdan Pricope <bogdan.pric...@linaro.org> wrote: > Various fixes for odp_generator. > > Bogdan Pricope (2): > example: generator: fix stop criteria - number of packets sent > example: generator: flush output messages > > example/ge

[lng-odp] [PATCH] example: generator : use packet reference API

2017-07-28 Thread Bogdan Pricope
Use packet reference API to generate udp and icmp traffic. Note: - To be applied on top of pktrefs v4 series - My test with odp-linux/default pktio shows a 5% increase in performance on this usecase Bogdan Pricope (1): example: generator : use packet reference API to generate udp and icmp

[lng-odp] [PATCH] example: generator : use packet reference API to generate udp and icmp traffic

2017-07-28 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 176 +++--- 1 file changed, 107 insertions(+), 69 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 9

Re: [lng-odp] [API-NEXT PATCH 3/9] api: ipsec: direction specific SA params

2017-07-12 Thread Bogdan Pricope
> > Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> > Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> > --- > include/odp/api/spec/ipsec.h | 103 > +-- > 1 file changed, 59 insertions(+), 44 deletions(-)

Re: [lng-odp] [API-NEXT PATCH v1 1/1] pktio APIs to set the MAC address and MTU size.

2017-07-14 Thread Bogdan Pricope
Hi, I think we need both MTU and MAC address to be settable from ODP. In OFP, at some point I was considering using tap pktio instead of ofp tap interface for slow path processing - not being able to set MAC address was A problem. What about DHCP by MAC address? Maybe there are systems where

Re: [lng-odp] [API-NEXT PATCH v1 1/1] pktio APIs to set the MAC address and MTU size.

2017-07-17 Thread Bogdan Pricope
the MTU to anything other than 9K (especially for link speeds of interest to > ODP applications) is questionable. > >> >> >> >> Janne >> >> >> >> >> >> From: Bill Fischofer [mailto:bill.fischo...@linaro

Re: [lng-odp] ODP traffic manager and comparison with DPDK

2017-07-20 Thread Bogdan Pricope
OFP (OpenFastPath) is a user space IP stack (IPv4/IPv6, UDP/TCP, routes/arp, sockets, select(), epoll(), etc.) on top of ODP. See http://www.openfastpath.org/ On 20 July 2017 at 11:44, Puneet Gupta wrote: > Hi all, > > I am understanding the ODP framework for last few

Re: [lng-odp] [PATCH 0/6] dpdk pktio: enable hardware checksum support

2017-07-21 Thread Bogdan Pricope
aro.org> wrote: >> > >> > Krishna, Matias, please review dpdk changes. >> > >> > Maxim. >> > >> > On 07/19/17 16:35, Bogdan Pricope wrote: >> >> Ping? >> >> >> >> We still want this for odp-linux or we should impl

Re: [lng-odp] [PATCH 0/6] dpdk pktio: enable hardware checksum support

2017-07-19 Thread Bogdan Pricope
Ping? We still want this for odp-linux or we should implement it on odp-dpdk only (as soon as repository is updated)? /B On 20 June 2017 at 12:20, Bogdan Pricope <bogdan.pric...@linaro.org> wrote: > Ping? > > On 31 May 2017 at 17:40, Bogdan Pricope <bogdan.pric...@linaro.org

Re: [lng-odp] [API-NEXTv2] api: ipsec: reorganize odp_ipsec_sa_param_t structure based on SA direction

2017-06-30 Thread Bogdan Pricope
...@lists.linaro.org] On Behalf Of >> Bogdan Pricope >> Sent: Thursday, June 22, 2017 9:56 AM >> To: lng-odp@lists.linaro.org >> Subject: [lng-odp] [API-NEXTv2] api: ipsec: reorganize >> odp_ipsec_sa_param_t structure based on SA direction >> >> Signed-off-by: B

Re: [lng-odp] [API-NEXTv2] api: ipsec: reorganize odp_ipsec_sa_param_t structure based on SA direction

2017-06-29 Thread Bogdan Pricope
Ping! On 22 June 2017 at 09:55, Bogdan Pricope <bogdan.pric...@linaro.org> wrote: > Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> > --- > include/odp/api/spec/ipsec.h | 114 > --- > 1 file changed, 63 insertions(+

[lng-odp] [RFCv2] ddf: examples: module with dpdk support

2017-06-29 Thread Bogdan Pricope
-linuxapp-gcc/lib Step 3: Run the application # ODP_SYSCONFIG_FILE=/odp/example/ddf_ifs/odp.conf ./example/ddf_app/.libs/odp_ddf_app ddf_pktio_name Bogdan Pricope (1): ddf: example: build module with dpdk support example/ddf_app/odp_ddf_app.c| 14 +++- example/ddf_ifs/Makefile.am

[lng-odp] [RFCv2] ddf: example: build module with dpdk support

2017-06-29 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/ddf_app/odp_ddf_app.c| 14 +++- example/ddf_ifs/Makefile.am | 9 ++- example/ddf_ifs/ddf_ifs_enumr_dpdk.c | 126 ++- example/m4/configure.m4 | 2 + exam

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

2017-04-28 Thread Bogdan Pricope
On 28 April 2017 at 10:28, Peltonen, Janne (Nokia - FI/Espoo) wrote: > Hi, > >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Nikhil >> Agarwal >> Sent: Friday, April 28, 2017 9:50 AM >> To: lng-odp@lists.linaro.org

Re: [lng-odp] [PATCH] examples: generator: UDP ports configuration

2017-04-25 Thread Bogdan Pricope
On 18 April 2017 at 22:13, Maxim Uvarov <maxim.uva...@linaro.org> wrote: > On 04/12/17 15:54, Bogdan Pricope wrote: >> Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> >> --- >> example/generator/odp_generator.c | 20 +--- >> 1 file

Re: [lng-odp] [PATCH v1 1/1] example: generator : use packet reference API to generate udp and icmp traffic

2017-08-09 Thread Bogdan Pricope
Ping. I need this to be 'finalized' before updating dpdk hw checksum support PR. BR, Bogdan On 8 August 2017 at 14:00, Github ODP bot <odp...@yandex.ru> wrote: > From: Bogdan Pricope <bogdan.pric...@linaro.org> > > Signed-off-by: Bogdan Pricope <bogdan.pric...@linar

Re: [lng-odp] [PATCH v1 1/1] example: generator : use packet reference API to generate udp and icmp traffic

2017-08-09 Thread Bogdan Pricope
Thank you, Maxim. BR, Bogdan On 9 August 2017 at 10:48, Bogdan Pricope <bogdan.pric...@linaro.org> wrote: > Ping. > > I need this to be 'finalized' before updating dpdk hw checksum support PR. > > BR, > Bogdan > > On 8 August 2017 at 14:00, Github ODP bot <

[lng-odp] [RFCv2] dpdk: enable hardware checksum support

2017-05-15 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> --- example/generator/odp_generator.c | 102 platform/linux-generic/odp_packet_io.c | 2 + platform/linux-generic/pktio/dpdk.c| 117 +++-- 3 files changed, 202 inse

  1   2   >