Skip to content

Commit 240a4f7

Browse files
committed
bnxt_re/lib: Fix the num_attrs used in bnxt_re_get_toggle_mem uapi
bnxt_re_get_toggle_mem has 6 arguments. Fixing the wrong num arguments passed. Fixes: d5d79c8 ("bnxt_re/lib: Get the shared CQ toggle page") Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
1 parent bbcdc3b commit 240a4f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

providers/bnxt_re/verbs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ int bnxt_re_get_toggle_mem(struct ibv_context *ibvctx,
122122
DECLARE_COMMAND_BUFFER(cmd,
123123
BNXT_RE_OBJECT_GET_TOGGLE_MEM,
124124
BNXT_RE_METHOD_GET_TOGGLE_MEM,
125-
4);
125+
6);
126126
struct ib_uverbs_attr *handle;
127127
int ret;
128128

0 commit comments

Comments
 (0)