From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP; 29 Sep 2016 02:21:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,414,1470726000"; d="scan'208";a="14455927" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by fmsmga006.fm.intel.com with ESMTP; 29 Sep 2016 02:21:13 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.91]) by IRSMSX107.ger.corp.intel.com ([169.254.10.95]) with mapi id 14.03.0248.002; Thu, 29 Sep 2016 10:21:12 +0100 From: "Mcnamara, John" To: "Loftus, Ciara" , "dev@dpdk.org" CC: "Liu, Yuanhan" Thread-Topic: [dpdk-dev] [PATCH] net/vhost: Add function to retreive the 'vid' for a given port id. Thread-Index: AQHSDcV+rAhGsSRnXUikLT+LVa7546CQSeYA Date: Thu, 29 Sep 2016 09:21:11 +0000 Message-ID: References: <1473774463-26966-1-git-send-email-ciara.loftus@intel.com> In-Reply-To: <1473774463-26966-1-git-send-email-ciara.loftus@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2MyMmFmYTEtZDM5NS00YzRmLWIyNDktN2ZjNmQ0M2MzNWY5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlwvQ2RJMzUwS2l6VU5SZ3h2b0dITElNcGNiOXBcL0NPUGc2b25wdno1R212WT0ifQ== x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/vhost: Add function to retreive the 'vid' for a given port id. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2016 09:21:15 -0000 > -----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