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 EA0299A92 for ; Tue, 2 Jun 2015 04:23:35 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 01 Jun 2015 19:23:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,536,1427785200"; d="scan'208";a="703678451" Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88]) by orsmga001.jf.intel.com with ESMTP; 01 Jun 2015 19:23:33 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by KMSMSX153.gar.corp.intel.com (172.21.73.88) with Microsoft SMTP Server (TLS) id 14.3.224.2; Tue, 2 Jun 2015 10:23:09 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.120]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.50]) with mapi id 14.03.0224.002; Tue, 2 Jun 2015 10:23:07 +0800 From: "Qiu, Michael" To: Thomas Monjalon Thread-Topic: [PATCH] librte_pmd_fm10k: Fix max_vfs issue in fm10k PMD Thread-Index: AQHQdpTwwWpYa5d5AEWXccWFR+p8Hw== Date: Tue, 2 Jun 2015 02:23:07 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E60286046850FE@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> <1870284.i6UZF4OMEr@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 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: Tue, 02 Jun 2015 02:23:36 -0000 On 6/1/2015 9:47 PM, Thomas Monjalon wrote:=0A= > 2015-05-12 05:30, Qiu, Michael:=0A= >> Hi, thomas=0A= >>=0A= >> What about this patch?=0A= > It seems this patch was not *really* sent to dev@dpdk.org.=0A= > Please re-send, keeping the Acked-by line.=0A= =0A= OK, I will resend it.=0A= =0A= Thanks,=0A= Michael=0A= >> On 4/16/2015 4:09 PM, Chen, Jing D wrote:=0A= >>> From: Michael Qiu [mailto:qiudayu@cn.ibm.com]=0A= >>>> From: Michael Qiu =0A= >>>>=0A= >>>> In DPDK, max_vfs means vf numbers created, not the max number vfs=0A= >>>> the device supported.=0A= >>>>=0A= >>>> Signed-off-by: Michael Qiu =0A= >>>> ---=0A= >>>> lib/librte_pmd_fm10k/fm10k_ethdev.c | 2 +-=0A= >>>> 1 file changed, 1 insertion(+), 1 deletion(-)=0A= >>>>=0A= >>>> diff --git a/lib/librte_pmd_fm10k/fm10k_ethdev.c=0A= >>>> b/lib/librte_pmd_fm10k/fm10k_ethdev.c=0A= >>>> index 0312fad..297ff88 100644=0A= >>>> --- a/lib/librte_pmd_fm10k/fm10k_ethdev.c=0A= >>>> +++ b/lib/librte_pmd_fm10k/fm10k_ethdev.c=0A= >>>> @@ -770,7 +770,7 @@ fm10k_dev_infos_get(struct rte_eth_dev *dev,=0A= >>>> dev_info->max_tx_queues =3D hw->mac.max_queues;=0A= >>>> dev_info->max_mac_addrs =3D 1;=0A= >>>> dev_info->max_hash_mac_addrs =3D 0;=0A= >>>> - dev_info->max_vfs =3D FM10K_MAX_VF_NUM;=0A= >>>> + dev_info->max_vfs =3D dev->pci_dev->max_vfs;=0A= >>>> dev_info->max_vmdq_pools =3D ETH_64_POOLS;=0A= >>>> dev_info->rx_offload_capa =3D=0A= >>>> DEV_RX_OFFLOAD_IPV4_CKSUM |=0A= >>>> --=0A= >>>> 1.9.3=0A= >>> Acked-by Jing Chen =0A= >=0A= >=0A= =0A=