commit | d6a3627e311c5488539150614fedaea5e3103235 | [log] [tgz] |
---|---|---|
author | Xi Wang <wangxi11@huawei.com> | Tue Mar 10 19:18:04 2020 +0800 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Wed Mar 18 10:23:12 2020 -0300 |
tree | 0164980b29d6b962de7070afff749eab174cb191 | |
parent | 1133401412a9c05cbc2b697e692c578419c14a7c [diff] |
RDMA/hns: Optimize wqe buffer set flow for post send Splits hns_roce_v2_post_send() into three sub-functions: set_rc_wqe(), set_ud_wqe() and update_sq_db() to simplify the code. Link: https://lore.kernel.org/r/1583839084-31579-6-git-send-email-liweihang@huawei.com Signed-off-by: Xi Wang <wangxi11@huawei.com> Signed-off-by: Weihang Li <liweihang@huawei.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>