DPDK usage discussions
 help / color / mirror / Atom feed
From: Sivakiran Kodali <itzksk@icloud.com>
To: megha syam <syam.electro@gmail.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] Increasing Rx/Tx queues for i40evf driver
Date: Wed, 23 May 2018 11:43:55 +0530	[thread overview]
Message-ID: <C14AD7E6-F0D6-4D22-97A6-DE71E415575A@icloud.com> (raw)
In-Reply-To: <CAMshxciU7xvxig8VmMkmnWaBNiZt+e2LzbjkrDSiPXR6G7fxZg@mail.gmail.com>

Hi,
Keeping aside the fact as to why you wanna do this, the change needs to be done in PF driver that is on the host.
XL710 uses i40e driver. So change the i40e.h file as below.

#define I40E_DEFAULT_QUEUES_PER_VF 4
To
#define I40E_DEFAULT_QUEUES_PER_VF 16

Compile the driver and reinsert the kernel module.

Thanks 

Sent from my iPhone

> On 22-May-2018, at 11:45 AM, megha syam <syam.electro@gmail.com> wrote:
> 
> Hi All,
> I am using dpdk 16.07 version.
> The number queues listed by the sriov vf is 4 by default. (4 queue pairs to
> be specific)
> I have changed the config parameter
> 
> *CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF*
> 
> to 16.
> But still when the VM comes up, the number of queue pairs assigned is still
> 4.
> 
> In the host, the total number of VFs are 4 for the XL710 NIC.
> 
> Is there anything that needs to be done, to make VF use more number of
> queues per VF?
> 
> Thanks,
> Syam

  reply	other threads:[~2018-05-23  6:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22  6:15 megha syam
2018-05-23  6:13 ` Sivakiran Kodali [this message]
2018-05-23 11:06   ` megha syam

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=C14AD7E6-F0D6-4D22-97A6-DE71E415575A@icloud.com \
    --to=itzksk@icloud.com \
    --cc=syam.electro@gmail.com \
    --cc=users@dpdk.org \
    /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).