Skip to content

net/smc: buffer allocation and registration improvements

D. Wythe linux-mm linux-rdma linux-s390 lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/smc: cap allocation order for SMC-R physically contiguous buffersnet/smc/smc_core.c+16 -122 replies
2/3mm: vmalloc: export find_vm_area()mm/vmalloc.c+1 -022 replies
3/3net/smc: optimize MTTE consumption for SMC-R buffersnet/smc/smc_core.c net/smc/smc_ib.c+22 -42 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDust LiAlexandra Winter
1/3R-b R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net/smc: buffer allocation and registration improvements

This series improves SMC-R buffer management by refining the allocation logic and reducing hardware resource overhead during registration.

The primary improvement is the significant reduction in MTTE consumption. By aligning IB registration with the actual physical block sizes, we can reduce the entry count from one per 4KB page to just one per contiguous block. This is especially beneficial for large buffers, preventing hardware resource exhaustion on RDMA NICs.

D. Wythe (3):
net/smc: cap allocation order for SMC-R physically contiguous buffers
mm: vmalloc: export find_vm_area()
net/smc: optimize MTTE consumption for SMC-R buffers

 mm/vmalloc.c       |  1 +
 net/smc/smc_core.c | 31 ++++++++++++++++++-------------
 net/smc/smc_ib.c   | 23 ++++++++++++++++++++---
 3 files changed, 39 insertions(+), 16 deletions(-)
Signature · 1 line
2.45.0