test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: "Zhao, MeijuanX" <meijuanx.zhao@intel.com>,
	"dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhao, MeijuanX" <meijuanx.zhao@intel.com>
Subject: Re: [dts] [PATCH V1] tests/ddp_gtp : change match vf queue constant
Date: Wed, 24 Jan 2018 05:18:32 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62F59298@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1516692416-22533-1-git-send-email-meijuanx.zhao@intel.com>

Meijuan,
As commit log in ee653bd8, queue number for each device is configured by queue-num-per-vf. 
Default value is defined in drivers/net/i40e/i40e_ethdev.c, named as RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF. 
You can strip this value out from source code. 

Meaning for 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM' is number of queues for each VSI. It is different from 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF'.

Thanks,
Marvin


> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhao,meijuan
> Sent: Tuesday, January 23, 2018 3:27 PM
> To: dts@dpdk.org
> Cc: Zhao, MeijuanX <meijuanx.zhao@intel.com>
> Subject: [dts] [PATCH V1] tests/ddp_gtp : change match vf queue constant
> 
> 
> in dpdk/conf/common_base file, no key word
> CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF
> but CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM
> 
> Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
> ---
>  tests/TestSuite_ddp_gtp.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_ddp_gtp.py b/tests/TestSuite_ddp_gtp.py
> index 1931b1a..9207b15 100644
> --- a/tests/TestSuite_ddp_gtp.py
> +++ b/tests/TestSuite_ddp_gtp.py
> @@ -27,7 +27,7 @@ class TestDdpGtp(TestCase):
>          profile_dst = "/tmp/"
>          self.dut.session.copy_file_to(profile_file, profile_dst)
>          PF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF'
> -        VF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF'
> +        VF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM'
>          self.PF_QUEUE = self.search_queue_number(PF_Q_strip)
>          self.VF_QUEUE = self.search_queue_number(VF_Q_strip)
> 
> --
> 1.9.3

      reply	other threads:[~2018-01-24  5:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23  7:26 zhao,meijuan
2018-01-24  5:18 ` Liu, Yong [this message]

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=86228AFD5BCD8E4EBFD2B90117B5E81E62F59298@SHSMSX103.ccr.corp.intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=meijuanx.zhao@intel.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).