V3 changes: 1. add Acked-by tags. 2. drop 2 patches and address other comments. Appreciate for Bernard's review! V2 changes: 1. address W=1 warning in patch 12 and 19 per the report from lkp. 2. add one more patch (20th). Hi, This series aim to cleanup siw code, please review and comment! Thanks, Guoqing Guoqing Jiang (18): RDMA/siw: Introduce siw_get_page RDMA/siw: Introduce siw_update_skb_rcvd RDMA/siw: Use iov.iov_len in kernel_sendmsg RDMA/siw: Remove goto lable in siw_mmap RDMA/siw: Remove rcu from siw_qp RDMA/siw: No need to check term_info.valid before call siw_send_terminate RDMA/siw: Also goto out_sem_up if pin_user_pages returns 0 RDMA/siw: Factor out siw_generic_rx helper RDMA/siw: Introduce SIW_STAG_MAX_INDEX RDMA/siw: Add one parameter to siw_destroy_cpulist RDMA/siw: Introduce siw_cep_set_free_and_put RDMA/siw: Introduce siw_free_cm_id RDMA/siw: Cleanup siw_accept RDMA/siw: Remove siw_sk_save_upcalls RDMA/siw: Fix typo RDMA/siw: Only check attrs->cap.max_send_wr in siw_create_qp RDMA/siw: Introduce siw_destroy_cep_sock RDMA/siw: Update comments for siw_qp_sq_process drivers/infiniband/sw/siw/siw.h | 1 - drivers/infiniband/sw/siw/siw_cm.c | 149 +++++++++++--------------- drivers/infiniband/sw/siw/siw_main.c | 30 +++--- drivers/infiniband/sw/siw/siw_mem.c | 14 +-- drivers/infiniband/sw/siw/siw_qp.c | 2 +- drivers/infiniband/sw/siw/siw_qp_rx.c | 84 ++++++--------- drivers/infiniband/sw/siw/siw_qp_tx.c | 39 +++---- drivers/infiniband/sw/siw/siw_verbs.c | 23 ++-- 8 files changed, 136 insertions(+), 206 deletions(-) base-commit: 7a1c2abf9a2be7d969b25e8d65567933335ca88e -- 2.35.3