diff options
author | Steven Luong <sluong@cisco.com> | 2020-12-10 20:44:22 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-12-25 11:45:09 +0000 |
commit | 2c1084a69bccac812bf2d763b113d1e5b7f08686 (patch) | |
tree | 5581bd1ac229153b373777e34d36fa5738f48de7 /src/plugins/wireguard/wireguard_send.c | |
parent | 05bc31be20849e5994eb798d9eed0ad506a57d18 (diff) |
virtio: Extend vhost multi-queues support beyond 8 queue pairs
Current vhost multi-queues support has a hard limit of 8 queue pairs
due to static vring array. This limit was raised in qemu. VPP should
support more than 8 queue pairs also.
Change static vring allocation to dynamic. When the interface is
created, we allocate 8 queue pairs to begin with. We also keep track
of how many queue pairs that the interface actually uses.
We reply VHOST_USER_GET_QUEUE_NUM with 128 as our maximum number of
support queue pair. When qemu starts initializing queue pair greater
than 8, we expand the vrings as needed on demand.
Type: improvement
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I4a02d987d52d1bbe601b00e71f650fe6ebfcc0d7
Diffstat (limited to 'src/plugins/wireguard/wireguard_send.c')
0 files changed, 0 insertions, 0 deletions