diff options
author | Konstantin Taranov <kotaranov@microsoft.com> | 2024-01-23 02:22:59 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2024-03-27 01:17:25 +0300 |
commit | 2fca9516cb252de7284737ac04beb124863c9af7 (patch) | |
tree | b8a4dd71bcc0bb57d8c74ca2b5eeb36542c3ba9c /io_uring | |
parent | 2e7121552e3c84092e8f039c655224f2ded6abea (diff) | |
download | linux-2fca9516cb252de7284737ac04beb124863c9af7.tar.xz |
RDMA/mana_ib: Introduce mdev_to_gc helper function
[ Upstream commit 71c8cbfcdc8f1dc651b976d4c12dc9b9fce675c1 ]
Use a helper function to access gdma_context from mana_ib_dev.
This patch removes code repetitions as well as removes the need
to explicitly use gdma_dev, which was error-prone.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Link: https://lore.kernel.org/r/1705965781-3235-2-git-send-email-kotaranov@linux.microsoft.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Stable-dep-of: 2d5c00815778 ("RDMA/mana_ib: Use virtual address in dma regions for MRs")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions