]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Support 0 hop addressing for WQE buffer
authorXi Wang <wangxi11@huawei.com>
Mon, 13 Apr 2020 11:58:09 +0000 (19:58 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 22 Apr 2020 18:59:54 +0000 (15:59 -0300)
commit6a5741538602c5307eb0b8da2c0760ea6cb59fee
tree91804ca16dd271329cf0ac2854b0c3160ac2ea8d
parentb55ff07451eaa0ff6272ec0ef539779d51247c14
RDMA/hns: Support 0 hop addressing for WQE buffer

Add the zero hop addressing support by using new mtr interface for WQE
buffer and simple mtr invoking process, so WQE buffer can support hopnum
between 0 to 3.

Link: https://lore.kernel.org/r/1586779091-51410-5-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_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_qp.c