[lng-odp] ODP crypto API

2015-12-08 Thread Bogdan Pricope
tion 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 message,

Re: [lng-odp] ODP crypto API

2015-12-08 Thread Bogdan Pricope
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 may a

[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 --- 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 ccd47f6..39bf026 100644 --- a/example

[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 --- 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 6ac8f2d..fa82163 100644 --- a/example

[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 --- 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 6ac8f2d..b1f549f 100644 --- a/example

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

2017-02-09 Thread Bogdan Pricope
Reviewed-and-tested-by: Bogdan Pricope On 8 February 2017 at 14:19, Petri Savolainen wrote: > User may select number of worker threads (-w) or cpumask (-c) > (but not both) to limit number of worker thread. > > Increased pool size since many threads empty the pool easily and &

[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 --- 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 8062d87..d1e3ecc 100644 --- a/example

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

2017-02-13 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 100644 --- a/example/generator

[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 --- 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 100644 --- a/example/generator

[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 --- 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 8ed3b4b..922d185 100644 --- a/example

[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 UD

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

2017-02-13 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 d1e3ecc..158bddf 100644 --- a/example

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 wrote: > On Mon, Feb 13, 2017 at 6:49 AM, Bogdan Pricope > wrote: >> Signed-of

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 wrote: > > > Le 02/13/2017 à 01:49 PM, Bogdan Pricope a écrit : >> Signed-off-by:

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

2017-02-15 Thread Bogdan Pricope
uary 2017 at 03:58, Bogdan Pricope > wrote: >> >> 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,

[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 To: lng-odp@lists.linaro.org CC: Bogdan Pricope

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 <mailto:bogdan.pric...@linaro.org>> wrote: > > Signed-off-by: Bogdan Pricope <mailt

[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 Reply-To: bogdan.pric...@linaro.org Organization: Linaro To: Yi He My comments

[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 1/5] test: generator: compose sending packets from reference packet plus differences

2017-03-14 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 8062d87..331f873 100644 --- a/example

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

2017-03-14 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 331f873..2d95ba8 100644 --- a/example

[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 --- 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 100644 --- a/example/generator

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

2017-03-14 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 100644 --- a/example/generator

[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 --- 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 9f0484f..1ed2868 100644 --- a/example

[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

[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 --- 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 8062d87..adb94cc 100644 --- a/example

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 associate

[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 --- 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 100644 --- a/example/generator

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

2017-03-20 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 331f873..2d95ba8 100644 --- a/example

[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 --- 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 100644 --- a/example/generator

[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 --- 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 8062d87..331f873 100644 --- a/example

[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 --- 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 81f89bf..ffae4cd 100644 --- a/example

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

[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 1/5] test: generator: compose sending packets from reference packet plus differences

2017-03-24 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 8062d87..816db88 100644 --- a/example

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

2017-03-24 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 816db88..a47bd94 100644 --- a/example

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

2017-03-24 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 100644 --- a/example/generator

[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 --- 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 100644 --- a/example/generator

[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 --- 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 df47857..c284ecb 100644 --- a/example

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 events >> > +* >> > +* Wh

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 support for inline IPSEC processing on packet input and >>> output. Inline mode IPSEC an

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 > --- > include/odp/api/spec/ipsec.h

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 tha

[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

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

2017-03-28 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 816db88..a9b07e5 100644 --- a/example

[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 --- 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 8062d87..816db88 100644 --- a/example

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

2017-03-28 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 100644 --- a/example/generator

[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 --- 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 100644 --- a/example/generator

[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 --- 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 9305aa9..d4184a4 100644 --- a/example

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

2017-03-28 Thread Bogdan Pricope
There are two aspects to consider: 1. How to process odp_ipsec_in(), odp_ipsec_out(),etc. with explicit SA reference after an odp_ipsec_sa_disable() (or after odp_ipsec_sa_destroy())? 2. When is safe to odp_ipsec_sa_destroy() after odp_ipsec_sa_disable()? If application holds a SA handler and IS

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: Wednesday, March 29, 2017

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 wrote: > Signed-off-by: Bogdan Pricope > --- > example/generator/odp_generator.c | 57 > -

[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 --- 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 95fb543..9c49d94 100644 --- a/example

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 s

[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 --- 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/generator/odp_generator.c +++ b/example

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

2017-04-11 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 +++ b/example/generator

[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 wrote: > Signed-off-by: Bogdan Pricope > --- > example/generator/odp_generator.c | 89 > ++- > 1 file changed, 41 insertions(+), 48 deletions(-) > > diff --git a/example/generator/odp_gen

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

2017-04-12 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 100644 --- a/example/generator

[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] [PATCH] examples: generator: UDP ports configuration

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

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 wrote: > 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

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

2017-04-25 Thread Bogdan Pricope
On 18 April 2017 at 22:13, Maxim Uvarov wrote: > On 04/12/17 15:54, Bogdan Pricope wrote: >> Signed-off-by: Bogdan Pricope >> --- >> example/generator/odp_generator.c | 20 +--- >> 1 file changed, 17 insertions(+), 3 deletions(-) >>

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 >> Subject: [lng-odp] [API_N

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

2017-05-03 Thread Bogdan Pricope
Add command line options to configure UDP ports for generated traffic. v2: * replace 'unsigned short' with 'uint16_t' Bogdan Pricope (1): examples: generator: UDP ports configuration example/generator/odp_generator.c | 20 +--- 1 file changed, 17 insert

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

2017-05-03 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 ede1cdf..79efe5b 100644 --- a/example/generator

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

2017-05-03 Thread Bogdan Pricope
, Yi He wrote: > Hi, Bogdan > > Consider endianness for this uint64_t time value carried in ICMP packets, > need htonl and ntohl here. > > Best Regards, Yi > > > > On 11 April 2017 at 19:31, Bogdan Pricope wrote: >> >> Ping! >> >> >> On

Re: [lng-odp] [PATCH API-NEXT v2 3/5] api: ipsec: add soft limit expiration event

2017-05-09 Thread Bogdan Pricope
Hi, Can we have this event for all cases: sync/async/inline, inbound/outbound, soft/hard limits? Lifetime expiration is destined to control part of the application... we should be able to process it on a different thread/queue. Soft limit - will not affect normal processing of packets - no need f

Re: [lng-odp] [PATCH API-NEXT v2 3/5] api: ipsec: add soft limit expiration event

2017-05-09 Thread Bogdan Pricope
Manoharan wrote: > On 9 May 2017 at 00:04, Bogdan Pricope wrote: >> Hi, >> >> Can we have this event for all cases: sync/async/inline, >> inbound/outbound, soft/hard limits? Lifetime expiration is destined to >> control part of the application... we should be able to pr

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

2017-05-10 Thread Bogdan Pricope
tion options drop_XXX_err (e.g. drop_ipv4_err, drop_udp_err)? If true, maybe we should keep only one for L4. Bogdan Pricope (1): dpdk pktio: enable hardware checksum support example/generator/odp_generator.c | 102 - platform/linux-generic/odp_packet_io.c | 2

[lng-odp] [RFC] dpdk pktio: enable hardware checksum support

2017-05-10 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- example/generator/odp_generator.c | 102 - platform/linux-generic/odp_packet_io.c | 2 + platform/linux-generic/pktio/dpdk.c| 96 +-- 3 files changed, 181 insertions(+), 19 deletions

Re: [lng-odp] [RFC] dpdk: enable hardware checksum support

2017-05-11 Thread Bogdan Pricope
On 10 May 2017 at 20:06, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of >> Bogdan Pricope >> Sent: Wednesday, May 10, 2017 4:50 PM >> To: lng-odp@lists.l

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

2017-05-14 Thread Bogdan Pricope
v2: - add drop_XXX_err support - use mbuf packet type flags in interpreting offload results Bogdan Pricope (1): dpdk: enable hardware checksum support example/generator/odp_generator.c | 102 platform/linux-generic/odp_packet_io.c | 2 + platform/linux

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

2017-05-14 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- 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 insertions(+), 19 deletions(-) diff

Re: [lng-odp] [RFC] dpdk: enable hardware checksum support

2017-05-15 Thread Bogdan Pricope
There is a v2 (and soon a v3). On 15 May 2017 at 16:27, Peltonen, Janne (Nokia - FI/Espoo) wrote: > > Bogdan Pricope wrote: >> On 10 May 2017 at 20:06, Savolainen, Petri (Nokia - FI/Espoo) >> wrote: >> > >> > >> >> -Original Messa

Re: [lng-odp] IPsec crypto algorithms summary

2017-05-18 Thread Bogdan Pricope
Is less about what is deprecated and more about what HW support is available on already deployed solutions. On 18 May 2017 at 10:27, Peltonen, Janne (Nokia - FI/Espoo) wrote: > Hi, > > The IPsec and IKE document roadmap (RFC 6071) is a good summary about > the required crypto-algorithms, among ot

[lng-odp] [RFCv3] dpdk pktio: enable hardware checksum support

2017-05-18 Thread Bogdan Pricope
v3: - RX - enable offload only for supported ptypes - TX - no offload is odp packet does not have correct protocol flags - TX - use packet header flags instead of public API v2: - add drop_XXX_err support - use mbuf packet type flags in interpreting offload results Bogdan Pricope (1): dpdk

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

2017-05-18 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- example/generator/odp_generator.c | 102 +++--- platform/linux-generic/odp_packet_io.c | 2 + platform/linux-generic/pktio/dpdk.c| 150 +++-- 3 files changed, 235 insertions(+), 19 deletions(-) diff --git a

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

2017-05-18 Thread Bogdan Pricope
Ping? On 3 May 2017 at 10:42, Bogdan Pricope wrote: > Signed-off-by: Bogdan Pricope > --- > example/generator/odp_generator.c | 20 +--- > 1 file changed, 17 insertions(+), 3 deletions(-) > > diff --git a/example/generator/odp_generator.c > b/example/gene

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

2017-05-18 Thread Bogdan Pricope
Hi, What is the status of this patch? Can we assume this logic? HW Supported & configured & override insert => HW calculation HW Supported & configured & override NOT insert => NO HW calculation HW Supported & NOT configured & override insert

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

2017-05-19 Thread Bogdan Pricope
Hi Janne, There is no undefined behavior: if HW csum is NOT calculated (not supported by HW OR not configured by application OR override “NOT insert”) then packet will not be modified (packet will be sent with the value set by the application). “HW Supported” = what dpdk reports as HW capabilitie

Re: [lng-odp] [RFCv3] dpdk pktio: enable hardware checksum support

2017-05-22 Thread Bogdan Pricope
ptype for received fragmented packet, but is not always supported. In my case, it is just not reporting packet as UDP or TCP if it is a fragment - Application must validate UDP/TCP checksum on reassembled packet (HW will not validate it) /Bogdan On 18 May 2017 at 11:51, Bogdan Pricope w

[lng-odp] [RFCv4] dpdk pktio: enable hardware checksum support

2017-05-22 Thread Bogdan Pricope
: - add drop_XXX_err support - use mbuf packet type flags in interpreting offload results Bogdan Pricope (1): dpdk: enable hardware checksum support example/generator/odp_generator.c | 102 ++--- platform/linux-generic/odp_packet_io.c | 2 + platform/linux-generic/pktio

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

2017-05-22 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- example/generator/odp_generator.c | 102 ++--- platform/linux-generic/odp_packet_io.c | 2 + platform/linux-generic/pktio/dpdk.c| 161 - 3 files changed, 246 insertions(+), 19 deletions(-) diff --git a

Re: [lng-odp] Summary of Expiration Discussion

2017-05-24 Thread Bogdan Pricope
This ‘status_queue’ looks fine to me. /Bogdan On 24 May 2017 at 02:20, Bill Fischofer wrote: > This is a quick summary of the expiration discussion held during > Monday's ARCH call. > > The current odp_ipsec_capability_t defines two fields: > > /** Soft expiry limit in seconds support > * > * 0

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

2017-05-24 Thread Bogdan Pricope
Ping. On 3 May 2017 at 11:45, Bogdan Pricope wrote: > Hi Yi, > > I disagree: bytes sent in Data field of Echo request are opaque and > have no meaning for any other entity then ‘me’ (the sender of echo > request / receiver of echo reply). > > The only obligation of the rec

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

2017-05-24 Thread Bogdan Pricope
essed(receiving) as "memcpy(&tsend, ..., > sizeof(uint64_t));" > > If the sending peer is little endian and the receiving peer is big endian I > think it will cause wrong interpretation, right? > > Best Regards, Yi > > On 24 May 2017 at 15:48, Bogdan Pricope wrote

Re: [lng-odp] [RFCv4] dpdk: enable hardware checksum support

2017-05-24 Thread Bogdan Pricope
Hi Matias, Using ptypes reported by dpdk in parser was intended for another patch (next work after csum). I guess your test is a degradation test (due to new ifs) and you did not enabled csum offloads/ set flags on packets. What will be interesting to see: - in a generation or termination test

[lng-odp] [RFCv5] dpdk pktio: enable hardware checksum support

2017-05-26 Thread Bogdan Pricope
not have correct protocol flags - TX - use packet header flags instead of public API v2: - add drop_XXX_err support - use mbuf packet type flags in interpreting offload results Bogdan Pricope (1): dpdk: enable hardware checksum support example/generator/odp_generator.c | 100

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

2017-05-26 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- example/generator/odp_generator.c | 100 +++--- platform/linux-generic/odp_packet_io.c | 2 + platform/linux-generic/pktio/dpdk.c| 185 - 3 files changed, 268 insertions(+), 19 deletions(-) diff --git a

Re: [lng-odp] [RFCv5] dpdk pktio: enable hardware checksum support

2017-05-26 Thread Bogdan Pricope
tion (per pktio) & configured (per pktio) - Packet type (ptype) support for IPv4/UDP/TCP No support for HW checksum calculation/validation for: - IPv4 fragments - IPv6 packets with extension headers (including fragments) /B On 26 May 2017 at 15:38, Bogdan Pricope wro

Re: [lng-odp] [RFCv5] dpdk: enable hardware checksum support

2017-05-29 Thread Bogdan Pricope
On 29 May 2017 at 15:08, Elo, Matias (Nokia - FI/Espoo) wrote: > Hi Bogdan, > > I still think rx checksum calculation should be combined with packet parsing > but below are some comments regarding this rfc code. This RFC is for master branch: some of the APIs you need for optimized parser or csu

[lng-odp] [RFCv6] dpdk pktio: enable hardware checksum support

2017-05-30 Thread Bogdan Pricope
e flags in interpreting offload results Bogdan Pricope (1): dpdk: enable hardware checksum support example/generator/odp_generator.c | 100 ++--- platform/linux-generic/odp_packet_io.c | 2 + platform/linux-generic/pktio/dpdk.c| 190 - 3 fil

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

2017-05-30 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- example/generator/odp_generator.c | 100 ++--- platform/linux-generic/odp_packet_io.c | 2 + platform/linux-generic/pktio/dpdk.c| 190 - 3 files changed, 273 insertions(+), 19 deletions(-) diff --git a

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

2017-05-30 Thread Bogdan Pricope
It is me or this pool configuration looks very “cryptic” (lot of params with some less intuitive naming)? I mean, one would need to configure: - num - The minimum number of packets that are packet length 'len' bytes or smaller. - ‘len’ - The minimum packet length that at least 'num' packets are

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

2017-05-31 Thread Bogdan Pricope
Add HW checksum calculation/validation support for dpdk pktio. No UDP/TCP HW checksum calculation/validation support for: - IPv4 fragments - IPv6 packets with extension headers (including fragments) Bogdan Pricope (6): Initialize pktio configuration structure dpdk: retrieve offload

  1   2   >