From: Leon Romanovsky <leon@kernel.org>
To: David Ahern <dsahern@gmail.com>
Cc: Mark Zhang <markz@mellanox.com>,
Doug Ledford <dledford@redhat.com>, Ido Kalir <idok@mellanox.com>,
Jason Gunthorpe <jgg@mellanox.com>,
linux-netdev <netdev@vger.kernel.org>,
RDMA mailing list <linux-rdma@vger.kernel.org>
Subject: [PATCH iproute2-next 1/3] rdma: update uapi headers
Date: Tue, 4 Aug 2020 11:49:07 +0300 [thread overview]
Message-ID: <20200804084909.604846-2-leon@kernel.org> (raw)
In-Reply-To: <20200804084909.604846-1-leon@kernel.org>
From: Mark Zhang <markz@mellanox.com>
Update rdma_netlink.h file upto kernel commit 76251e15ea73
("RDMA/counter: Add PID category support in auto mode")
Signed-off-by: Mark Zhang <markz@mellanox.com>
Reviewed-by: Ido Kalir <idok@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
---
rdma/include/uapi/rdma/rdma_netlink.h | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/rdma/include/uapi/rdma/rdma_netlink.h b/rdma/include/uapi/rdma/rdma_netlink.h
index fe127b88..4aef76ae 100644
--- a/rdma/include/uapi/rdma/rdma_netlink.h
+++ b/rdma/include/uapi/rdma/rdma_netlink.h
@@ -287,11 +287,11 @@ enum rdma_nldev_command {
RDMA_NLDEV_CMD_STAT_DEL,
- RDMA_NLDEV_CMD_RES_QP_GET_RAW, /* can dump */
+ RDMA_NLDEV_CMD_RES_QP_GET_RAW,
- RDMA_NLDEV_CMD_RES_CQ_GET_RAW, /* can dump */
+ RDMA_NLDEV_CMD_RES_CQ_GET_RAW,
- RDMA_NLDEV_CMD_RES_MR_GET_RAW, /* can dump */
+ RDMA_NLDEV_CMD_RES_MR_GET_RAW,
RDMA_NLDEV_NUM_OPS
};
@@ -531,7 +531,7 @@ enum rdma_nldev_attr {
*/
RDMA_NLDEV_ATTR_DEV_DIM, /* u8 */
- RDMA_NLDEV_ATTR_RES_RAW, /* binary */
+ RDMA_NLDEV_ATTR_RES_RAW, /* binary */
/*
* Always the end
@@ -569,5 +569,6 @@ enum rdma_nl_counter_mode {
*/
enum rdma_nl_counter_mask {
RDMA_COUNTER_MASK_QP_TYPE = 1,
+ RDMA_COUNTER_MASK_PID = 1 << 1,
};
#endif /* _RDMA_NETLINK_H */
--
2.26.2
next prev parent reply other threads:[~2020-08-04 8:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-04 8:49 [PATCH iproute2-next 0/3] Global per-type support for QP counters Leon Romanovsky
2020-08-04 8:49 ` Leon Romanovsky [this message]
2020-08-04 8:49 ` [PATCH iproute2-next 2/3] rdma: Add "PID" criteria support for statistic counter auto mode Leon Romanovsky
2020-08-04 8:49 ` [PATCH iproute2-next 3/3] rdma: Document the new "pid" criteria for " Leon Romanovsky
2020-08-06 16:27 ` [PATCH iproute2-next 0/3] Global per-type support for QP counters David Ahern
-- strict thread matches above, loose matches on Subject: below --
2021-04-25 11:53 [PATCH iproute2-next 0/3] Add context and SRQ information to rdmatool Leon Romanovsky
2021-04-25 11:53 ` [PATCH iproute2-next 1/3] rdma: Update uapi headers Leon Romanovsky
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
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
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=20200804084909.604846-2-leon@kernel.org \
--to=leon@kernel.org \
--cc=dledford@redhat.com \
--cc=dsahern@gmail.com \
--cc=idok@mellanox.com \
--cc=jgg@mellanox.com \
--cc=linux-rdma@vger.kernel.org \
--cc=markz@mellanox.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.