]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Remove unused MTT functions
authorXi Wang <wangxi11@huawei.com>
Tue, 28 Apr 2020 11:03:40 +0000 (19:03 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 May 2020 20:26:43 +0000 (17:26 -0300)
commit5f80773bdf3dd82b89b3d676a96508b0b45f4b1b
tree5be30ae2a8229fd17364b9db6b5bdeeab5b75089
parenta74d7181fa677720f3566f7841bf2ee5d16affef
RDMA/hns: Remove unused MTT functions

The MTT (Memory Translate Table) interface is no longer used to configure
the buffer address to BT (Base Address Table) that requires driver
mapping.  Because the MTT is not compatible with multi-hop addressing of
the hip08, it is replaced by MTR (Memory Translate Region) interface, and
all the MTT functions should be removed.

Link: https://lore.kernel.org/r/1588071823-40200-3-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_alloc.c
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hem.c
drivers/infiniband/hw/hns/hns_roce_hem.h
drivers/infiniband/hw/hns/hns_roce_main.c
drivers/infiniband/hw/hns/hns_roce_mr.c