IB/uverbs: Expose RSS related capabilities
authorYishai Hadas <yishaih@mellanox.com>
Sun, 28 Aug 2016 08:28:44 +0000 (11:28 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:12 +0000 (16:54 -0400)
commit47adf2f4f5805d075359fe6cbe3437612f7d4a34
tree71b115d2db3866eb8f708d77c14abc61c6a19fc2
parentccf20562601d2b911787ffa730ad96bb78269a9c
IB/uverbs: Expose RSS related capabilities

Query RSS related attributes and return them to user-space via the
extended query device uverbs command.

It includes both direct ones (i.e. struct ib_uverbs_rss_caps) and
max_wq_type_rq which may be used in both RSS and non RSS flows.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_cmd.c
include/uapi/rdma/ib_user_verbs.h