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/vf daemon  fix make queues full fail
Date: Mon, 11 Jun 2018 05:14:22 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E630C1711@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1528094226-38782-1-git-send-email-meijuanx.zhao@intel.com>

Meijuan,
Your git commit is not accurate, the number of descriptors are changed because of testpmd will use driver default setting. This value maybe changed as different NICs will have different settings. 

I recommend you to fix this value by testpmd "--rxd" parameters, thus this value can be aligned between all NICs.

Thanks,
Marvin

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhao,meijuan
> Sent: Monday, June 04, 2018 2:37 PM
> To: dts@dpdk.org
> Cc: Zhao, MeijuanX <meijuanx.zhao@intel.com>
> Subject: [dts] [PATCH V1] tests/vf daemon fix make queues full fail
> 
> dpdk18.05 change CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE as 512
> 
> Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
> ---
>  tests/TestSuite_vf_daemon.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_vf_daemon.py b/tests/TestSuite_vf_daemon.py
> index 56fc4be..b5e9e99 100644
> --- a/tests/TestSuite_vf_daemon.py
> +++ b/tests/TestSuite_vf_daemon.py
> @@ -464,7 +464,7 @@ class Testvf_daemon(TestCase):
>          self.vf1_mac = self.vm1_testpmd.get_port_mac(0)
>          out = self.send_and_pmdout(self.vf1_mac, 0, 64, 2000)
>          out = self.vm1_testpmd.execute_cmd('show port stats 0')
> -        self.verify("RX-packets: 1023" in out,
> +        self.verify("RX-packets: 511" in out,
>              "Failed to let vf1 full of queues!!!")
>          out = self.send_and_pmdout(self.vf0_mac, 0, 64, 20)
>          out = self.vm0_testpmd.execute_cmd('show port stats 0')
> --
> 1.9.3

  reply	other threads:[~2018-06-11  5:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04  6:37 zhao,meijuan
2018-06-11  5:14 ` Liu, Yong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-06-11 10:14 [dts] [PATCH V1] tests/vf daemon : " zhao,meijuan
2018-06-12  9:54 ` Liu, Yong
2018-05-18  8:10 [dts] [PATCH V1] tests/vf daemon: " zhao,meijuan

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=86228AFD5BCD8E4EBFD2B90117B5E81E630C1711@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).