DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Qiu, Michael" <michael.qiu@intel.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, Michael Qiu <qiudayu@cn.ibm.com>
Subject: Re: [dpdk-dev] [PATCH] librte_pmd_fm10k: Fix max_vfs issue in fm10k PMD
Date: Tue, 2 Jun 2015 02:23:07 +0000	[thread overview]
Message-ID: <533710CFB86FA344BFBF2D6802E60286046850FE@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1870284.i6UZF4OMEr@xps13>

On 6/1/2015 9:47 PM, Thomas Monjalon wrote:
> 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.

OK, I will resend it.

Thanks,
Michael
>> On 4/16/2015 4:09 PM, Chen, Jing D wrote:
>>> From: Michael Qiu [mailto:qiudayu@cn.ibm.com]
>>>> From: Michael Qiu <michael.qiu@intel.com>
>>>>
>>>> In DPDK, max_vfs means vf numbers created, not the max number vfs
>>>> the device supported.
>>>>
>>>> Signed-off-by: Michael Qiu <michael.qiu@intel.com>
>>>> ---
>>>>  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 <jing.d.chen@intel.com>
>
>


  reply	other threads:[~2015-06-02  2:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1429003502-20783-1-git-send-email-qiudayu@cn.ibm.com>
2015-04-16  8:09 ` Chen, Jing D
2015-05-12  5:30   ` Qiu, Michael
2015-06-01 13:46     ` Thomas Monjalon
2015-06-02  2:23       ` Qiu, Michael [this message]
2015-06-02  2:28 Michael Qiu
2015-06-02 16:06 ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=533710CFB86FA344BFBF2D6802E60286046850FE@SHSMSX101.ccr.corp.intel.com \
    --to=michael.qiu@intel.com \
    --cc=dev@dpdk.org \
    --cc=qiudayu@cn.ibm.com \
    --cc=thomas.monjalon@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).