Skip to contentSkip to conversation

rdma: Add unbound workqueue to list of poll context types

PATCH Applied Leon Romanovsky 2 participants 2 messages Jan 17, 2019 – Jan 21, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 rdma/res.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rdma/res.c +1 -1
index cbb2efe6..6b0f5fe3 100644
@@ -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
Applied
#1 lore raw
Quoted 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.

---
 rdma/res.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

applied to iproute2-next. Thanks