IB/mlx5: Add validation to flow specifications parsing
authorMaor Gottlieb <maorg@mellanox.com>
Tue, 30 Aug 2016 13:58:31 +0000 (16:58 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:17 +0000 (16:54 -0400)
commitc47ac6aee6df4dc17460f56dd66af0a271e8392c
tree773c6889faad572d1d260f4509afdb0b40af1b70
parent1f02a09c38043f1c003ddbd144b6da7f269d0ca1
IB/mlx5: Add validation to flow specifications parsing

Add validation check that all set fields in flow specification
are supported by vendor.

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