mbox series

[net-next,v2,0/5] devmem TCP fixes

Message ID 20241107212309.3097362-1-almasrymina@google.com (mailing list archive)
Headers show
Series devmem TCP fixes | expand

Message

Mina Almasry Nov. 7, 2024, 9:23 p.m. UTC
Couple unrelated devmem TCP fixes bundled in a series for some
convenience.

- fix naming and provide page_pool_alloc_netmem for fragged
netmem.

- fix issues with dma-buf dma addresses being potentially
passed to dma_sync_for_* helpers.

- add netmem_prefetch helper.

---

v2:
- Fork off the syzbot fixes to net tree, resubmit the rest here.


Mina Almasry (4):
  net: page_pool: rename page_pool_alloc_netmem to *_netmems
  net: page_pool: create page_pool_alloc_netmem
  page_pool: disable sync for cpu for dmabuf memory provider
  netmem: add netmem_prefetch

Samiullah Khawaja (1):
  page_pool: Set `dma_sync` to false for devmem memory provider

 include/net/netmem.h            |  7 +++++
 include/net/page_pool/helpers.h | 50 +++++++++++++++++++++++----------
 include/net/page_pool/types.h   |  2 +-
 net/core/devmem.c               |  9 +++---
 net/core/page_pool.c            | 11 +++++---
 5 files changed, 54 insertions(+), 25 deletions(-)