mbox series

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

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

Message

Mina Almasry Dec. 11, 2024, 9:20 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.

---

v3:
- Add documentation patch for memory providers. (Jakub)
- Drop netmem_prefetch helper (Jakub)

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
  net: Document netmem driver support

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

 Documentation/networking/index.rst  |  1 +
 Documentation/networking/netmem.rst | 62 +++++++++++++++++++++++++++++
 include/net/page_pool/helpers.h     | 60 +++++++++++++++++++++-------
 include/net/page_pool/types.h       |  5 ++-
 net/core/devmem.c                   | 10 ++---
 net/core/page_pool.c                | 12 ++++--
 6 files changed, 125 insertions(+), 25 deletions(-)
 create mode 100644 Documentation/networking/netmem.rst