]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/hns: Add mtr support for mixed multihop addressing
authorLijun Ou <oulijun@huawei.com>
Sat, 8 Jun 2019 06:46:08 +0000 (14:46 +0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Jun 2019 16:56:34 +0000 (12:56 -0400)
commit38389eaa4db192648916464b60f6086d6bbaa6de
tree339d25c218c05c8de155f81b4ebf8285532d52a8
parent696de2e9ccec812eae8c85bd24c75bcb12104750
RDMA/hns: Add mtr support for mixed multihop addressing

Currently, the MTT(memory translate table) design required a buffer
space must has the same hopnum, but the hip08 hw can support mixed
hopnum config in a buffer space.

This patch adds the MTR(memory translate region) design for supporting
mixed multihop.

Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
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_mr.c