IB/mlx4: Check for egress flow steering
authorBoris Pismenny <borisp@mellanox.com>
Wed, 28 Mar 2018 06:27:43 +0000 (09:27 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 4 Apr 2018 18:06:24 +0000 (12:06 -0600)
commit8510020d2916b9f7d8e406aa2fb2d35fbe692f4d
treef809f7f17088e1a575b8d41aaf522e1f9972d98b
parent494c5580aa6721874a6d9d62dac1c94e83e79302
IB/mlx4: Check for egress flow steering

ConnectX3 doesn't support egress flow steering. Return an EOPNOTSUPP
error when such a flow is being created.

Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Reviewed-by: Aviad Yehezkel <aviadye@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx4/main.c