From: "Wei Hu (Xavier)" <xavier.huwei-WVlzvzqoTvw@public.gmane.org>
To: leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
xavier.huwei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
haifeng.wei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
charles.chenxin-hv44wF8Li93QT0dZR+AlfA@public.gmane.org,
xavier.huwei-WVlzvzqoTvw@public.gmane.org
Subject: [PATCH V2 rdma-core] libhns: Update the size and member order of hns_roce_create_qp structure
Date: Mon, 2 Oct 2017 04:17:09 +0800 [thread overview]
Message-ID: <1506889029-25168-1-git-send-email-xavier.huwei@tom.com> (raw)
From: "Wei Hu (Xavier)" <xavier.huwei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
In order to keep the size and member order with the
hns_roce_ib_create_qp sturcture of the kernel driver,
it needs to update hns_roce_create_qp's structure
members. Otherwise, it will run fail.
Signed-off-by: Lijun Ou <oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
---
Patch V2: Address comments by Jason:
https://patchwork.kernel.org/patch/9979299/
Patch V1: Initial Submit
---
providers/hns/hns_roce_u_abi.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/providers/hns/hns_roce_u_abi.h b/providers/hns/hns_roce_u_abi.h
index e78f967..2a57f46 100644
--- a/providers/hns/hns_roce_u_abi.h
+++ b/providers/hns/hns_roce_u_abi.h
@@ -61,8 +61,10 @@ struct hns_roce_create_cq_resp {
struct hns_roce_create_qp {
struct ibv_create_qp ibv_cmd;
__u64 buf_addr;
+ __u64 db_addr;
__u8 log_sq_bb_count;
__u8 log_sq_stride;
+ __u8 sq_no_prefetch;
__u8 reserved[5];
};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2017-10-01 20:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-01 20:17 Wei Hu (Xavier) [this message]
[not found] ` <1506889029-25168-1-git-send-email-xavier.huwei-WVlzvzqoTvw@public.gmane.org>
2017-10-02 5:51 ` [PATCH V2 rdma-core] libhns: Update the size and member order of hns_roce_create_qp structure Leon Romanovsky
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=1506889029-25168-1-git-send-email-xavier.huwei@tom.com \
--to=xavier.huwei-wvlzvzqotvw@public.gmane.org \
--cc=charles.chenxin-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=haifeng.wei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
--cc=xavier.huwei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
/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