diff options
author | 2020-09-28 10:26:33 +0000 | |
---|---|---|
committer | 2020-09-28 16:47:30 +0000 | |
commit | e347acbc31111504c015531e8ad764a86d489309 (patch) | |
tree | 3a72d961fd97b9ce7985865d89b0c45d27cab2fc /src/vpp | |
parent | 7741afaf5c66a5d7ed1d2d76ae36a81ec24fdaaa (diff) |
virtio: add packet buffering on tx
Type: feature
This patch adds packet buffering on tx for
slow backend which have some jitter/delays
in freeing the vrings.
There are some limitations to the current design:
1) It only works in poll mode.
2) Atleast 1 rx queue of an interface (with buffering
enabled) should be placed on each worker and main thread.
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: Ib93c350298b228e80426e58ac77f3bbc93b8be27
Diffstat (limited to 'src/vpp')
-rw-r--r-- | src/vpp/api/custom_dump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 4a2c2cb7838..f530da2166e 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -645,6 +645,8 @@ __clib_unused s = format (s, "packed "); if ((mp->virtio_flags) & VIRTIO_API_FLAG_IN_ORDER) s = format (s, "in-order "); + if ((mp->virtio_flags) & VIRTIO_API_FLAG_BUFFERING) + s = format (s, "buffering "); FINISH; } |