]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Set flow steering capability bit
authorMaor Gottlieb <maorg@mellanox.com>
Sat, 4 Jun 2016 12:15:28 +0000 (15:15 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 7 Jun 2016 14:03:49 +0000 (10:03 -0400)
commit55cafb867f22af33051c29e97005e4343d2e286b
tree029f2f776d51621ec689be3a2afae0647cadadeb
parentb9bb48ec9b0c9dff8f83039763bb2fbebadb7a05
IB/mlx5: Set flow steering capability bit

Flow steering is supported by mlx5 device when the following
features are supported by firmware:

1. NIC RX flow table.
2. Device has enough flow steering levels.
3. Atomic modification of flow table entry.
4. Flow tables chaining.

To check if flow steering is supported it's enough to check
if the driver opened the mlx5 bypass namespace.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c