summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/i40iw/i40iw_main.c
diff options
context:
space:
mode:
authorXi Wang <wangxi11@huawei.com>2020-01-26 22:58:35 +0800
committerJason Gunthorpe <jgg@mellanox.com>2020-02-11 14:12:43 -0400
commitd7e2d3432ae7795e5b77a77039e904ed4a769f39 (patch)
tree9bd17116b3e7a6988a82455e38ae68f14940d733 /drivers/infiniband/hw/i40iw/i40iw_main.c
parentb14c95bee83537aff423cece4ae6078759bc6f34 (diff)
downloadlinux-d7e2d3432ae7795e5b77a77039e904ed4a769f39.tar.gz
linux-d7e2d3432ae7795e5b77a77039e904ed4a769f39.tar.bz2
linux-d7e2d3432ae7795e5b77a77039e904ed4a769f39.zip
RDMA/hns: Optimize eqe buffer allocation flow
The eqe has a private multi-hop addressing implementation, but there is already a set of interfaces in the hns driver that can achieve this. So, simplify the eqe buffer allocation process by using the mtr interface and remove large amount of repeated logic. Link: https://lore.kernel.org/r/20200126145835.11368-1-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>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_main.c')
0 files changed, 0 insertions, 0 deletions