]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47bbeda2f26d0ceef654ec44625c4d466580e54e
treebef0ee616295773f124c08be71badb2e790e09c7
parentd27f5353c43614dd9d2f135ca97cd755c743e057
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