This series adds support for virtio network notification
coalescing (VIRTIO_NET_F_NOFT_COAL) in virtio-net.
Patch 1: Introduces a Tx dispatch helper to unify tx path
handling.
Patch 2: Implements notification coalescing support and feature
negotiation for virtio-net.
Koushik Dutta (2):
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.
Implement VirtIO Network Notification Coalescing
(VIRTIO_NET_F_NOTF_COAL). This allows guests to reduce interrupt
overhead by configuring coalescing parameters via ethtool -C for
both RX and TX paths.
hw/net/virtio-net.c | 188 ++++++++++++++++++++++++++++++---
include/hw/virtio/virtio-net.h | 8 ++
net/passt.c | 1 +
net/tap.c | 1 +
net/vhost-user.c | 1 +
net/vhost-vdpa.c | 1 +
6 files changed, 184 insertions(+), 16 deletions(-)
--
2.53.0