RDMA/erdma: Using the key in FMR WR instead of MR structure
authorCheng Xu <chengyou@linux.alibaba.com>
Wed, 10 Aug 2022 01:43:20 +0000 (09:43 +0800)
committerLeon Romanovsky <leonro@nvidia.com>
Tue, 16 Aug 2022 13:24:03 +0000 (16:24 +0300)
commit1374901b850c8f2ff1ee0e62ffafbc4030572fc6
tree246579e7171d067e5d9932212bbf70a773aafb6f
parentef0162298abf46b881e4a4d0c604d1a066228647
RDMA/erdma: Using the key in FMR WR instead of MR structure

RDMA driver should get the MR key from FMR WR, not the MR structure passed
in.

Fixes: 155055771704 ("RDMA/erdma: Add verbs implementation")
Link: https://lore.kernel.org/r/20220810014320.88026-2-chengyou@linux.alibaba.com
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/erdma/erdma_qp.c