V2 changes: 1. Collect tags from Bernard. 2. Use SIW_QP_STATE_COUNT for siw_qp_state_to_ib_qp_state. 3. Update commite message for the last patch. Thanks for Bernard's review! Hi, The first two patches try to reduce memory usage, the third one fix test_query_rc_qp failure, and the last one clean up code a bit. Please review. Thanks, Guoqing Guoqing Jiang (4): RDMA/siw: Move tx_cpu ahead RDMA/siw: Reduce memory usage of struct siw_rx_stream RDMA/siw: Set qp_state in siw_query_qp RDMA/siw: Call orq_get_current if possible drivers/infiniband/sw/siw/siw.h | 10 +++++----- drivers/infiniband/sw/siw/siw_verbs.c | 10 ++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-) base-commit: 50af5d12f7e24b85fc10270d7700f4aa1b20b8e4 -- 2.35.3