* [PATCH iproute2-next] rdma: Add unbound workqueue to list of poll context types
@ 2019-01-17 15:14 Leon Romanovsky
2019-01-21 16:20 ` David Ahern
0 siblings, 1 reply; 2+ messages in thread
From: Leon Romanovsky @ 2019-01-17 15:14 UTC (permalink / raw)
To: David Ahern; +Cc: Leon Romanovsky, netdev, RDMA mailing list, Stephen Hemminger
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(-)
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];
--
2.19.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH iproute2-next] rdma: Add unbound workqueue to list of poll context types
2019-01-17 15:14 [PATCH iproute2-next] rdma: Add unbound workqueue to list of poll context types Leon Romanovsky
@ 2019-01-21 16:20 ` David Ahern
0 siblings, 0 replies; 2+ messages in thread
From: David Ahern @ 2019-01-21 16:20 UTC (permalink / raw)
To: Leon Romanovsky, David Ahern
Cc: Leon Romanovsky, netdev, RDMA mailing list, Stephen Hemminger
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-21 16:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-17 15:14 [PATCH iproute2-next] rdma: Add unbound workqueue to list of poll context types Leon Romanovsky
2019-01-21 16:20 ` David Ahern
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).