RDMA/mlx5: Create flow table with max size supported
authorMark Bloch <markb@mellanox.com>
Thu, 28 Mar 2019 13:46:22 +0000 (15:46 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 22 Apr 2019 18:24:05 +0000 (15:24 -0300)
commit3b70508a6bfbdc78b565e9da22fd98483263494e
treeceaead249f64755bddffe3513d46fd1272aaddfc
parent13a4376568f6e3a6df21e4c116b027101e28f954
RDMA/mlx5: Create flow table with max size supported

Instead of failing the request, just use the supported number of flow
entries.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c