Re: [PATCH RFC V2 0/6] rxe_map_mr_sg() fix cleanup and refactor
From: Zhijian Li (Fujitsu)
Date: Sun Nov 05 2023 - 22:47:08 EST
On 03/11/2023 18:17, Greg Sword wrote:
> On Fri, Nov 3, 2023 at 5:58 PM Li Zhijian <lizhijian@xxxxxxxxxxx> wrote:
>>
>> 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
>
> Do some work. Do not use these rubbish patch to waste our time.
So sorry about this. Of course, any other proposals are welcomed.
>
>>
>> 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@xxxxxxxxxxxxxx/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
>>