[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1721126889-22770-1-git-send-email-kotaranov@linux.microsoft.com>
Date: Tue, 16 Jul 2024 03:48:09 -0700
From: Konstantin Taranov <kotaranov@...ux.microsoft.com>
To: kotaranov@...rosoft.com,
weh@...rosoft.com,
sharmaajay@...rosoft.com,
longli@...rosoft.com,
jgg@...pe.ca,
leon@...nel.org
Cc: linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH rdma-next 1/1] RDMA/mana_ib: indicate that inline data is not supported
From: Konstantin Taranov <kotaranov@...rosoft.com>
Set max_inline_data to zero during RC QP creation.
Fixes: fdefb9184962 ("RDMA/mana_ib: Implement uapi to create and destroy RC QP")
Signed-off-by: Konstantin Taranov <kotaranov@...rosoft.com>
---
drivers/infiniband/hw/mana/qp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/infiniband/hw/mana/qp.c b/drivers/infiniband/hw/mana/qp.c
index 73d67c853b6f..d9f24a763e72 100644
--- a/drivers/infiniband/hw/mana/qp.c
+++ b/drivers/infiniband/hw/mana/qp.c
@@ -426,6 +426,8 @@ static int mana_ib_create_rc_qp(struct ib_qp *ibqp, struct ib_pd *ibpd,
u64 flags = 0;
u32 doorbell;
+ /* inline data is not supported */
+ attr->cap.max_inline_data = 0;
if (!udata || udata->inlen < sizeof(ucmd))
return -EINVAL;
--
2.43.0
Powered by blists - more mailing lists