habanalabs: explicitly set the queue-id enumerated numbers
authorDotan Barak <dbarak@habana.ai>
Mon, 12 Aug 2019 07:23:33 +0000 (10:23 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 5 Sep 2019 11:55:27 +0000 (14:55 +0300)
commit4fd2cb15cd0894520422b3e7d9cf68b7e6548b13
tree682140bbcd025272ca5e113e3290d6bfa2c3347d
parent867b58ac9445570556150ec0cefc752313159f51
habanalabs: explicitly set the queue-id enumerated numbers

When looking at kernel log messages and when debugging user applications,
we only see the queue id. This patch explicitly set the queue id in the
queue enumeration which will be helpful for finding the queue name when we
have its id.

Signed-off-by: Dotan Barak <dbarak@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
include/uapi/misc/habanalabs.h