Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH RFC V2 0/6] rxe_map_mr_sg() fix cleanup and refactor
@ 2023-11-03  9:55 Li Zhijian
  2023-11-03  9:55 ` [PATCH RFC V2 1/6] RDMA/rxe: RDMA/rxe: don't allow registering !PAGE_SIZE mr Li Zhijian
                   ` (8 more replies)
  0 siblings, 9 replies; 25+ messages in thread
From: Li Zhijian @ 2023-11-03  9:55 UTC (permalink / raw)
  To: zyjzyj2000, jgg, leon, linux-rdma
  Cc: linux-kernel, rpearsonhpe, matsuda-daisuke, bvanassche, yi.zhang,
	Li Zhijian

I don't collect the Reviewed-by to the patch1-2 this time, since i
think we can make it better.

Patch1-2: Fix kernel panic[1] and benifit to make srp work again.
          Almost nothing change from V1.
Patch3-5: cleanups # newly add
Patch6: make RXE support PAGE_SIZE aligned mr # newly add, but not fully tested

My bad arm64 mechine offten hangs when doing blktests even though i use the
default siw driver.

- nvme and ULPs(rtrs, iser) always registers 4K mr still don't supported yet.

[1] https://lore.kernel.org/all/CAHj4cs9XRqE25jyVw9rj9YugffLn5+f=1znaBEnu1usLOciD+g@mail.gmail.com/T/

Li Zhijian (6):
  RDMA/rxe: RDMA/rxe: don't allow registering !PAGE_SIZE mr
  RDMA/rxe: set RXE_PAGE_SIZE_CAP to PAGE_SIZE
  RDMA/rxe: remove unused rxe_mr.page_shift
  RDMA/rxe: Use PAGE_SIZE and PAGE_SHIFT to extract address from
    page_list
  RDMA/rxe: cleanup rxe_mr.{page_size,page_shift}
  RDMA/rxe: Support PAGE_SIZE aligned MR

 drivers/infiniband/sw/rxe/rxe_mr.c    | 80 ++++++++++++++++-----------
 drivers/infiniband/sw/rxe/rxe_param.h |  2 +-
 drivers/infiniband/sw/rxe/rxe_verbs.h |  9 ---
 3 files changed, 48 insertions(+), 43 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2023-11-09 13:10 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03  9:55 [PATCH RFC V2 0/6] rxe_map_mr_sg() fix cleanup and refactor Li Zhijian
2023-11-03  9:55 ` [PATCH RFC V2 1/6] RDMA/rxe: RDMA/rxe: don't allow registering !PAGE_SIZE mr Li Zhijian
2023-11-03 10:14   ` Greg Sword
2023-11-03  9:55 ` [PATCH RFC V2 2/6] RDMA/rxe: set RXE_PAGE_SIZE_CAP to PAGE_SIZE Li Zhijian
2023-11-03  9:55 ` [PATCH RFC V2 3/6] RDMA/rxe: remove unused rxe_mr.page_shift Li Zhijian
2023-11-03  9:55 ` [PATCH RFC V2 4/6] RDMA/rxe: Use PAGE_SIZE and PAGE_SHIFT to extract address from page_list Li Zhijian
2023-11-03 17:59   ` Jason Gunthorpe
2023-11-03  9:55 ` [PATCH RFC V2 5/6] RDMA/rxe: cleanup rxe_mr.{page_size,page_shift} Li Zhijian
2023-11-03  9:55 ` [PATCH RFC V2 6/6] RDMA/rxe: Support PAGE_SIZE aligned MR Li Zhijian
2023-11-03 15:04   ` Bart Van Assche
2023-11-06  3:07     ` Zhijian Li (Fujitsu)
2023-11-03 10:17 ` [PATCH RFC V2 0/6] rxe_map_mr_sg() fix cleanup and refactor Greg Sword
2023-11-06  3:46   ` Zhijian Li (Fujitsu)
2023-11-03 13:00 ` Zhu Yanjun
2023-11-06  4:07   ` Zhijian Li (Fujitsu)
2023-11-06 13:58     ` Zhu Yanjun
2023-11-09  2:24       ` Zhijian Li (Fujitsu)
2023-11-09  6:36         ` Zhu Yanjun
2023-11-09  7:16         ` Greg Sword
2023-11-09  7:26           ` Zhijian Li (Fujitsu)
2023-11-09 13:10           ` Jason Gunthorpe
2023-11-06 14:13     ` Jason Gunthorpe
2023-11-06  7:59 ` Zhijian Li (Fujitsu)
2023-11-06  9:35   ` Greg Sword
2023-11-06  9:55     ` Zhijian Li (Fujitsu)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox