* [dpdk-dev] [vhost-user] how to get enabled vring num
@ 2018-02-04 1:45 =?gb18030?B?1ebO0rfnssk=?=
0 siblings, 0 replies; only message in thread
From: =?gb18030?B?1ebO0rfnssk=?= @ 2018-02-04 1:45 UTC (permalink / raw)
To: =?gb18030?B?ZGV2?=
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 525 bytes --]
Hi, All:
I create qemu VM with 1 cpu and 1 NIC using vhost-user client mode with 2 pairs queue, when VM start, bu default only one pair queue is enabled unless use 'ethtool -L eth0 2' to enable.
now I want to get vring num using vhost-user lib api---rte_vhost_get_vring_num, and send pkt to allqueues of VM(actully donnot know how many queue is enabled) by round robin, if i send pkt to a disabled queue, it will be fail.
So, is there a api to get only enabled vring num rather than all vring num?
Thanks!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-04 1:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-04 1:45 [dpdk-dev] [vhost-user] how to get enabled vring num =?gb18030?B?1ebO0rfnssk=?=
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).