ibmveth: prepare the RX path for multi-queue
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 0 repliesNew
- v18 patches 1 replySuperseded
Changes in v2 from the cover letter
- 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
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | ibmveth: Prepare MQ RX adapter data structuresdrivers/ drivers/ | +136 | 0 replies | |
| 2/8 | ibmveth: Refactor RX resource allocation for MQ RX bring-updrivers/ | +188 | 0 replies | |
| 3/8 | ibmveth: Refactor buffer pool management for per-queue MQ RXdrivers/ | +99 | 0 replies | |
| 4/8 | ibmveth: Refactor RX interrupt control for MQ RX queuesdrivers/ drivers/ | +175 | 0 replies | |
| 5/8 | ibmveth: Refactor TX resource allocation in open/close pathsdrivers/ | +57 | 0 replies | |
| 6/8 | ibmveth: Add RX queue register helpers for MQdrivers/ | +100 | 0 replies | |
| 7/8 | ibmveth: Pass the RX queue index through replenish and polldrivers/ | +129 | 0 replies | |
| 8/8 | ibmveth: Split RX poll into per-slot helpers for MQdrivers/ | +150 | 0 replies |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Dave Marquardt | Shaik Abdulla |
|---|---|---|
| 1/8 | ||
| 2/8 | R-b | T-b |
| 3/8 | R-b | T-b |
| 4/8 | ||
| 5/8 | ||
| 6/8 | ||
| 7/8 | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/8] ibmveth: prepare the RX path for multi-queue
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/[email protected]/
[1] https://lore.kernel.org/netdev/[email protected]/
[2] https://lore.kernel.org/netdev/[email protected]/