From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 2AFB716E for ; Wed, 20 Dec 2017 06:59:57 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Dec 2017 21:59:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,430,1508828400"; d="scan'208";a="160302464" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga004.jf.intel.com with ESMTP; 19 Dec 2017 21:59:56 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 19 Dec 2017 21:59:56 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 19 Dec 2017 21:59:56 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Wed, 20 Dec 2017 13:59:54 +0800 From: "Zhang, Helin" To: "Dai, Wei" , "Ananyev, Konstantin" , "Wu, Jingjing" , "Xing, Beilei" , "Peng, Yuan" CC: "dev@dpdk.org" , "Dai, Wei" Thread-Topic: [dpdk-dev] [PATCH v7] net/i40e: determine number of queues per VF during run time Thread-Index: AQHTb8mU2MsCP8g1r0+h+RaNSD/svKNLz8WQ Date: Wed, 20 Dec 2017 05:59:54 +0000 Message-ID: References: <1511770139-48286-1-git-send-email-wei.dai@intel.com> <1512698026-52834-1-git-send-email-wei.dai@intel.com> In-Reply-To: <1512698026-52834-1-git-send-email-wei.dai@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 Subject: Re: [dpdk-dev] [PATCH v7] net/i40e: determine number of queues per VF during run time X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2017 05:59:58 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wei Dai > Sent: Friday, December 8, 2017 9:54 AM > To: Ananyev, Konstantin; Wu, Jingjing; Xing, Beilei; Peng, Yuan > Cc: dev@dpdk.org; Dai, Wei > Subject: [dpdk-dev] [PATCH v7] net/i40e: determine number of queues per > VF during run time >=20 > Without this patch, the number of queues per i40e VF is defined as 4 by > CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=3D4 in config/common_base. > It is fixed value determined in building time and can't be changed during= run > time. > With this patch, the number of queues per i40e VF can be determinated > during run time. For example, if the PCI address of an i40e PF is aaaa:bb= .cc, > with the EAL parameter -w aaaa:bb.cc,queue-num-per-vf=3D8 , the number of > queues per VF created from this PF is 8. > If there is no "queue-num-per-vf" setting in EAL parameters, it is 4 by d= efault > as before. And if the value after the "queue-num-per-vf" > is invalid, it is set as 4 forcibly. The valid values include 1, 2, 4, 8,= 16 . >=20 > Signed-off-by: Wei Dai > Acked-by: Konstantin Ananyev Applied to next-net-intel. Thanks! /Helin