On Thu, Sep 29, 2016 at 09:21:11AM +0000, Mcnamara, John wrote: > > -----Original Message----- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ciara Loftus > > Sent: Tuesday, September 13, 2016 2:48 PM > > To: dev at dpdk.org > > Subject: [dpdk-dev] [PATCH] net/vhost: Add function to retreive the 'vid' > > for a given port id. > > > > In some cases when using the vHost PMD, certain vHost library functions > > may still need to be accessed. One such example is the > > rte_vhost_get_queue_num function which returns the number of virtqueues > > reported by the guest - information which is not exposed by the PMD. > > > > This commit introduces a new rte_eth_vhost function that returns the 'vid' > > associated with a given port id. This allows the PMD user to call vHost > > library functions which require the 'vid' value. > > > > Signed-off-by: Ciara Loftus <ciara.loftus at intel.com> > > Acked-by: John McNamara <john.mcnamara at intel.com>
Applied to dpdk-next-virtio, with a fix to fixing missing ";" for the map file (again, caught by my robot). --yliu --- +DPDK_16.11 { + global: + + rte_eth_vhost_get_vid_from_port_id; +}