Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Cheng Xu <chengyou@linux.alibaba.com>
Cc: leon@kernel.org, linux-rdma@vger.kernel.org,
	KaiShen@linux.alibaba.com, tonylu@linux.alibaba.com
Subject: Re: [PATCH v14 10/11] RDMA/erdma: Add the ABI definitions
Date: Wed, 27 Jul 2022 22:03:02 -0300	[thread overview]
Message-ID: <YuHgRkOkuU5itoIe@nvidia.com> (raw)
In-Reply-To: <20220727014927.76564-11-chengyou@linux.alibaba.com>

On Wed, Jul 27, 2022 at 09:49:26AM +0800, Cheng Xu wrote:
> Add erdma ABI definitions which will be shared between kernel and
> userspace. This commit also fix compile issues reported by lkp.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
> ---
>  include/uapi/rdma/erdma-abi.h | 49 +++++++++++++++++++++++++++++++++++
>  1 file changed, 49 insertions(+)
>  create mode 100644 include/uapi/rdma/erdma-abi.h
> 
> diff --git a/include/uapi/rdma/erdma-abi.h b/include/uapi/rdma/erdma-abi.h
> new file mode 100644
> index 000000000000..fcbaff1d84c3
> --- /dev/null
> +++ b/include/uapi/rdma/erdma-abi.h
> @@ -0,0 +1,49 @@
> +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
> +/*
> + * Copyright (c) 2020-2022, Alibaba Group.
> + */
> +
> +#ifndef __ERDMA_USER_H__
> +#define __ERDMA_USER_H__
> +
> +#include <linux/types.h>
> +
> +#define ERDMA_ABI_VERSION       1
> +
> +struct erdma_ureq_create_cq {
> +	__u64 db_record_va;
> +	__u64 qbuf_va;

These should all be __aligned_u64, I fixed it

Jason

  reply	other threads:[~2022-07-28 16:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27  1:49 [PATCH for-next v14 00/11] Elastic RDMA Adapter (ERDMA) driver Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 01/11] RDMA: Add ERDMA to rdma_driver_id definition Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 02/11] RDMA/erdma: Add the hardware related definitions Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 03/11] RDMA/erdma: Add main include file Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 04/11] RDMA/erdma: Add cmdq implementation Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 05/11] RDMA/erdma: Add event queue implementation Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 06/11] RDMA/erdma: Add verbs header file Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 07/11] RDMA/erdma: Add verbs implementation Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 08/11] RDMA/erdma: Add connection management (CM) support Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 09/11] RDMA/erdma: Add the erdma module Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 10/11] RDMA/erdma: Add the ABI definitions Cheng Xu
2022-07-28  1:03   ` Jason Gunthorpe [this message]
2022-07-29  6:04     ` [PATCH " Cheng Xu
2022-07-27  1:49 ` [PATCH for-next v14 11/11] RDMA/erdma: Add driver to kernel build environment Cheng Xu
2022-07-28  1:04 ` [PATCH v14 0/11] Elastic RDMA Adapter (ERDMA) driver Jason Gunthorpe
2022-07-29  6:07   ` Cheng Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YuHgRkOkuU5itoIe@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=KaiShen@linux.alibaba.com \
    --cc=chengyou@linux.alibaba.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=tonylu@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox