diff options
author | Daisuke Matsuda <matsuda-daisuke@fujitsu.com> | 2022-09-21 10:08:44 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-09-22 11:46:39 +0200 |
commit | 954afc5a8fd85745a27536e064eebaa34abf9a19 (patch) | |
tree | 78987c9b6bbc82e06fe907edc71eeb07b866d3f9 /drivers/infiniband/sw/rxe/rxe_verbs.h | |
parent | IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers (diff) | |
download | linux-954afc5a8fd85745a27536e064eebaa34abf9a19.tar.xz linux-954afc5a8fd85745a27536e064eebaa34abf9a19.zip |
RDMA/rxe: Use members of generic struct in rxe_mr
rxe_mr and ib_mr have interchangeable members. Remove device specific
members and use ones in the generic struct. Both 'iova' and 'length' are
filled in ib_uverbs or ib_core layer after MR registration.
Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Link: https://lore.kernel.org/r/20220921080844.1616883-2-matsuda-daisuke@fujitsu.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_verbs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h index a51819d0c345..5f5cbfcb3569 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.h +++ b/drivers/infiniband/sw/rxe/rxe_verbs.h @@ -305,8 +305,6 @@ struct rxe_mr { u32 rkey; enum rxe_mr_state state; enum ib_mr_type type; - u64 iova; - size_t length; u32 offset; int access; |