Article View: linux.kernel.netdev
Article #18832[PATCH net-next 0/8] ibmveth: prepare the RX path for multi-queue
From: Mingming Cao
Date: Thu, 19 Nov 2026 00:07
Date: Thu, 19 Nov 2026 00:07
46 lines
14081 bytes
14081 bytes
ibmveth receives on a single RX queue with one interrupt, so all of a virtual ethernet adapter's receive processing runs on one CPU. Power11 firmware can give the adapter several RX queues, each with its own interrupt and buffers. This series only reshapes the existing RX path: open/close, buffer pools, interrupts, replenish and poll now take a queue index. IBMVETH_MAX_RX_QUEUES stays 1, so every loop runs once. Same hypercalls, same ethtool behaviour, no new ABI. Multi-queue enable is a later series. Patches 1-5 move the open/close path onto per-queue helpers. Patch 6 moves LAN registration and teardown out of open()/close(). Patch 7 passes the queue index through replenish and poll. Patch 8 splits poll into per-slot helpers. This series was split from an earlier posting of the full multi-queue work [1], which was too large to review as one [2]. Two related bug fixes go to net-next in a separate thread; neither depends on the other, and they apply in either order. Tested: PowerVM LPAR, one RX queue. ifdown/up under iperf3, MTU change, ethtool -L rx 2 rejected, TX shrink under traffic. [1] https://lore.kernel.org/netdev/20261109235556.60604-1-mmc@linux.ibm.com/ [2] https://lore.kernel.org/netdev/20261116174225.7d9e9611@kernel.org/ Mingming Cao (8): ibmveth: Prepare MQ RX adapter data structures ibmveth: Refactor RX resource allocation for MQ RX bring-up ibmveth: Refactor buffer pool management for per-queue MQ RX ibmveth: Refactor RX interrupt control for MQ RX queues ibmveth: Refactor TX resource allocation in open/close paths ibmveth: Add RX queue register helpers for MQ ibmveth: Pass the RX queue index through replenish and poll ibmveth: Split RX poll into per-slot helpers for MQ drivers/net/ethernet/ibm/ibmveth.c | 1344 +++++++++++++++++++--------- drivers/net/ethernet/ibm/ibmveth.h | 15 +- 2 files changed, 928 insertions(+), 431 deletions(-) base-commit: 6bc9aed3994cb04708fef02dd6d2f1cc5c5e8229 -- 2.50.1 (Apple Git-155)
Technical Details
Message-ID:
<20261119000711.18093-1-mmc@linux.ibm.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366546-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366546-linux-kernel-netdev=dewy.ru
From: mmc@linux.ibm.com (Mingming Cao)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next 0/8] ibmveth: prepare the RX path for multi-queue
Date: Wed, 18 Nov 2026 16:07:03 -0800
Organization: Usenet Network
Message-ID: <20261119000711.18093-1-mmc@linux.ibm.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="2735979"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:NSOsjS49TsF66Z6Ua3MsrFQ65uQ= sha256:hr/9bMbh/mIQSeXygC8BOIKfGAJewkehyGF7I6w82Q8=
sha1:GJs/EIvlXvN6q3CLDhxvX2JegvU= sha256:fGI7wrVL5EU0aaP4hxuhfQFwZ7VflwjN2dElSMBU6Lw=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id D604711543B; Thu, 19 Nov 2026 03:07:54 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.951
X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=ibm.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id EqBd3-j4qbLg;
Thu, 19 Nov 2026 03:07:50 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-366546-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=linux.ibm.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id 56C8711543A; Thu, 19 Nov 2026 03:07:41 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id F02471C0313; Thu, 19 Nov 2026 00:07:39 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
t=1795046858;
b=V6/l4G0sox3ZH4vNSvPK1pMUDmbX8L7HwFdP/7aYb0oMN7vSAoHbuEPgQnTzwRgM6Ssm
LSCrwpcepgCA5UcwBTyM4nqtKIZidPV1PSA3XfEKMFxQJ9LeJqcT758LTfCSrtMX+5CDd
AQKfXH5OYo7f9p0FHW7MvFUpajaiP8nMT9b+fdWCtl0IZH17/IS6cSPiTvLvrf7ZTpQvK
m43jE0ufOylzUIANscLGvg0uXr3qyeQOjz7KT1JbOZInsQlgKeIDLL++YBe0JL6Ad4Ajh
WTiuEoxC3QCyhVQ25bWcRm44sNjCUdFMFPOedY7OaMV7+/2L4pcpdWKx5FMuNi/q65g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795046858;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
Received:Received:Received:Received:Received:Received:From:To:Cc:
Subject:Date:Message-Id:X-Mailer:X-Mailing-List:List-Id:List-Post:
List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
MIME-Version:Content-Transfer-Encoding:X-TM-AS-GCONF:
X-Proofpoint-Reinject:X-Proofpoint-GUID:X-Authority-Analysis:
X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Info:
X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version:
X-Proofpoint-Spam-Details;
bh=V7UUsaq0CzgMBYgcJ7Ry1gZbCKq1Dk3fOnzk4itrLTE=;
b=STuQ6as+9bU8Z42+xusSelPxPfHQzvdluV7JNohELTU1ql+Uep18hPOexpATfO4CjDwV
OR/l5c2bB02EHKEKRWlSl3q4PHs7yus2Wi+NFBqm5HqMWBTwiuuyyoiCCNtdv3bgsVokD
sFiC/FG2Y9QFd18vNPjNtIiuc5tJid8fQOQB3MGVgFZ2hPj8m9bve+LOhA2hDeTXR+gdu
q37jMOg2F0EYT17mlnGObwd6AZw56PNg9kD6onEK8MknmhFeLnKxrzXSyi4bCZ5HYOG3k
4OLK6GNMgVfJ5h4IKzvTZ25SQHTUjYOje71IVqg5u1+oHx709eyxdZaDJqXCoouuGLw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=b1N3HKQs;
dmarc=pass header.from=linux.ibm.com;
spf=pass smtp.mailfrom=linux.ibm.com;
arc=fail smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 14546606A334;
Thu, 19 Nov 2026 00:07:38 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=b1N3HKQs
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=148.163.158.5
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1795046857;
b=RMJzg6AUERIvo0HAaKFTHGWt9a5jIQyMMXqe6j816U6+/PprPCWUPSrRTh9TBEuBwGTN
wGLNmIb+IioEUIKiFPk3indHpqKH/bkvWg1vV5nc2423gEBWCiTjdLZBNhflErWhVJZyS
GUL2L58SeAAsnZB2fzI5zHELUDnfF19OiSxBmRCFHpD2imB8bWHEUSvlLKVQTggrAPlj+
lcJtrFL7HsGulTgnGn3dnVlOWeahoH9lKF6YcyaTAUOyJP47mSZ6cRmAo5lbTSQ8Ue/3M
Q8N/GDqYwnNeXjhN0T8Sxfj8WA2j8TaX5bAMAWJu1n8llEpu1IyAvcAFZmuHZsIDIkg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795046857;
h=DMARC-Filter:Received:DKIM-Signature:Received:Received:Received:
Received:Received:Received:Received:From:To:Cc:Subject:Date:
Message-Id:X-Mailer:MIME-Version:Content-Transfer-Encoding:
X-TM-AS-GCONF:X-Proofpoint-Reinject:X-Proofpoint-GUID:
X-Authority-Analysis:X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Info:
X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version:
X-Proofpoint-Spam-Details;
bh=V7UUsaq0CzgMBYgcJ7Ry1gZbCKq1Dk3fOnzk4itrLTE=;
b=19ZVV4thv9K/tHgkP80JDeVayVV/1u30udMkpt1hXOwCy1G1ByRbkHXybolVcLm22In9
RcQQfGfy9p3mHxDZbOk8gpthaT5imXfZLoHk/NbvwpM1lsqHc1IFWw63Vap3h59IiYB7u
GZjLP7LRWewmEJVlWDDmQ1FLEbNpkPGI4Ig7DEhdUzHKctYpSmTdUqvAnsXjpi95Or1PQ
sdjn0zY8zV0IiXIHqgsNZ8d7uIhNl4dGrG+8MSO9DvfgYB2HOry5EGOqtqlfSn4IgHlwk
zIVp7NKvsyyUNsXimHS0osSG5cwcWbEiqj3aVNyWXUeUSE8kLr6cs/m6Z9YIXYK6IpQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=linux.ibm.com;
spf=pass smtp.mailfrom=linux.ibm.com;
dkim=pass header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=b1N3HKQs;
arc=none smtp.remote-ip=148.163.158.5
X-Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8206606A325
for <netdev@vger.kernel.org>; Thu, 19 Nov 2026 00:07:36 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A8206606A325
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com
X-Received: from pps.filterd (m0353725.ppops.net [127.0.0.1])
by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AILQX071015283;
Thu, 19 Nov 2026 00:07:20 GMT
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc
:content-transfer-encoding:date:from:message-id:mime-version
:subject:to; s=pp1; bh=V7UUsaq0CzgMBYgcJ7Ry1gZbCKq1Dk3fOnzk4itrL
TE=; b=b1N3HKQsp4xNPiQXgbp1SZeAT0c8XzVOiZpHAt96p87RfN+Nq3+1EWNWz
hSVKU/hu+ETYXUd+xhBpUBb+adtJ5mBEeUG3xOJ4u8KUR4fBb3061BDQLO3ky0FL
zzS+fUQgzPt9tEIAh6AEgAzs5e54rPQalGH/vmAGrVKUU3OEBpHsvqAFunoQkMx8
Bdji3AqbfzBIEGkVNlV2SKUwk9Bbg+sTYBeAFTLmiL2EYp8eUySYMb+6A326hZs7
24NYOrHkVPEW38WaSIT4iRKfqeyZn1WVKrS53XEpoHFTyptVF8/muIv9LDUHPPP/
1J1T3OuLqTBtKT0T1lurrFEv9E5jg==
X-Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93])
by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4j105vw43n-1
(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
Thu, 19 Nov 2026 00:07:19 +0000 (GMT)
X-Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1])
by ppma23.wdc07v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 6AILbKX93716164;
Thu, 19 Nov 2026 00:07:18 GMT
X-Received: from smtprelay06.wdc07v.mail.ibm.com ([172.16.1.73])
by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4j1m3hrd3u-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
Thu, 19 Nov 2026 00:07:18 +0000 (GMT)
X-Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101])
by smtprelay06.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 6AJ07GA723593522
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
Thu, 19 Nov 2026 00:07:16 GMT
X-Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1])
by IMSVA (Postfix) with ESMTP id 56D2D5805A;
Thu, 19 Nov 2026 00:07:16 +0000 (GMT)
X-Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1])
by IMSVA (Postfix) with ESMTP id AC8EA58051;
Thu, 19 Nov 2026 00:07:13 +0000 (GMT)
X-Received: from localhost.localdomain (unknown [9.67.93.165])
by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP;
Thu, 19 Nov 2026 00:07:13 +0000 (GMT)
X-Cc: Mingming Cao <mmc@linux.ibm.com>, maddy@linux.ibm.com, mpe@ellerman.id.au,
npiggin@gmail.com, chleroy@kernel.org, ritesh.list@gmail.com,
sshegde@linux.ibm.com, nnac123@linux.ibm.com, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
pabeni@redhat.com, linuxppc-dev@lists.ozlabs.org, horms@kernel.org,
davemarq@linux.ibm.com, haren@linux.ibm.com, ricklind@linux.ibm.com,
bjking1@linux.ibm.com, shaik.abdulla1@ibm.com
X-Mailer: git-send-email 2.39.3 (Apple Git-146)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-TM-AS-GCONF: 00
X-Proofpoint-Reinject: loops=2 maxloops=12
X-Proofpoint-GUID: qVrkezkKqKCL-_eYYOGyF2AXJ24_V9iM
X-Authority-Analysis: v=2.4 cv=Z8x5j3RA c=1 sm=1 tr=0 ts=6afe3db7 cx=c_pps
a=3Bg1Hr4SwmMryq2xdFQyZA==:117 a=3Bg1Hr4SwmMryq2xdFQyZA==:17
a=zJRp6_cAMcgA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22
a=V8glGbnc2Ofi9Qvn3v5h:22 a=VwQbUJbxAAAA:8 a=VnNF1IyMAAAA:8
a=pTEnhOEyEOFkSSAe0uIA:9
X-Proofpoint-ORIG-GUID: xy5wQK48HzOARm2e0B4kWLf-jdsxLLr8
X-Proofpoint-Spam-Info: AW1haW4tMjYxMTE4MDA4OCBTYWx0ZWRfX7bei4lJXWDbd
K9smMO/YvJzWjaud0kRVWEGMKC6JtWjpMve5YWlCjYlJYuRv0hRqB7o6gtbv+SKMk83iN0Sww+a
BcUkulUgsSWELck8FuXT+dGT7qtLsyY=
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTE4MDA4OCBTYWx0ZWRfX9ElSKuWP6pCa
iqFqpbSV39kV+RBxtWMDMyRpGUlRsc0e2qu841XG9NSPxHsU+f2be2qAaXthal0GJkIr8FXZGQ+
e+KL7zO22a8mjs6ESg6kKEo7S0M2L4bW2VmciXWBV0HuB25vZas0RSERF6vCKPuy6fz6q3tB5vy
7ornrEzT7e2+Dke90DWqOoem9ybT2agPTSil/4Hgqt4OzfroWU/C5c28igb7NJvy9QjEddSehjM
Dm0f0OzEbD/OmSvlxAmc5X0qcciyh+O2Pk9XOx297YM6MGhO4SDQ9JHR6F0gbrqVUKbRUX5AMd/
xd1NkYthd+kWAr3kjoS8w2g5TdAARYt2vxYKeOvdl62D8sRBnMPwmuY/mWbTqbATEYYQL2P1MwX
38UCD5EaXXLzrYT/j40qoPs5F1NRCMnhPk3BojUPGTlnHMst5nkeT1T39zmjItoYR7qr/aFT+S4
8ZlygBdbWIzatnIt0eQ==
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49
definitions=2026-11-18_07,2026-11-16_01,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
suspectscore=0 phishscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0
adultscore=0 bulkscore=0 clxscore=1015 impostorscore=0 priorityscore=1501
classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0
reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611180088