OSDN Git Service

IB/mlx4: Expose RSS capabilities
authorGuy Levi <guyle@mellanox.com>
Tue, 4 Jul 2017 13:24:27 +0000 (16:24 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 14:45:53 +0000 (10:45 -0400)
commit6afff1c7152f6f0787d7ad5de2e124f8643f0a45
treebda44d6216fe8b8c9d3ac8e3f01b218e79a03aef
parent3078f5f1bd8b6c8aef77b8ef4d49671fa6eb058e
IB/mlx4: Expose RSS capabilities

As a final step to support RSS feature, expose the RSS capabilities in
query device verb.

It includes:
- Max rwq indirection tables.
- Max rwq indirection table size.
- Supported qp types.

Signed-off-by: Guy Levi <guyle@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/main.c