Codes about getting/putting HEM(Hardware Entry Memory) in multi-hop addressing are not clear enough, so optimize by spliting and encapsulating them into new functions. Xi Wang (2): RDMA/hns: Optimize mhop get flow for multi-hop addressing RDMA/hns: Optimize mhop put flow for multi-hop addressing drivers/infiniband/hw/hns/hns_roce_hem.c | 458 ++++++++++++++++--------------- 1 file changed, 243 insertions(+), 215 deletions(-) -- 2.8.1