From patchwork Sun Dec 3 09:26:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guoqing Jiang X-Patchwork-Id: 13477217 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Dwx4bOk+" Received: from out-174.mta1.migadu.com (out-174.mta1.migadu.com [IPv6:2001:41d0:203:375::ae]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3724E7 for ; Sun, 3 Dec 2023 01:27:35 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1701595652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=s0TikuCYyL5y892f4EYxpW1CHdKFinNLwfVUKbsLwRA=; b=Dwx4bOk+uBiPNkKBdKWSZrYY+Zj29gAxvL9xjjedz4ZbDr7cnCJKWXg7U64mXabSBL3ceC RcW57DZpiD//cDS5KOJoF3Ad4JMsDW9v6jwW2CabAvsbT9MG0ReP21qtyHJGsVvIdwYipT RFBjwGULQOc1dU8245nUF/+kk1wIk5k= From: Guoqing Jiang To: bmt@zurich.ibm.com, jgg@ziepe.ca, leon@kernel.org Cc: linux-rdma@vger.kernel.org, guoqing.jiang@linux.dev Subject: [PATCH V2 0/4] Misc changes for siw Date: Sun, 3 Dec 2023 17:26:51 +0800 Message-Id: <20231203092655.28102-1-guoqing.jiang@linux.dev> Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT 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