From: Reshma Pattan <reshma.pattan@intel.com>
To: dts@dpdk.org
Cc: Reshma Pattan <reshma.pattan@intel.com>
Subject: [dts] [PATCH] [PATCH]tests/power: replace eal whitelist option
Date: Wed, 22 Sep 2021 18:07:57 +0800 [thread overview]
Message-ID: <1632305277-412322-1-git-send-email-reshma.pattan@intel.com> (raw)
replace eal whitelist option '-w' with all '-a'
option.
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
---
test_plans/power_negative_test_plan.rst | 4 ++--
tests/TestSuite_power_negative.py | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/test_plans/power_negative_test_plan.rst b/test_plans/power_negative_test_plan.rst
index b1de4d4..7656368 100644
--- a/test_plans/power_negative_test_plan.rst
+++ b/test_plans/power_negative_test_plan.rst
@@ -149,11 +149,11 @@ Test Case4: TRAFFIC Policy Test based on JSON configure file with large integer
Step 1. Generate 1 VF under vfio-pci driver, launch vm_power_mgr sample with PF, for example::
echo 1 > /sys/bus/pci/drivers/vfio-pci/0000\:82\:00.0/max_vfs
- ./examples/vm_power_manager/build/vm_power_mgr -l 1-4 -n 4 --socket-mem=1024,1024 --file-prefix=test1 -w 82:00.0 -- -p 0x01
+ ./examples/vm_power_manager/build/vm_power_mgr -l 1-4 -n 4 --socket-mem=1024,1024 --file-prefix=test1 -a 82:00.0 -- -p 0x01
Step 2. Launch testpmd with VF::
- ./x86_64-native-linuxapp-gcc/app/testpmd -l 5-6 -n 4 --socket-mem=1024,1024 --file-prefix=test2 -w 0000:82:02.0 -- -i
+ ./x86_64-native-linuxapp-gcc/app/testpmd -l 5-6 -n 4 --socket-mem=1024,1024 --file-prefix=test2 -a 0000:82:02.0 -- -i
> set fwd macswap
> start
diff --git a/tests/TestSuite_power_negative.py b/tests/TestSuite_power_negative.py
index f6d4149..9c290ba 100644
--- a/tests/TestSuite_power_negative.py
+++ b/tests/TestSuite_power_negative.py
@@ -487,9 +487,9 @@ class TestPowerNegative(TestCase):
# ========================================================================================
# Step1. Generate 1 VF under igb_uio driver, launch vm_power_mgr sample with PF, for example:
# echo 1 > /sys/bus/pci/drivers/igb_uio/0000\:82\:00.0/max_vfs
- # ./examples/vm_power_manager/build/vm_power_mgr -l 1-4 -n 4 --socket-mem=1024,1024 --file-prefix=test1 -w 82:00.0 -- -p 0x01
+ # ./examples/vm_power_manager/build/vm_power_mgr -l 1-4 -n 4 --socket-mem=1024,1024 --file-prefix=test1 -a 82:00.0 -- -p 0x01
# Step 2. Launch testpmd with VF
- # ./x86_64-native-linuxapp-gcc/app/testpmd -l 5-6 -n 4 --socket-mem=1024,1024 --file-prefix=test2 -w 0000:82:02.0 -- -i
+ # ./x86_64-native-linuxapp-gcc/app/testpmd -l 5-6 -n 4 --socket-mem=1024,1024 --file-prefix=test2 -a 0000:82:02.0 -- -i
# >set fwd macswap
# >start
# Step 3. Prepare traffic policy in JSON format then send it to the power demon sample, put the VF MAC into the mac_list:
@@ -508,7 +508,7 @@ class TestPowerNegative(TestCase):
self.d_con([f'echo 1 > "/sys/bus/pci/drivers/vfio-pci/{self.port_pci}/sriov_numvfs"', '#', 10])
# start vm_power_mgr
- cmd = f'{self.vm_power_mgr} -l 1-4 -n 4 --socket-mem=1024,1024 --file-prefix=test1 -w {self.port_pci} -- -p 0x01'
+ cmd = f'{self.vm_power_mgr} -l 1-4 -n 4 --socket-mem=1024,1024 --file-prefix=test1 -a {self.port_pci} -- -p 0x01'
self.d_a_con([cmd, 'vmpower>', 30])
self.is_mgr_on = True
@@ -516,7 +516,7 @@ class TestPowerNegative(TestCase):
self.logger.info(vm_info)
# Step 2. Launch testpmd with VF
- cmd = f'{self.testpmd} -l 5-6 -n 4 --socket-mem=1024,1024 --file-prefix=test2 -w {self.port_pci} -- -i'
+ cmd = f'{self.testpmd} -l 5-6 -n 4 --socket-mem=1024,1024 --file-prefix=test2 -a {self.port_pci} -- -i'
self.d_con([cmd, 'testpmd>', 30])
self.is_testpmd_on = True
--
1.8.3.1
next reply other threads:[~2021-09-22 10:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-22 10:07 Reshma Pattan [this message]
2021-09-22 13:10 ` Pattan, Reshma
2021-09-27 5:46 ` 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=1632305277-412322-1-git-send-email-reshma.pattan@intel.com \
--to=reshma.pattan@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).