Home
last modified time | relevance | path

Searched hist:"102 d2f70" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv.c102d2f70 Thu Nov 17 04:19:40 CST 2022 Guoqing Jiang <guoqing.jiang@linux.dev> RDMA/rtrs-srv: Correct the checking of ib_map_mr_sg

We should check with nr_sgt, also the only successful case is that
all sg elements are mapped, so make it explicitly.

Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20221117101945.6317-4-guoqing.jiang@linux.dev
Signed-off-by: Leon Romanovsky <leon@kernel.org>