]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
rdma: Add unbound workqueue to list of poll context types
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 17 Jan 2019 15:14:43 +0000 (17:14 +0200)
committerDavid Ahern <dsahern@gmail.com>
Mon, 21 Jan 2019 16:19:44 +0000 (08:19 -0800)
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>
Signed-off-by: David Ahern <dsahern@gmail.com>
rdma/res.c

index cbb2efe6c7235df2f4afe2c73a984c2f9ec7ac52..6b0f5fe35f74063af758241a8069829292bc5cca 100644 (file)
@@ -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];