OSDN Git Service

IB/mlx5: Verify that driver supports user flags
authorYonatan Cohen <yonatanc@mellanox.com>
Tue, 9 Oct 2018 09:05:14 +0000 (12:05 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 17 Oct 2018 15:25:41 +0000 (11:25 -0400)
commit2e43bb31b8df662f591a7e80270ca3acda44bb48
tree432a6d027e24fe9656b0b59425f34a969e614b98
parent5d6ff1babe78034f0cf8e5f7bf312a257e5574cc
IB/mlx5: Verify that driver supports user flags

Flags sent down from user might not be supported by
running driver.
This might lead to unwanted bugs.
To solve this, added macro to test for unsupported flags.

Signed-off-by: Yonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/qp.c