From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-119.freemail.mail.aliyun.com (out30-119.freemail.mail.aliyun.com [115.124.30.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0AAFB36605D; Fri, 8 May 2026 06:37:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.119 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778222261; cv=none; b=IHz6nnkUyMsQRccP1iIwGg/8+s7p0I2rxCVdlCO6m09nLRRh0ueRJPXQg18YCY/y0wYZETGez/Fll1dAblfPPc0T3Ac3bcDx5yMCovY5E4FJPVPdH0we7DGkp9pwHD0SwlQ2c1vCZWlJ1MIACSFZeFv4lf8ixv3XrZ/wUp7DM9s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778222261; c=relaxed/simple; bh=kILxozLP+dJEj9t9l8R2ZH0ViiSI2+DrRDrStPIeXxA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tSFupjdopsdUVf4+S/AteDz9ABZALzJYkYTkem85IQl5i3P7Mc6zwZjmoDDHA/hs1mVs0xqXbpszCkP/eMi4MCruhdt9s2vFpUfYNzxkuZ8Afer2JG/oij9DfLHz+TL01QTMu5Lr7ubuXKCGtLozWhAe7SMjRkTO3EXExd4X7Ow= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=vXGQWRFM; arc=none smtp.client-ip=115.124.30.119 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="vXGQWRFM" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1778222247; h=From:To:Subject:Date:Message-ID:MIME-Version; bh=tjGgmjermday5b3veHqFYVSslxKKd4svOW5ucg2u88o=; b=vXGQWRFM9j0QEbpa73V5DbjsFtlMy1QmsUm+g8DlyUBoC05uYFV6GuaF5/Ekvj2VNoODo77EUpcYEq6rVhY9720AbT0ypeJwc3UzVpkmNisaxd+PGHmk5umGPdiglcSiYGmUHNWYzxAJbUZzb+s51kv+T9F1MxDZM5kU6CpN0Oo= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R601e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037033178;MF=alibuda@linux.alibaba.com;NM=1;PH=DS;RN=17;SR=0;TI=SMTPD_---0X2WYxae_1778222239; Received: from j66a10360.sqa.eu95.tbsite.net(mailfrom:alibuda@linux.alibaba.com fp:SMTPD_---0X2WYxae_1778222239 cluster:ay36) by smtp.aliyun-inc.com; Fri, 08 May 2026 14:37:27 +0800 From: "D. Wythe" To: "David S. Miller" , Dust Li , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Sidraya Jayagond , Wenjia Zhang Cc: Mahanta Jambigi , Simon Horman , Tony Lu , Wen Gu , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, linux-s390@vger.kernel.org, netdev@vger.kernel.org, oliver.yang@linux.alibaba.com, pasic@linux.ibm.com Subject: [PATCH net-next 0/2] net/smc: transition to RDMA core CQ pooling Date: Fri, 8 May 2026 14:37:16 +0800 Message-ID: <20260508063718.101622-1-alibuda@linux.alibaba.com> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-s390@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series transitions SMC-R completion handling to RDMA core CQ pooling via the ib_cqe API. The new completion model improves scalability by allowing per-link completion processing across multiple cores and enables DIM-based interrupt moderation. As a side effect, the increased concurrency can amplify contention for TX slots on the shared wait queue. Patch 2 addresses this by switching TX slot allocation from non-exclusive wait_event() to prepare_to_wait_exclusive(), which avoids thundering-herd wakeups under contention. Patch 1 replaces the global per-device CQ and manual tasklet polling model with RDMA core CQ pooling. Patch 2 reduces TX slot contention by using exclusive wait queue entries during allocation. Link: https://lore.kernel.org/netdev/20260305022323.96125-1-alibuda@linux.alibaba.com/ D. Wythe (2): net/smc: transition to RDMA core CQ pooling net/smc: reduce TX slot contention with exclusive wait net/smc/smc_core.c | 9 +- net/smc/smc_core.h | 28 ++-- net/smc/smc_ib.c | 113 +++++---------- net/smc/smc_ib.h | 7 - net/smc/smc_tx.c | 1 - net/smc/smc_wr.c | 344 ++++++++++++++++++++------------------------- net/smc/smc_wr.h | 40 ++---- 7 files changed, 215 insertions(+), 327 deletions(-) -- 2.45.0