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 <leonro@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
Leon Romanovsky 2019-01-17 17:14:43 +02:00 committed by David Ahern
parent 54a0ade6d4
commit b058f969df
1 changed files with 1 additions and 1 deletions

View 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 *poll_ctx_to_str(uint8_t idx)
{ {
static const char * const cm_id_states_str[] = { static const char * const cm_id_states_str[] = {
"DIRECT", "SOFTIRQ", "WORKQUEUE"}; "DIRECT", "SOFTIRQ", "WORKQUEUE", "UNBOUND_WORKQUEUE"};
if (idx < ARRAY_SIZE(cm_id_states_str)) if (idx < ARRAY_SIZE(cm_id_states_str))
return cm_id_states_str[idx]; return cm_id_states_str[idx];