Re: [lng-odp] Github shows commits in wrong order

2017-11-20 Thread Andriy Berestovskyy
Hey guys, I guess it is a known GitHub "feature": https://help.github.com/articles/why-are-my-commits-in-the-wrong-order/ Andriy On 20.11.2017 10:15, Maxim Uvarov wrote: created ticked for this on github. On 20 November 2017 at 12:02, Savolainen, Petri (Nokia - FI/Espoo) < petri.savolai...@no

Re: [lng-odp] generic core + HW specific drivers

2017-10-03 Thread Andriy Berestovskyy
Hey, Please see below. On 03.10.2017 10:12, Savolainen, Petri (Nokia - FI/Espoo) wrote: So, we should be able to deliver ODP as a set of HW independent and HW specific packages (libraries). For example, minimal install would include only odp, odp-linux and odp-test-suite, but when on arm64 (an

Re: [lng-odp] Compiler Barrier API

2017-09-06 Thread Andriy Berestovskyy
n the odp.git repo. Perhaps 'nop', but this acts as more than a pure compiler barrier? On Tue, Sep 5, 2017 at 8:23 AM, Andriy Berestovskyy wrote: Hey Petri, On 05.09.2017 14:17, Savolainen, Petri (Nokia - FI/Espoo) wrote: I think compiler barrier is too weak for writing portable code, si

Re: [lng-odp] Compiler Barrier API

2017-09-05 Thread Andriy Berestovskyy
Hey Petri, On 05.09.2017 14:17, Savolainen, Petri (Nokia - FI/Espoo) wrote: I think compiler barrier is too weak for writing portable code, since it does not guarantee that the CPU would not re-order the instructions. No, compiler barrier does not guarantee CPU order. Though, sometimes we d

Re: [lng-odp] Compiler Barrier API

2017-09-05 Thread Andriy Berestovskyy
zation * mechanisms. */ void odp_compiler_barrier(void); With the following definition: static inline void odp_compiler_barrier(void) { __asm__ volatile("": : :"memory"); } It it is OK with you, I can prepare a proper patch. Andriy On 04.09.2017 21:31, Maxim

[lng-odp] Compiler Barrier API

2017-09-04 Thread Andriy Berestovskyy
Hey guys, There are few __asm__ volatile("" ::: "memory") in the generic ODP code, but seems like there is no API for the compiler barrier. Shall we add one to the api/sync.h? Andriy

Re: [lng-odp] [PATCH] api: ipsec: make IPSEC protocol consistent with other types

2017-03-01 Thread Andriy Berestovskyy
. Regards, Bill On Tue, Feb 28, 2017 at 11:44 AM, Andriy Berestovskyy mailto:andriy.berestovs...@cavium.com>> wrote: Hey guys, IMO having: typedef enum odp_ipsec_op_mode_t ODP_IPSEC_OP_MODE_* typedef enum odp_ipsec_dir_t ODP_IPSEC_DIR_* typedef enum odp_ipsec_

Re: [lng-odp] [PATCH] api: ipsec: make IPSEC protocol consistent with other types

2017-02-28 Thread Andriy Berestovskyy
-labs.com>> wrote: > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org <mailto:lng-odp-boun...@lists.linaro.org>] On Behalf Of Bill > Fischofer > Sent: Monday, February 27, 2017 5:17 PM > To: Andriy Berestovs

Re: [lng-odp] [PATCH] api: ipsec: make IPSEC protocol consistent with other types

2017-02-27 Thread Andriy Berestovskyy
AM, Andriy Berestovskyy mailto:andriy.berestovs...@cavium.com>> wrote: - rename odp_ipsec_protocol_t to odp_ipsec_proto_t - rename ODP_IPSEC_AH to ODP_IPSEC_PROTO_AH - rename ODP_IPSEC_ESP to ODP_IPSEC_PROTO_ESP Signed-off-by: Andriy Berestovskyy mailto:andriy.beresto

[lng-odp] [PATCH] api: ipsec: make IPSEC protocol consistent with other types

2017-02-27 Thread Andriy Berestovskyy
- rename odp_ipsec_protocol_t to odp_ipsec_proto_t - rename ODP_IPSEC_AH to ODP_IPSEC_PROTO_AH - rename ODP_IPSEC_ESP to ODP_IPSEC_PROTO_ESP Signed-off-by: Andriy Berestovskyy --- include/odp/api/spec/ipsec.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include

[lng-odp] [PATCH] doc: fix few links

2017-02-17 Thread Andriy Berestovskyy
Signed-off-by: Andriy Berestovskyy --- CONTRIBUTING | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING b/CONTRIBUTING index a81fd8d..ab77fd3 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -13,7 +13,8 @@ the contributing requirements for ODP == New