test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Xu, Qian Q" <qian.q.xu@intel.com>
To: "Lu, PeipeiX" <peipeix.lu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Lu, PeipeiX" <peipeix.lu@intel.com>
Subject: Re: [dts] [PATCH V1] tests/generic_filter: fix testpmd not support 128	queues
Date: Fri, 25 Aug 2017 08:38:48 +0000	[thread overview]
Message-ID: <82F45D86ADE5454A95A89742C8D1410E3B73797A@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1503650148-92405-1-git-send-email-peipeix.lu@intel.com>

Thanks Peipei, do we need build again when we quit this case? 

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lu,peipei
> Sent: Friday, August 25, 2017 4:36 PM
> To: dts@dpdk.org
> Cc: Lu, PeipeiX <peipeix.lu@intel.com>
> Subject: [dts] [PATCH V1] tests/generic_filter: fix testpmd not support 128
> queues
> 
> due to testpmd support 64 queues by default,so test the case need to modify
> ixgbe_ethdev.h.
> 
> Signed-off-by: lu,peipei <peipeix.lu@intel.com>
> ---
>  tests/TestSuite_generic_filter.py | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_filter.py
> index c42ec5a..a8eb2d9 100644
> --- a/tests/TestSuite_generic_filter.py
> +++ b/tests/TestSuite_generic_filter.py
> @@ -55,6 +55,8 @@ class TestGeneric_filter(TestCase):
> 
>          Generic filter Prerequistites
>          """
> +	self.dut.send_expect("sed -i -e 's/#define
> IXGBE_NONE_MODE_TX_NB_QUEUES 64$/#define
> IXGBE_NONE_MODE_TX_NB_QUEUES 128/' drivers/net/ixgbe/ixgbe_ethdev.h",
> "# ",30)
> +	self.dut.build_install_dpdk(self.target)
> 
>          # Based on h/w type, choose how many ports to use
>          ports = self.dut.get_ports(self.nic) @@ -690,7 +692,7 @@ class
> TestGeneric_filter(TestCase):
> 
>      def test_128_queues(self):
>          # testpmd can't support assign queue to received package, so can't test
> -        self.verify(False, "testpmd not support assign queue 127 received package")
> +        #self.verify(False, "testpmd not support assign queue 127
> + received package")
>          if self.nic == "niantic":
>              global valports
>              total_mbufs = self.request_mbufs(128) * len(valports) @@ -825,3 +827,4
> @@ class TestGeneric_filter(TestCase):
>          Run after each test case.
>          """
>          self.dut.kill_all()
> +	self.dut.send_expect("sed -i -e 's/#define
> +IXGBE_NONE_MODE_TX_NB_QUEUES 128$/#define
> IXGBE_NONE_MODE_TX_NB_QUEUES
> +64/' drivers/net/ixgbe/ixgbe_ethdev.h", "# ",30)
> --
> 1.9.3

  reply	other threads:[~2017-08-25  8:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-25  8:35 lu,peipei
2017-08-25  8:38 ` Xu, Qian Q [this message]
2017-08-28  1:16 ` Liu, Yong
2017-08-28  5:51 lu,peipei
2017-08-28  9:08 ` Liu, Yong
2017-08-29  1:09 lu,peipei
2017-08-29 17:35 ` Liu, Yong

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=82F45D86ADE5454A95A89742C8D1410E3B73797A@shsmsx102.ccr.corp.intel.com \
    --to=qian.q.xu@intel.com \
    --cc=dts@dpdk.org \
    --cc=peipeix.lu@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).