mlx4, mlx5, mthca: Expose max_sge_rd correctly
authorSagi Grimberg <sagig@mellanox.com>
Mon, 27 Jul 2015 23:10:01 +0000 (18:10 -0500)
committerDoug Ledford <dledford@redhat.com>
Sat, 29 Aug 2015 03:02:10 +0000 (23:02 -0400)
commit18ebd40773bf500054a5e079e71cd13aafd1b6eb
treebef0ee616295773f124c08be71badb2e790e09c7
parenta724648e8a8f7ff874f0d58491b39517718c7237
mlx4, mlx5, mthca: Expose max_sge_rd correctly

Applications must not assume that max_sge and max_sge_rd are the same,
Hence expose max_sge_rd correctly as well.

Reported-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mthca/mthca_provider.c