From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <jingjing.wu@intel.com>
Received: from mga07.intel.com (mga07.intel.com [134.134.136.100])
 by dpdk.org (Postfix) with ESMTP id 26839101B
 for <dev@dpdk.org>; Tue, 21 Mar 2017 07:01:09 +0100 (CET)
Received: from fmsmga001.fm.intel.com ([10.253.24.23])
 by orsmga105.jf.intel.com with ESMTP; 20 Mar 2017 23:01:08 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.36,198,1486454400"; d="scan'208";a="1125175619"
Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204])
 by fmsmga001.fm.intel.com with ESMTP; 20 Mar 2017 23:01:06 -0700
Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by
 FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS)
 id 14.3.319.2; Mon, 20 Mar 2017 23:01:03 -0700
Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by
 FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS)
 id 14.3.319.2; Mon, 20 Mar 2017 23:01:03 -0700
Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by
 SHSMSX101.ccr.corp.intel.com ([169.254.1.177]) with mapi id 14.03.0248.002;
 Tue, 21 Mar 2017 14:01:01 +0800
From: "Wu, Jingjing" <jingjing.wu@intel.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
CC: "Zhang, Helin" <helin.zhang@intel.com>, "Mcnamara, John"
 <john.mcnamara@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Thread-Topic: i40e queues per VF
Thread-Index: AQHShqonM5MJAcpjakyBpOyzlbcRnqFrqWpg//+MmYCAM8zkQA==
Date: Tue, 21 Mar 2017 06:01:00 +0000
Message-ID: <9BB6961774997848B5B42BEC655768F810CF8740@SHSMSX103.ccr.corp.intel.com>
References: <32336171.7h5g7kEJXa@xps13>
 <9BB6961774997848B5B42BEC655768F810CDE4AF@SHSMSX103.ccr.corp.intel.com>
 <6154321.GLCpcWPPOA@xps13>
In-Reply-To: <6154321.GLCpcWPPOA@xps13>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.239.127.40]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [dpdk-dev] i40e queues per VF
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Mar 2017 06:01:10 -0000

> > This number is used as initialization time to allocate queue number
> > for PF/VF for HW's queue pool. Will add more description in i40e.rst.
>=20
> The description "Number of queues reserved for each SR-IOV VF" seems
> partially wrong. Please explain it is a queue pair.
>=20
OK. Sure.

[......]

> > >
> > > Is there something to configure the number of queues when creating
> > > VF with the kernel driver?
> >
> > In kernel driver, it seems at most only 4 queues are supported. That's
> > Why we add  build-time config option to make more queues are possible.
>=20
> If we can create 16 queue pairs, why restrict the default configuration t=
o 4?
> Why is it a build-time config option?
If we allocate 16 queue pairs by default, then the number of VFs will be li=
mited
Because of the entire queue resources on NIC.

Anyway, I will update doc on this part. Sorry for the delay because of trip=
.

Thanks
Jingjing