On Fri, Mar 06, 2020 at 10:44:54AM +0800, Weihang Li wrote: > From: Xi Wang <wangxi11@xxxxxxxxxx> > > Splits hns_roce_v2_post_send() into three sub-functions: set_rc_wqe(), > set_ud_wqe() and update_sq_db() to simplify the code. > > Signed-off-by: Xi Wang <wangxi11@xxxxxxxxxx> > Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx> > --- > drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 472 ++++++++++++++--------------- > 1 file changed, 224 insertions(+), 248 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>