From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 6D928376C for ; Mon, 1 Jun 2015 03:00:14 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 31 May 2015 18:00:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,528,1427785200"; d="scan'208";a="500731569" Received: from pgsmsx102.gar.corp.intel.com ([10.221.44.80]) by FMSMGA003.fm.intel.com with ESMTP; 31 May 2015 18:00:12 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX102.gar.corp.intel.com (10.221.44.80) with Microsoft SMTP Server (TLS) id 14.3.224.2; Mon, 1 Jun 2015 09:00:12 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.94]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.180]) with mapi id 14.03.0224.002; Mon, 1 Jun 2015 09:00:10 +0800 From: "Zhang, Helin" To: "Liu, Jijiang" Thread-Topic: [dpdk-dev] [PATCH] config:enlarge the default value of RTE_MAX_QUEUES_PER_PORT to 1024 Thread-Index: AQHQmObGtukmnq37u0O6ECMY/IvoG52W2pMw Date: Mon, 1 Jun 2015 01:00:09 +0000 Message-ID: References: <1432776978-24998-1-git-send-email-jijiang.liu@intel.com> In-Reply-To: <1432776978-24998-1-git-send-email-jijiang.liu@intel.com> 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 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] config:enlarge the default value of RTE_MAX_QUEUES_PER_PORT to 1024 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: Mon, 01 Jun 2015 01:00:14 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jijiang Liu > Sent: Thursday, May 28, 2015 9:36 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] config:enlarge the default value of > RTE_MAX_QUEUES_PER_PORT to 1024 >=20 > The default value of RTE_MAX_QUEUES_PER_PORT is 256, which is too small f= or > some configurations for i40e. There will return an error when configured = queue > number is larger than 256 in >=20 > rte_eth_dev_configure(). >=20 > For example, in vHost sample, PF queue number: 64, configured vmdq pool > number: 63, each vmdq pool has 4 queues, there will be required 316 queue= s in a > port. >=20 >=20 > Signed-off-by: Jijiang Liu Acked-by: Helin Zhang > --- > config/common_bsdapp | 2 +- > config/common_linuxapp | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/config/common_bsdapp b/config/common_bsdapp index > c2374c0..0b169c8 100644 > --- a/config/common_bsdapp > +++ b/config/common_bsdapp > @@ -137,7 +137,7 @@ CONFIG_RTE_LIBRTE_KVARGS=3Dy > CONFIG_RTE_LIBRTE_ETHER=3Dy CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=3Dn > CONFIG_RTE_MAX_ETHPORTS=3D32 > -CONFIG_RTE_MAX_QUEUES_PER_PORT=3D256 > +CONFIG_RTE_MAX_QUEUES_PER_PORT=3D1024 > CONFIG_RTE_LIBRTE_IEEE1588=3Dn > CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=3D16 > CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=3Dy > diff --git a/config/common_linuxapp b/config/common_linuxapp index > 0078dc9..5deb55a 100644 > --- a/config/common_linuxapp > +++ b/config/common_linuxapp > @@ -134,7 +134,7 @@ CONFIG_RTE_LIBRTE_KVARGS=3Dy > CONFIG_RTE_LIBRTE_ETHER=3Dy CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=3Dn > CONFIG_RTE_MAX_ETHPORTS=3D32 > -CONFIG_RTE_MAX_QUEUES_PER_PORT=3D256 > +CONFIG_RTE_MAX_QUEUES_PER_PORT=3D1024 > CONFIG_RTE_LIBRTE_IEEE1588=3Dn > CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=3D16 > CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=3Dy > -- > 1.7.7.6