aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/virtio_process.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-21virtio: run process to send interrupts to input nodesMohsin Kazmi1-0/+88
Type: improvement virtio interfaces support packet coalescing and buffering which depends on timer expiry to flush the stored packets periodically. virtio input node checks timer expiry and schedules tx queue accordingly. In poll mode, timer expiry is handled naturally, as input node runs periodically. In interrupt mode, virtio input node depends on the interrupts send from backend. Stored packets could starve, if there would not be interrupts to input node. This patch implements a process node which periodically sends interrupt to virtio input node given coalescing or buffering feature is enabled on an interface. Change-Id: Ic38f749f74b001073d4d0579dca149d0a4cea039 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>