IB/mlx5: Expose RSS related capabilities
authorYishai Hadas <yishaih@mellanox.com>
Sun, 28 Aug 2016 08:28:45 +0000 (11:28 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:13 +0000 (16:54 -0400)
commit31f69a82b456e3ae9b5572961b4cc4ec971e9dc7
tree733f377cf7a1edb12e6b25d4b0097e32a41027ea
parent47adf2f4f5805d075359fe6cbe3437612f7d4a34
IB/mlx5: Expose RSS related capabilities

Expose RSS related capabilities on both IB and vendor channels.

In addition to the IB capabilities the driver reports some extra
capabilities on its vendor channel:
- Bit mask of the supported types of hash functions.
- Bit mask of the supported RX fields that can participate
  in the RX hashing.

Those capabilities are applicable only when the link layer
is Ethernet.

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/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/user.h