On 16 Oct 2019, at 18:33, Jakub Kicinski wrote: > On Wed, 16 Oct 2019 15:50:21 -0700, Jonathan Lemon wrote: >> From: Tariq Toukan <tar...@mellanox.com> >> >> After RX page-cache is removed in previous patch, let the >> page_pool be responsible for the DMA mapping. >> >> Issue: 1487631 >> Signed-off-by: Tariq Toukan <tar...@mellanox.com> >> >> Signed-off-by: Jonathan Lemon <jonathan.le...@gmail.com> > > IIUC you'll need to add DMA syncs here, no? map/unmap has syncing as > side effect.
The driver still needs to do DMA sync for data transfers, this only covers the initial mapping. -- Jonathan