Hi,

I'm trying to move to odp1.15 and encounter with an buffer alignment issue.
It seems that linux-generic implementation make sure that the data address is 
align with the requested alignment and not the buffer address itself (look at 
the code sniped below).
On ODP1.11 (the current version we use) the buffer was aligned correctly.

Is the current behavior is the expected one?
Our HW (and probably other HWs) rely on the fact that the buffers are aligned.

>From odp_pool.c, init_buffers:

                                offset = pool->headroom;

                                /* move to correct align */
                                while (((uintptr_t)&data[offset]) % pool->align 
!= 0)
                                                offset++;


Regards,
Liron

Reply via email to