Re: [lng-odp] Runtime inlining

2015-11-10 Thread Maxim Uvarov
On 10 November 2015 at 13:41, Zoltan Kiss wrote: > > > On 10/11/15 07:39, Maxim Uvarov wrote: > >> JIT like lua might also not work because you need to rewrite OVS to >> support it. I don't think that it will be accepted. >> >> And it looks like it'

Re: [lng-odp] Runtime inlining

2015-11-09 Thread Maxim Uvarov
JIT like lua might also not work because you need to rewrite OVS to support it. I don't think that it will be accepted. And it looks like it's problem in OVS, not in ODP. I.e. OVS should allow to use library functions for fast path (where inlines are critical). I.e. not just call odp_packet_len(

Re: [lng-odp] strange behavior in GCC for use of uninitialized variables

2014-11-27 Thread Maxim Uvarov
On 27 November 2014 at 12:16, Ola Liljedahl wrote: > Thanks Maxim, > > Yes I should do that. I also intend to make the code used to reproduce > the problem smaller. > > One of my worries was that GCC considered the loop without side > effects (ignoring the inline assembler in odp_spin()) and thus