diff options
author | Xi Wang <wangxi11@huawei.com> | 2020-03-10 19:18:04 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-03-18 10:23:12 -0300 |
commit | d6a3627e311c5488539150614fedaea5e3103235 (patch) | |
tree | 0164980b29d6b962de7070afff749eab174cb191 /fs | |
parent | 1133401412a9c05cbc2b697e692c578419c14a7c (diff) | |
download | linux-d6a3627e311c5488539150614fedaea5e3103235.tar.gz linux-d6a3627e311c5488539150614fedaea5e3103235.tar.bz2 linux-d6a3627e311c5488539150614fedaea5e3103235.zip |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions