test suite reviews and discussions
 help / color / mirror / Atom feed
From: Ling Wei <weix.ling@intel.com>
To: dts@dpdk.org
Cc: Ling Wei <weix.ling@intel.com>
Subject: [dts] [PATCH V1] tests/cbdma:Define defaul params in set_up_all
Date: Thu, 14 Jan 2021 15:16:08 +0000	[thread overview]
Message-ID: <20210114151608.1899979-1-weix.ling@intel.com> (raw)

Define defaul params in set_up_all

Signed-off-by: Ling Wei <weix.ling@intel.com>
---
 tests/TestSuite_cbdma.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/TestSuite_cbdma.py b/tests/TestSuite_cbdma.py
index 2685fc4f..f95e2942 100755
--- a/tests/TestSuite_cbdma.py
+++ b/tests/TestSuite_cbdma.py
@@ -55,6 +55,10 @@ class TestCBDMA(TestCase):
         self.verify(len(self.dut_ports) >= 2, "Insufficient ports for testing")
         self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
         self.get_cbdma_ports_info_and_bind_to_dpdk()
+        # default --proc-type=primary, case 1-6 use default values, case7 use --proc-type=secondary
+        self.cbdma_proc = '--proc-type=primary'
+        # default v_dev is None, case 1-6 use default None values, case7 use --vdev net_null_0
+        self.v_dev = ''
         out = self.dut.build_dpdk_apps('./examples/ioat')
         self.ioat_path = self.dut.apps_name['ioat']
         self.verify('Error' not in out, 'compilation ioat error')
-- 
2.25.1


             reply	other threads:[~2021-01-14  7:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-14 15:16 Ling Wei [this message]
2021-01-14  7:26 ` Ling, WeiX
2021-01-19  7:53   ` Wang, Yinan
2021-01-21  7:47 ` Tu, Lijuan

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=20210114151608.1899979-1-weix.ling@intel.com \
    --to=weix.ling@intel.com \
    --cc=dts@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).