From: Leon Romanovsky <leon@kernel.org>
To: David Ahern <dsahern@gmail.com>
Cc: Neta Ostrovsky <netao@nvidia.com>, Ido Kalir <idok@nvidia.com>,
linux-netdev <netdev@vger.kernel.org>,
Mark Zhang <markz@mellanox.com>,
RDMA mailing list <linux-rdma@vger.kernel.org>
Subject: [PATCH iproute2-next 1/3] rdma: Update uapi headers
Date: Sun, 25 Apr 2021 14:53:20 +0300 [thread overview]
Message-ID: <dc6ed9c5e6e5247dd65303bdc6d2898d0f90e714.1619351025.git.leonro@nvidia.com> (raw)
In-Reply-To: <cover.1619351025.git.leonro@nvidia.com>
From: Neta Ostrovsky <netao@nvidia.com>
Update rdma_netlink.h file upto kernel commit c6c11ad3ab9f
("RDMA/nldev: Add QP numbers to SRQ information")
Reviewed-by: Mark Zhang <markz@mellanox.com>
Signed-off-by: Neta Ostrovsky <netao@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
rdma/include/uapi/rdma/rdma_netlink.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/rdma/include/uapi/rdma/rdma_netlink.h b/rdma/include/uapi/rdma/rdma_netlink.h
index 4aef76ae..e161c245 100644
--- a/rdma/include/uapi/rdma/rdma_netlink.h
+++ b/rdma/include/uapi/rdma/rdma_netlink.h
@@ -293,6 +293,10 @@ enum rdma_nldev_command {
RDMA_NLDEV_CMD_RES_MR_GET_RAW,
+ RDMA_NLDEV_CMD_RES_CTX_GET, /* can dump */
+
+ RDMA_NLDEV_CMD_RES_SRQ_GET, /* can dump */
+
RDMA_NLDEV_NUM_OPS
};
@@ -533,6 +537,15 @@ enum rdma_nldev_attr {
RDMA_NLDEV_ATTR_RES_RAW, /* binary */
+ RDMA_NLDEV_ATTR_RES_CTX, /* nested table */
+ RDMA_NLDEV_ATTR_RES_CTX_ENTRY, /* nested table */
+
+ RDMA_NLDEV_ATTR_RES_SRQ, /* nested table */
+ RDMA_NLDEV_ATTR_RES_SRQ_ENTRY, /* nested table */
+ RDMA_NLDEV_ATTR_RES_SRQN, /* u32 */
+
+ RDMA_NLDEV_ATTR_MIN_RANGE, /* u32 */
+ RDMA_NLDEV_ATTR_MAX_RANGE, /* u32 */
/*
* Always the end
*/
--
2.30.2
next prev parent reply other threads:[~2021-04-25 11:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-25 11:53 [PATCH iproute2-next 0/3] Add context and SRQ information to rdmatool Leon Romanovsky
2021-04-25 11:53 ` Leon Romanovsky [this message]
2021-04-25 11:53 ` [PATCH iproute2-next 2/3] rdma: Add context resource tracking information Leon Romanovsky
2021-04-25 11:53 ` [PATCH iproute2-next 3/3] rdma: Add SRQ " Leon Romanovsky
2021-04-28 15:38 ` [PATCH iproute2-next 0/3] Add context and SRQ information to rdmatool David Ahern
-- strict thread matches above, loose matches on Subject: below --
2023-10-19 8:21 [PATCH iproute2-next 0/3] Add support to set privileged qkey parameter Patrisious Haddad
2023-10-19 8:21 ` [PATCH iproute2-next 1/3] rdma: update uapi headers Patrisious Haddad
2021-09-21 6:27 [PATCH iproute2-next 0/3] Optional counter statistics support Mark Zhang
2021-09-21 6:27 ` [PATCH iproute2-next 1/3] rdma: Update uapi headers Mark Zhang
2020-08-04 8:49 [PATCH iproute2-next 0/3] Global per-type support for QP counters Leon Romanovsky
2020-08-04 8:49 ` [PATCH iproute2-next 1/3] rdma: update uapi headers 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=dc6ed9c5e6e5247dd65303bdc6d2898d0f90e714.1619351025.git.leonro@nvidia.com \
--to=leon@kernel.org \
--cc=dsahern@gmail.com \
--cc=idok@nvidia.com \
--cc=linux-rdma@vger.kernel.org \
--cc=markz@mellanox.com \
--cc=netao@nvidia.com \
--cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).