test suite reviews and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Yan Xia <yanx.xia@intel.com>
Cc: dts@dpdk.org, "Tu, Lijuan" <lijuan.tu@intel.com>,
	"Honnappa Nagarahalli" <Honnappa.Nagarahalli@arm.com>,
	"Juraj Linkeš" <juraj.linkes@pantheon.tech>,
	"Aaron Conole" <aconole@redhat.com>,
	"Thomas Monjalon" <thomas@monjalon.net>,
	"Yigit, Ferruh" <ferruh.yigit@intel.com>
Subject: Re: [dts] [PATCH V1 1/3] tests/generic_flow_api: add and modify test cases
Date: Mon, 6 Sep 2021 12:02:12 +0200	[thread overview]
Message-ID: <CAJFAV8zVJAOBry4172XirBi7e+1hcfQ-Ck5zLbm-Bs3=Jm4N4w@mail.gmail.com> (raw)
In-Reply-To: <20210906173550.23959-1-yanx.xia@intel.com>

On Mon, Sep 6, 2021 at 11:04 AM Yan Xia <yanx.xia@intel.com> wrote:
>
> modify test cases about legcay command and move these to TestSuite_generic_flow_api
>
> Signed-off-by: Yan Xia <yanx.xia@intel.com>
> ---

[...]

> +    def test_128_queues(self):
> +
> +        set_filter_flag = 1
> +        packet_flag = 1
> +        if self.kdriver == "ixgbe":
> +            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)

- Don't add code in DTS that modifies DPDK.


- This code change is present in another test (see 'git grep' below).
But I see no justification for this change in
https://docs.google.com/spreadsheets/d/1i7x4ecPiRXNKOrOy0the5WyGSWbdMxPLK7aWbuWI4ew/edit#gid=0&range=C19
I am for purging this change from DTS.


$ git grep IXGBE_NONE_MODE_TX_NB_QUEUES origin/main
origin/main:test_plans/generic_filter_test_plan.rst:    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
origin/main:tests/TestSuite_generic_filter.py:
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)
origin/main:tests/TestSuite_generic_filter.py:
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)


Thanks.


> +            self.dut.build_install_dpdk(self.target)
> +            global valports


-- 
David Marchand


      reply	other threads:[~2021-09-06 10:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 17:35 Yan Xia
2021-09-06 10:02 ` David Marchand [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='CAJFAV8zVJAOBry4172XirBi7e+1hcfQ-Ck5zLbm-Bs3=Jm4N4w@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=Honnappa.Nagarahalli@arm.com \
    --cc=aconole@redhat.com \
    --cc=dts@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=juraj.linkes@pantheon.tech \
    --cc=lijuan.tu@intel.com \
    --cc=thomas@monjalon.net \
    --cc=yanx.xia@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).