Skip to content

Commit bb3ecf3

Browse files
committed
libibverbs: Fix create CQ max number of attributes
With CQ creation with external memory support the max number of attributes was increased but was left unchanged in the cmd declaration. Fixes: 8d0ce82 ("libibverbs: Add option to pass CQ buffers to kernel") Signed-off-by: Yonatan Nachum <[email protected]>
1 parent f544285 commit bb3ecf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libibverbs/cmd_cq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static int ibv_icmd_create_cq(struct ibv_context *context, int cqe,
4040
struct ibv_command_buffer *link,
4141
uint32_t cmd_flags)
4242
{
43-
DECLARE_FBCMD_BUFFER(cmdb, UVERBS_OBJECT_CQ, UVERBS_METHOD_CQ_CREATE, 8, link);
43+
DECLARE_FBCMD_BUFFER(cmdb, UVERBS_OBJECT_CQ, UVERBS_METHOD_CQ_CREATE, 11, link);
4444
struct verbs_ex_private *priv = get_priv(context);
4545
struct ib_uverbs_attr *handle;
4646
struct ib_uverbs_attr *async_fd_attr;

0 commit comments

Comments
 (0)