summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/erdma/erdma_main.c
diff options
context:
space:
mode:
authorCheng Xu <chengyou@linux.alibaba.com>2023-03-20 16:46:51 +0800
committerLeon Romanovsky <leon@kernel.org>2023-03-20 12:53:24 +0200
commit0dd83a4d7756713f81990d6c5547500f212a1190 (patch)
treea2d71c705a498a80459e79b6149b25ed165a9543 /drivers/infiniband/hw/erdma/erdma_main.c
parent6256aa9ae955d10ec73a434533ca62034eff1b76 (diff)
downloadlinux-stable-0dd83a4d7756713f81990d6c5547500f212a1190.tar.gz
linux-stable-0dd83a4d7756713f81990d6c5547500f212a1190.tar.bz2
linux-stable-0dd83a4d7756713f81990d6c5547500f212a1190.zip
RDMA/erdma: Inline mtt entries into WQE if supported
The max inline mtt count supported is ERDMA_MAX_INLINE_MTT_ENTRIES. When mr->mem.mtt_nents == ERDMA_MAX_INLINE_MTT_ENTRIES, inline mtt is also supported, fix it. Fixes: 155055771704 ("RDMA/erdma: Add verbs implementation") Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com> Link: https://lore.kernel.org/r/20230320084652.16807-4-chengyou@linux.alibaba.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/erdma/erdma_main.c')
0 files changed, 0 insertions, 0 deletions