IB/mlx4: Add validation to flow specifications parsing
authorMaor Gottlieb <maorg@mellanox.com>
Tue, 30 Aug 2016 13:58:30 +0000 (16:58 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:16 +0000 (16:54 -0400)
commit1f02a09c38043f1c003ddbd144b6da7f269d0ca1
tree0e4e40f5e74909e0fc473bf26878cf7826413695
parentcc0e5d42351de1f9233738697718d0eed4396536
IB/mlx4: 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/mlx4/main.c