]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Expose correct max_fast_reg_page_list_len
authorSagi Grimberg <sagig@mellanox.com>
Thu, 3 Mar 2016 11:37:51 +0000 (13:37 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 4 Mar 2016 16:59:34 +0000 (11:59 -0500)
commit9545a5b345fa94a4f1fedb141126761dc6079193
tree09d2f965f09b50e842eeb9b52fe41bb8290e2bea
parent7cec62b4c72d54874c367999160f56a9fde8fa1d
IB/mlx5: Expose correct max_fast_reg_page_list_len

While documentation indicates that the number of translation
entries per memory key is unlimited, in practice, we can
only fit a finite amount of translation entries in a single
registration wqe (which is log_max_klm_list_size).

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c