lkml.org 
[lkml]   [2020]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: add an API to check if a streamming mapping needs sync calls
From
Date
On 2020-06-29 15:03, Christoph Hellwig wrote:
> Hi all,
>
> this series lifts the somewhat hacky checks in the XSK code if a DMA
> streaming mapping needs dma_sync_single_for_{device,cpu} calls to the
> DMA API.
>

Thanks a lot for working on, and fixing this, Christoph!

I took the series for a spin, and there are (obviously) no performance
regressions.

Would the patches go through the net/bpf trees or somewhere else?

For the series:
Tested-by: Björn Töpel <bjorn.topel@intel.com>
Acked-by: Björn Töpel <bjorn.topel@intel.com>


Björn

>
> Diffstat:
> Documentation/core-api/dma-api.rst | 8 +++++
> include/linux/dma-direct.h | 1
> include/linux/dma-mapping.h | 5 +++
> include/net/xsk_buff_pool.h | 6 ++--
> kernel/dma/direct.c | 6 ++++
> kernel/dma/mapping.c | 10 ++++++
> net/xdp/xsk_buff_pool.c | 54 ++-----------------------------------
> 7 files changed, 37 insertions(+), 53 deletions(-)
>

\
 
 \ /
  Last update: 2020-06-29 21:04    [W:0.098 / U:1.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site