]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85cf7fa095bf1f72b6b25074d69122a9420b6654
tree733f377cf7a1edb12e6b25d4b0097e32a41027ea
parentdcbe466def52537ef119c2e1edabce5c98e94278
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