From: Alexander Duyck
Date: Fri, 21 Apr 2017 08:07:45 -0700
> On Fri, Apr 21, 2017 at 7:20 AM, Jakub Kicinski
> wrote:
>> DMA unmap may destroy changes CPU made to the buffer. To make XDP
>> run correctly on non-x86 platforms we should use the
>> DMA_ATTR_SKIP_CPU_SYNC attribute.
>>
>> Thanks t
On Fri, Apr 21, 2017 at 8:07 AM, Alexander Duyck
wrote:
> On Fri, Apr 21, 2017 at 7:20 AM, Jakub Kicinski
> wrote:
>> DMA unmap may destroy changes CPU made to the buffer. To make XDP
>> run correctly on non-x86 platforms we should use the
>> DMA_ATTR_SKIP_CPU_SYNC attribute.
>>
>> Thanks to usi
On Fri, Apr 21, 2017 at 7:20 AM, Jakub Kicinski
wrote:
> DMA unmap may destroy changes CPU made to the buffer. To make XDP
> run correctly on non-x86 platforms we should use the
> DMA_ATTR_SKIP_CPU_SYNC attribute.
>
> Thanks to using the attribute we can now push the sync operation to
> the commo
DMA unmap may destroy changes CPU made to the buffer. To make XDP
run correctly on non-x86 platforms we should use the
DMA_ATTR_SKIP_CPU_SYNC attribute.
Thanks to using the attribute we can now push the sync operation to
the common code path from XDP handler.
A little bit of variable name reshu