Subject: [PATCH 0/3] virtio-net: Add notification coalescing support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v11 Latest3 patches 2 repliesIn review
- v102 patches 5 repliesSuperseded
- v92 patches 2 repliesSuperseded
Earlier versions · 8
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v8 | 2 patches | 4 replies | Superseded | |
| v7 | 1 patch | 3 replies | Superseded | |
| v6 | 1 patch | 1 reply | Superseded | |
| v5 | 1 patch | 2 replies | Superseded | |
| v4 | 1 patch | 4 replies | Superseded | |
| v3 | 1 patch | 1 reply | Superseded | |
| v2 | 1 patch | 3 replies | Superseded | |
| v1 | 1 patch | 2 replies | Superseded |
Changes in v11 from the cover letter
---------------
- Adds vDPA backend support for notification coalescing
- Resolved review comments
Patches in v11 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Introduce virtio_net_handle_tx_dispatch() to unify TX path handling. This dispatcher dynamically selects between timer-based and BH-based TX processing based on configuration.hw/ include/ | +28 | 0 replies | |
| 2/3 | virtio-net: Add VIRTIO_NET_F_NOTF_COAL supporthw/ include/ net/ +3 more | +209 | 2 replies | |
| 3/3 | vhost-vdpa: Add VIRTIO_NET_F_NOTF_COAL support for vDPAnet/ | +57 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v11 yet.
Cover letter [PATCH v11 0/3] Subject: [PATCH 0/3] virtio-net: Add notification coalescing support
This series implements VIRTIO_NET_F_NOTF_COAL (bit 53) for virtio-net, enabling interrupt coalescing to reduce CPU overhead in high-throughput workloads.
Patch 1 refactors TX path handling by introducing a unified dispatcher that dynamically selects between timer-based and BH-based processing. This is preparatory work with no functional changes.
Patch 2 implements the core notification coalescing feature, allowing guests to configure RX/TX interrupt batching via ethtool -C using time-based (microseconds) or count-based (packet) thresholds.
Patch 3 adds vDPA backend support, enabling coalescing state to be restored during live migration when using Shadow VirtQueue.
Testing:
- Functional: ethtool -C configuration in guest with vDPA device
- Migration: VMState persistence across live migration
- Performance: 20% CPU overhead reduction, 30% fewer interrupts
- Compatibility: Feature disabled when tx=timer is configured
Changes in v11:
---------------
- Adds vDPA backend support for notification coalescing
- Resolved review comments
Koushik Dutta (3):
Introduce virtio_net_handle_tx_dispatch() to unify TX path handling.
This dispatcher dynamically selects between timer-based and BH-based TX processing based on configuration.
virtio-net: Add VIRTIO_NET_F_NOTF_COAL support
vhost-vdpa: Add VIRTIO_NET_F_NOTF_COAL support for vDPA
hw/net/virtio-net.c | 241 ++++++++++++++++++++++++++++++--- include/hw/virtio/virtio-net.h | 11 ++ net/passt.c | 1 + net/tap.c | 1 + net/vhost-user.c | 1 + net/vhost-vdpa.c | 58 ++++++++ 6 files changed, 294 insertions(+), 19 deletions(-)
Signature · 1 line
2.53.0