diff mbox series

[iproute2-next] rdma: Add unbound workqueue to list of poll context types

Message ID 20190117151443.25368-1-leon@kernel.org
State Accepted
Delegated to: David Ahern
Headers show
Series [iproute2-next] rdma: Add unbound workqueue to list of poll context types | expand

Commit Message

Leon Romanovsky Jan. 17, 2019, 3:14 p.m. UTC
From: Leon Romanovsky <leonro@mellanox.com>

Kernel commit f794809a7259 ("IB/core: Add an unbound WQ type to the new CQ API")
added new CQ poll context type, reflect this change in rdmatool.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
---
 rdma/res.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Ahern Jan. 21, 2019, 4:20 p.m. UTC | #1
On 1/17/19 8:14 AM, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
> 
> Kernel commit f794809a7259 ("IB/core: Add an unbound WQ type to the new CQ API")
> added new CQ poll context type, reflect this change in rdmatool.
> 
> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
> ---
>  rdma/res.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied to iproute2-next. Thanks
diff mbox series

Patch

diff --git a/rdma/res.c b/rdma/res.c
index cbb2efe6..6b0f5fe3 100644
--- a/rdma/res.c
+++ b/rdma/res.c
@@ -703,7 +703,7 @@  static void print_users(struct rd *rd, uint64_t val)
 static const char *poll_ctx_to_str(uint8_t idx)
 {
 	static const char * const cm_id_states_str[] = {
-		"DIRECT", "SOFTIRQ", "WORKQUEUE"};
+		"DIRECT", "SOFTIRQ", "WORKQUEUE", "UNBOUND_WORKQUEUE"};
 
 	if (idx < ARRAY_SIZE(cm_id_states_str))
 		return cm_id_states_str[idx];