On Sun, Nov 06, 2022 at 07:46:23PM +0200, Yishai Hadas wrote: > @@ -1047,7 +1045,7 @@ static int mlx5vf_alloc_qp_recv_resources(struct mlx5_core_dev *mdev, > if (err) > goto end; > > - err = _create_mkey(mdev, pdn, NULL, recv_buf, &recv_buf->mkey); > + err = _create_mkey(mdev, pdn, NULL, recv_buf, &recv_buf->mkey, 0); This seems pretty goofy, a 0 length means use the length in the recv_buf? Jason