IB/mlx5: Check BlueFlame HCA support
authorNoa Osherovich <noaos@mellanox.com>
Sat, 4 Jun 2016 12:15:33 +0000 (15:15 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 7 Jun 2016 14:03:50 +0000 (10:03 -0400)
commit2cc6ad5f2130733e561f97dba7a2052f8ea024aa
treed30e43d8ec262585f7df866695bb5c64ef274df6
parent0540d8148d419bf769e5aa99c77027febd8922f0
IB/mlx5: Check BlueFlame HCA support

BlueFlame support is reported only for PFs when the HCA capability is
on.

Fixes: 938fe83c8dcbb ('net/mlx5_core: New device capabilities...')
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c