rdma: Add unbound workqueue to list of poll context types
Subsystems (3)
PATCH 1/1 rdma: Add unbound workqueue to list of poll context types
From: Leon Romanovsky <[email protected]>
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 <[email protected]>
--- rdma/res.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
rdma/res.c +1 -1
@@ -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];
Signature · 1 line
2.19.1
David Ahern
AppliedQuoted 9 lines · Leon Romanovsky
From: Leon Romanovsky <[email protected]>
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 <[email protected]>--- rdma/res.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied to iproute2-next. Thanks