From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mcnamara, John" Subject: Re: [PATCH] net/vhost: Add function to retreive the 'vid' for a given port id. Date: Thu, 29 Sep 2016 09:21:11 +0000 Message-ID: References: <1473774463-26966-1-git-send-email-ciara.loftus@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "Liu, Yuanhan" To: "Loftus, Ciara" , "dev@dpdk.org" Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D955F2716 for ; Thu, 29 Sep 2016 11:21:14 +0200 (CEST) In-Reply-To: <1473774463-26966-1-git-send-email-ciara.loftus@intel.com> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ciara Loftus > Sent: Tuesday, September 13, 2016 2:48 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] net/vhost: Add function to retreive the 'vid' > for a given port id. >=20 > 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. >=20 > 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. >=20 > Signed-off-by: Ciara Loftus Acked-by: John McNamara