diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2020-10-12 13:01:24 +0200 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2020-10-21 11:20:01 +0000 |
commit | a5203b53d4fa227560333b890d3e79fc220d1bfd (patch) | |
tree | 04ac639280910abbf8a12fd973b207f177b67a12 /src/vcl/ldp.h | |
parent | 302b25a00ed913767798d58148ef4d36092ee490 (diff) |
virtio: run process to send interrupts to input nodes
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>
Diffstat (limited to 'src/vcl/ldp.h')
0 files changed, 0 insertions, 0 deletions