Home
last modified time | relevance | path

Searched hist:"0 dd83a4d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_qp.c0dd83a4d Mon Mar 20 03:46:51 CDT 2023 Cheng Xu <chengyou@linux.alibaba.com> 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>