This is part of the latest pool restructure code contributed by Nokia. If
you'd like to join the ODP public call tomorrow at 15:00 UTC we can discuss
this then.

On Mon, Aug 7, 2017 at 8:57 AM, Liron Himi <lir...@marvell.com> wrote:

> 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