[PATCH net-next 0/3] net: consolidate net_iov freelist and DMA handling

Stanislav Fomichev posted 3 patches 1 day, 16 hours ago
include/linux/skbuff.h          |  7 ++-
include/net/netmem.h            | 55 ++++++++++++++++++++++-
include/net/page_pool/helpers.h | 10 +----
io_uring/zcrx.c                 | 25 ++++-------
io_uring/zcrx.h                 |  4 --
net/core/devmem.c               | 77 +++++++++++++++------------------
net/core/devmem.h               |  7 ++-
net/core/page_pool_priv.h       | 14 +-----
8 files changed, 108 insertions(+), 91 deletions(-)
[PATCH net-next 0/3] net: consolidate net_iov freelist and DMA handling
Posted by Stanislav Fomichev 1 day, 16 hours ago
Follow up on the recently merged devmem gen_pool removal by consolidating
the remaining net_iov freelist and DMA-address handling.

- move shared freelist state and operations into net_iov_area
- switch devmem to public memory-provider helpers and reject DMA
  addresses that cannot be represented
- decode stored DMA addresses for TX on 32-bit systems with 64-bit
  dma_addr_t

Stanislav Fomichev (3):
  net: netmem: add net_iov_area freelist helpers
  net: devmem: use memory provider helpers for net_iovs
  net: devmem: decode DMA addresses for TX

 include/linux/skbuff.h          |  7 ++-
 include/net/netmem.h            | 55 ++++++++++++++++++++++-
 include/net/page_pool/helpers.h | 10 +----
 io_uring/zcrx.c                 | 25 ++++-------
 io_uring/zcrx.h                 |  4 --
 net/core/devmem.c               | 77 +++++++++++++++------------------
 net/core/devmem.h               |  7 ++-
 net/core/page_pool_priv.h       | 14 +-----
 8 files changed, 108 insertions(+), 91 deletions(-)

-- 
2.53.0-Meta