From: Mingming Cao <mmc@linux.ibm.com>
To: netdev@vger.kernel.org
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
Subject: [PATCH net-next v2 0/8] ibmveth: prepare the RX path for multi-queue
Date: Sun, 22 Nov 2026 23:51:28 -0800 [thread overview]
Message-ID: <20261123075136.3278-1-mmc@linux.ibm.com> (raw)
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: on a PowerVM LPAR, one RX queue: ifdown/up under iperf3,
MTU change, ethtool -L rx 2 rejected, TX shrink under traffic. v2 on
QEMU pseries only, with the net fixes v2 applied: the same checks
with UDP traffic, and the KUnit suite.
Changes in v2:
- 5/8: keep mapping the TX long-term buffers before RX buffers go to
PHYP, as today; v1 moved them after RX bring-up, which can fail
open() under CMO. Drop the netif_tx_disable() that order needed.
(Sashiko)
- 2/8, 4/8, 6/8, 7/8, 8/8: comment, naming and argument-order fixes
(Sashiko); details in each patch
v1: https://lore.kernel.org/netdev/20261119000711.18093-1-mmc@linux.ibm.com/
[1] https://lore.kernel.org/netdev/20261109235556.60604-1-mmc@linux.ibm.com/
[2] https://lore.kernel.org/netdev/20261116174225.7d9e9611@kernel.org/
next reply other threads:[~2026-11-23 7:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 7:51 Mingming Cao [this message]
2026-11-23 7:51 ` [PATCH net-next v2 1/8] ibmveth: Prepare MQ RX adapter data structures Mingming Cao
2026-11-23 7:51 ` [PATCH net-next v2 2/8] ibmveth: Refactor RX resource allocation for MQ RX bring-up Mingming Cao
2026-11-23 7:51 ` [PATCH net-next v2 3/8] ibmveth: Refactor buffer pool management for per-queue MQ RX Mingming Cao
2026-11-23 7:51 ` [PATCH net-next v2 4/8] ibmveth: Refactor RX interrupt control for MQ RX queues Mingming Cao
2026-11-23 7:51 ` [PATCH net-next v2 5/8] ibmveth: Refactor TX resource allocation in open/close paths Mingming Cao
2026-11-23 7:51 ` [PATCH net-next v2 6/8] ibmveth: Add RX queue register helpers for MQ Mingming Cao
2026-11-23 7:51 ` [PATCH net-next v2 7/8] ibmveth: Pass the RX queue index through replenish and poll Mingming Cao
2026-11-23 7:51 ` [PATCH net-next v2 8/8] ibmveth: Split RX poll into per-slot helpers for MQ Mingming Cao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123075136.3278-1-mmc@linux.ibm.com \
--to=mmc@linux.ibm.com \
--cc=andrew+netdev@lunn.ch \
--cc=bjking1@linux.ibm.com \
--cc=chleroy@kernel.org \
--cc=davem@davemloft.net \
--cc=davemarq@linux.ibm.com \
--cc=edumazet@kernel.org \
--cc=haren@linux.ibm.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.ibm.com \
--cc=mpe@ellerman.id.au \
--cc=netdev@vger.kernel.org \
--cc=nnac123@linux.ibm.com \
--cc=npiggin@gmail.com \
--cc=pabeni@redhat.com \
--cc=ricklind@linux.ibm.com \
--cc=ritesh.list@gmail.com \
--cc=shaik.abdulla1@ibm.com \
--cc=sshegde@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox