From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id DDB885693 for ; Mon, 1 Jun 2015 15:47:01 +0200 (CEST) Received: by wgv5 with SMTP id 5so114883452wgv.1 for ; Mon, 01 Jun 2015 06:47:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=tPd3I5BrGlTR07jd7WmnZhNSEI9K5H0n7aEoAyUxfYE=; b=Zqbxv9RuyvIkOQnS+I9+GN6mnCtpPCqP4aofLH70ZHz2aROJ/COeapGfChrl7A4tp9 POaIaFtMt01PCDNR79BN/9AYaXN2Eu1Nnj/xeHwczlZRZPNPkyPbGCWRIjfYQwBsPKLA Uw3uI5DU5LEY6z7bsQInkXqbYOrllxs3gijXKvFj04PfNkKq0iBleWHIGui5vl+3XxOG bttJs7CRm5js+5ZNKgAGdPOHHUBr6s98coNkYpySRzZWTbrz59L6kiaIfIlGwhfBaYjG VQf/9oAusSsqz6uNy7kcNOKowmNX29Ml7eX3TEQe6BR0xPdkg3JV45ULoUoaGNqduO+q dYvg== X-Gm-Message-State: ALoCoQmKZHWivFNK2qdqZR+qXvBpku0Ev/o5T3WwMD4nMviD7ylHRRvPywRu0bj7bNDVOw/RyFA5 X-Received: by 10.194.61.133 with SMTP id p5mr42048261wjr.132.1433166421728; Mon, 01 Jun 2015 06:47:01 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id bh7sm22009831wjb.8.2015.06.01.06.47.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2015 06:47:00 -0700 (PDT) From: Thomas Monjalon To: "Qiu, Michael" Date: Mon, 01 Jun 2015 15:46:10 +0200 Message-ID: <1870284.i6UZF4OMEr@xps13> Organization: 6WIND User-Agent: KMail/4.14.7 (Linux/4.0.1-1-ARCH; KDE/4.14.7; x86_64; ; ) In-Reply-To: <533710CFB86FA344BFBF2D6802E602860466E23B@SHSMSX101.ccr.corp.intel.com> References: <1429003502-20783-1-git-send-email-qiudayu@cn.ibm.com> <4341B239C0EFF9468EE453F9E9F4604D016BC71B@shsmsx102.ccr.corp.intel.com> <533710CFB86FA344BFBF2D6802E602860466E23B@SHSMSX101.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Michael Qiu Subject: Re: [dpdk-dev] [PATCH] librte_pmd_fm10k: Fix max_vfs issue in fm10k PMD 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 13:47:02 -0000 2015-05-12 05:30, Qiu, Michael: > Hi, thomas > > What about this patch? It seems this patch was not *really* sent to dev@dpdk.org. Please re-send, keeping the Acked-by line. > On 4/16/2015 4:09 PM, Chen, Jing D wrote: > > From: Michael Qiu [mailto:qiudayu@cn.ibm.com] > >> From: Michael Qiu > >> > >> In DPDK, max_vfs means vf numbers created, not the max number vfs > >> the device supported. > >> > >> Signed-off-by: Michael Qiu > >> --- > >> lib/librte_pmd_fm10k/fm10k_ethdev.c | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a/lib/librte_pmd_fm10k/fm10k_ethdev.c > >> b/lib/librte_pmd_fm10k/fm10k_ethdev.c > >> index 0312fad..297ff88 100644 > >> --- a/lib/librte_pmd_fm10k/fm10k_ethdev.c > >> +++ b/lib/librte_pmd_fm10k/fm10k_ethdev.c > >> @@ -770,7 +770,7 @@ fm10k_dev_infos_get(struct rte_eth_dev *dev, > >> dev_info->max_tx_queues = hw->mac.max_queues; > >> dev_info->max_mac_addrs = 1; > >> dev_info->max_hash_mac_addrs = 0; > >> - dev_info->max_vfs = FM10K_MAX_VF_NUM; > >> + dev_info->max_vfs = dev->pci_dev->max_vfs; > >> dev_info->max_vmdq_pools = ETH_64_POOLS; > >> dev_info->rx_offload_capa = > >> DEV_RX_OFFLOAD_IPV4_CKSUM | > >> -- > >> 1.9.3 > > Acked-by Jing Chen