IB/mlx5: Remove pa_lkey usages
authorSagi Grimberg <sagig@mellanox.com>
Thu, 24 Sep 2015 07:34:24 +0000 (10:34 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 25 Sep 2015 14:46:51 +0000 (10:46 -0400)
commit81fb5e26a9d05674c048803a20cb8f08a1b1c9b8
tree5af05ed065928dcef3383d76154dca8514419d72
parentc6790aa9f4fdc26b1246ba36da2fd749663beb65
IB/mlx5: Remove pa_lkey usages

Since mlx5 driver cannot rely on registration using the
reserved lkey (global_dma_lkey) it used to allocate a private
physical address lkey for each allocated pd.
Commit 96249d70dd70 ("IB/core: Guarantee that a local_dma_lkey
is available") just does it in the core layer so we can go ahead
and use that.

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