]> 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)
commitd6053b79024949731723c277a02aff2177794562
tree029f2f776d51621ec689be3a2afae0647cadadeb
parente411ba78d3c8e207c0800c01009eb04c9c4e62b3
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