From: Leon Romanovsky Date: Thu, 17 Jan 2019 15:14:43 +0000 (+0200) Subject: rdma: Add unbound workqueue to list of poll context types X-Git-Tag: v5.1.0~27^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b058f969dfe2de3d8c973f2a8f009845ee55cfb0;p=thirdparty%2Fiproute2.git rdma: Add unbound workqueue to list of poll context types 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 Signed-off-by: David Ahern --- diff --git a/rdma/res.c b/rdma/res.c index cbb2efe6c..6b0f5fe35 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];