* [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification
@ 2020-05-12 4:20 Xiao Qimai
2020-05-12 4:20 ` [dts] [PATCH V1 1/3]tests/TestSuite_vhost_enqueue_interrupt: update script for dpdk's modification Xiao Qimai
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Xiao Qimai @ 2020-05-12 4:20 UTC (permalink / raw)
To: dts; +Cc: Xiao Qimai
change source code of l3fwd-power to test virtio interrupt
Xiao Qimai (3):
update script for dpdk's modification
update script for dpdk's modification
update script for dpdk's modification
tests/TestSuite_vhost_enqueue_interrupt.py | 2 ++
tests/TestSuite_vhost_event_idx_interrupt.py | 2 ++
tests/TestSuite_vhost_virtio_user_interrupt.py | 2 ++
3 files changed, 6 insertions(+)
--
1.8.3.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH V1 1/3]tests/TestSuite_vhost_enqueue_interrupt: update script for dpdk's modification
2020-05-12 4:20 [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification Xiao Qimai
@ 2020-05-12 4:20 ` Xiao Qimai
2020-05-12 4:20 ` [dts] [PATCH V1 2/3]tests/TestSuite_vhost_event_idx_interrupt: " Xiao Qimai
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Xiao Qimai @ 2020-05-12 4:20 UTC (permalink / raw)
To: dts; +Cc: Xiao Qimai
Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
tests/TestSuite_vhost_enqueue_interrupt.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_vhost_enqueue_interrupt.py b/tests/TestSuite_vhost_enqueue_interrupt.py
index 7c6368a..f75c839 100644
--- a/tests/TestSuite_vhost_enqueue_interrupt.py
+++ b/tests/TestSuite_vhost_enqueue_interrupt.py
@@ -68,6 +68,8 @@ class TestVhostEnqueueInterrupt(TestCase):
self.dut.send_expect("cp ./examples/l3fwd-power/main.c .", "#")
self.dut.send_expect(
"sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#")
+ cmd = "sed -i 's/rte_exit(EXIT_FAILURE, \"init_power_library failed/RTE_LOG(ERR, L3FWD_POWER, \"init_power_library failed/g' ./examples/l3fwd-power/main.c"
+ self.dut.send_expect(cmd, "#")
out = self.dut.build_dpdk_apps('examples/l3fwd-power')
self.verify("Error" not in out, "compilation l3fwd-power error")
--
1.8.3.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH V1 2/3]tests/TestSuite_vhost_event_idx_interrupt: update script for dpdk's modification
2020-05-12 4:20 [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification Xiao Qimai
2020-05-12 4:20 ` [dts] [PATCH V1 1/3]tests/TestSuite_vhost_enqueue_interrupt: update script for dpdk's modification Xiao Qimai
@ 2020-05-12 4:20 ` Xiao Qimai
2020-05-12 4:20 ` [dts] [PATCH V1 3/3]tests/TestSuite_vhost_virtio_user_interrupt: " Xiao Qimai
2020-05-12 4:30 ` [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification Xiao, QimaiX
3 siblings, 0 replies; 5+ messages in thread
From: Xiao Qimai @ 2020-05-12 4:20 UTC (permalink / raw)
To: dts; +Cc: Xiao Qimai
Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
tests/TestSuite_vhost_event_idx_interrupt.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_vhost_event_idx_interrupt.py b/tests/TestSuite_vhost_event_idx_interrupt.py
index d6b0b3d..8a252a1 100644
--- a/tests/TestSuite_vhost_event_idx_interrupt.py
+++ b/tests/TestSuite_vhost_event_idx_interrupt.py
@@ -79,6 +79,8 @@ class TestVhostEventIdxInterrupt(TestCase):
self.dut.send_expect("cp ./examples/l3fwd-power/main.c .", "#")
self.dut.send_expect(
"sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10)
+ cmd = "sed -i 's/rte_exit(EXIT_FAILURE, \"init_power_library failed/RTE_LOG(ERR, L3FWD_POWER, \"init_power_library failed/g' ./examples/l3fwd-power/main.c"
+ self.dut.send_expect(cmd, "#")
out = self.dut.send_expect("make -C examples/l3fwd-power", "#")
self.verify("Error" not in out, "compilation l3fwd-power error")
--
1.8.3.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH V1 3/3]tests/TestSuite_vhost_virtio_user_interrupt: update script for dpdk's modification
2020-05-12 4:20 [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification Xiao Qimai
2020-05-12 4:20 ` [dts] [PATCH V1 1/3]tests/TestSuite_vhost_enqueue_interrupt: update script for dpdk's modification Xiao Qimai
2020-05-12 4:20 ` [dts] [PATCH V1 2/3]tests/TestSuite_vhost_event_idx_interrupt: " Xiao Qimai
@ 2020-05-12 4:20 ` Xiao Qimai
2020-05-12 4:30 ` [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification Xiao, QimaiX
3 siblings, 0 replies; 5+ messages in thread
From: Xiao Qimai @ 2020-05-12 4:20 UTC (permalink / raw)
To: dts; +Cc: Xiao Qimai
Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
tests/TestSuite_vhost_virtio_user_interrupt.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py b/tests/TestSuite_vhost_virtio_user_interrupt.py
index 59b9b2f..fc0dbd8 100644
--- a/tests/TestSuite_vhost_virtio_user_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_user_interrupt.py
@@ -82,6 +82,8 @@ class TestVirtioUserInterrupt(TestCase):
def prepare_l3fwd_power(self):
self.dut.send_expect("cp ./examples/l3fwd-power/main.c .", "#")
+ cmd = "sed -i 's/rte_exit(EXIT_FAILURE, \"init_power_library failed/RTE_LOG(ERR, L3FWD_POWER, \"init_power_library failed/g' ./examples/l3fwd-power/main.c"
+ self.dut.send_expect(cmd, "#")
self.dut.send_expect(
"sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10)
self.dut.send_expect(
--
1.8.3.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification
2020-05-12 4:20 [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification Xiao Qimai
` (2 preceding siblings ...)
2020-05-12 4:20 ` [dts] [PATCH V1 3/3]tests/TestSuite_vhost_virtio_user_interrupt: " Xiao Qimai
@ 2020-05-12 4:30 ` Xiao, QimaiX
3 siblings, 0 replies; 5+ messages in thread
From: Xiao, QimaiX @ 2020-05-12 4:30 UTC (permalink / raw)
To: dts
[-- Attachment #1.1: Type: text/plain, Size: 751 bytes --]
Tested-by:Xiao Qimai <qimaix.xiao@intel.com>
________________________________
From: Xiao, QimaiX <qimaix.xiao@intel.com>
Sent: Tuesday, May 12, 2020 12:20 PM
To: dts@dpdk.org <dts@dpdk.org>
Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
Subject: [dts][PATCH V1 0/3] update scripts for dpdk l3fwd-power modification
change source code of l3fwd-power to test virtio interrupt
Xiao Qimai (3):
update script for dpdk's modification
update script for dpdk's modification
update script for dpdk's modification
tests/TestSuite_vhost_enqueue_interrupt.py | 2 ++
tests/TestSuite_vhost_event_idx_interrupt.py | 2 ++
tests/TestSuite_vhost_virtio_user_interrupt.py | 2 ++
3 files changed, 6 insertions(+)
--
1.8.3.1
[-- Attachment #1.2: Type: text/html, Size: 2061 bytes --]
[-- Attachment #2: TestVhostEnqueueInterrupt.log --]
[-- Type: application/octet-stream, Size: 10534 bytes --]
12/05/2020 10:09:22 dts:
TEST SUITE : TestVhostEnqueueInterrupt
12/05/2020 10:09:22 dts: NIC : fortville_eagle
12/05/2020 10:09:22 dut.10.240.183.212:
12/05/2020 10:09:22 tester:
12/05/2020 10:09:22 dut.10.240.183.212: cp ./examples/l3fwd-power/main.c .
12/05/2020 10:09:22 dut.10.240.183.212:
12/05/2020 10:09:22 dut.10.240.183.212: sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c
12/05/2020 10:09:22 dut.10.240.183.212:
12/05/2020 10:09:22 dut.10.240.183.212: sed -i 's/rte_exit(EXIT_FAILURE, "init_power_library failed/RTE_LOG(ERR, L3FWD_POWER, "init_power_library failed/g' ./examples/l3fwd-power/main.c
12/05/2020 10:09:22 dut.10.240.183.212:
12/05/2020 10:09:22 dut.10.240.183.212: rm -rf ./app/test/test_resource_c.res.o
12/05/2020 10:09:22 dut.10.240.183.212:
12/05/2020 10:09:22 dut.10.240.183.212: rm -rf ./app/test/test_resource_tar.res.o
12/05/2020 10:09:22 dut.10.240.183.212:
12/05/2020 10:09:22 dut.10.240.183.212: rm -rf ./app/test/test_pci_sysfs.res.o
12/05/2020 10:09:23 dut.10.240.183.212:
12/05/2020 10:09:23 dut.10.240.183.212: make -j 70 -C examples/l3fwd-power
12/05/2020 10:09:25 dut.10.240.183.212: make: Entering directory '/root/dpdk/examples/l3fwd-power'
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
CC main.o
LD l3fwd-power
INSTALL-APP l3fwd-power
INSTALL-MAP l3fwd-power.map
make: Leaving directory '/root/dpdk/examples/l3fwd-power'
12/05/2020 10:09:25 TestVhostEnqueueInterrupt: Test Case test_wake_up_packed_ring_vhost_user_core_with_l3fwd_power_sample Begin
12/05/2020 10:09:26 dut.10.240.183.212:
12/05/2020 10:09:26 tester:
12/05/2020 10:09:26 dut.10.240.183.212: killall -s INT testpmd
12/05/2020 10:09:26 dut.10.240.183.212: testpmd: no process found
12/05/2020 10:09:26 dut.10.240.183.212: killall l3fwd-power
12/05/2020 10:09:26 dut.10.240.183.212: l3fwd-power: no process found
12/05/2020 10:09:26 dut.10.240.183.212: rm -rf ./vhost-net*
12/05/2020 10:09:26 dut.10.240.183.212:
12/05/2020 10:09:30 TestVhostEnqueueInterrupt: Launch l3fwd_sample sample:
12/05/2020 10:09:58 TestVhostEnqueueInterrupt: Launch l3fwd-power sample finished
12/05/2020 10:10:13 TestVhostEnqueueInterrupt: lcore 3 is waked up from rx interrupt on port 0 queue 0
12/05/2020 10:10:28 TestVhostEnqueueInterrupt: lcore 3 sleeps until interrupt triggers
12/05/2020 10:10:43 TestVhostEnqueueInterrupt: lcore 3 is waked up from rx interrupt on port 0 queue 0
12/05/2020 10:10:43 TestVhostEnqueueInterrupt: Test Case test_wake_up_packed_ring_vhost_user_core_with_l3fwd_power_sample Result PASSED:
12/05/2020 10:10:45 dut.10.240.183.212: killall l3fwd-power
12/05/2020 10:10:45 dut.10.240.183.212: l3fwd-power: no process found
12/05/2020 10:10:45 dut.10.240.183.212: killall -s INT testpmd
12/05/2020 10:10:45 dut.10.240.183.212: testpmd: no process found
12/05/2020 10:10:45 dut.10.240.183.212: kill_all: called by dut and prefix list has value.
12/05/2020 10:10:46 TestVhostEnqueueInterrupt: Test Case test_wake_up_packed_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled Begin
12/05/2020 10:10:46 dut.10.240.183.212:
12/05/2020 10:10:46 tester:
12/05/2020 10:10:46 dut.10.240.183.212: killall -s INT testpmd
12/05/2020 10:10:46 dut.10.240.183.212: testpmd: no process found
12/05/2020 10:10:46 dut.10.240.183.212: killall l3fwd-power
12/05/2020 10:10:46 dut.10.240.183.212: l3fwd-power: no process found
12/05/2020 10:10:46 dut.10.240.183.212: rm -rf ./vhost-net*
12/05/2020 10:10:46 dut.10.240.183.212:
12/05/2020 10:10:51 TestVhostEnqueueInterrupt: Launch l3fwd_sample sample:
12/05/2020 10:11:18 TestVhostEnqueueInterrupt: Launch l3fwd-power sample finished
12/05/2020 10:11:33 TestVhostEnqueueInterrupt: lcore 6 is waked up from rx interrupt on port 0 queue 0
12/05/2020 10:11:33 TestVhostEnqueueInterrupt: lcore 7 is waked up from rx interrupt on port 0 queue 1
12/05/2020 10:11:33 TestVhostEnqueueInterrupt: lcore 8 is waked up from rx interrupt on port 0 queue 2
12/05/2020 10:11:33 TestVhostEnqueueInterrupt: lcore 9 is waked up from rx interrupt on port 0 queue 3
12/05/2020 10:11:48 TestVhostEnqueueInterrupt: lcore 6 sleeps until interrupt triggers
12/05/2020 10:11:48 TestVhostEnqueueInterrupt: lcore 7 sleeps until interrupt triggers
12/05/2020 10:11:48 TestVhostEnqueueInterrupt: lcore 8 sleeps until interrupt triggers
12/05/2020 10:11:48 TestVhostEnqueueInterrupt: lcore 9 sleeps until interrupt triggers
12/05/2020 10:12:03 TestVhostEnqueueInterrupt: lcore 6 is waked up from rx interrupt on port 0 queue 0
12/05/2020 10:12:03 TestVhostEnqueueInterrupt: lcore 7 is waked up from rx interrupt on port 0 queue 1
12/05/2020 10:12:03 TestVhostEnqueueInterrupt: lcore 8 is waked up from rx interrupt on port 0 queue 2
12/05/2020 10:12:03 TestVhostEnqueueInterrupt: lcore 9 is waked up from rx interrupt on port 0 queue 3
12/05/2020 10:12:03 TestVhostEnqueueInterrupt: Test Case test_wake_up_packed_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled Result PASSED:
12/05/2020 10:12:05 dut.10.240.183.212: killall l3fwd-power
12/05/2020 10:12:05 dut.10.240.183.212: l3fwd-power: no process found
12/05/2020 10:12:05 dut.10.240.183.212: killall -s INT testpmd
12/05/2020 10:12:06 dut.10.240.183.212: testpmd: no process found
12/05/2020 10:12:06 dut.10.240.183.212: kill_all: called by dut and prefix list has value.
12/05/2020 10:12:06 TestVhostEnqueueInterrupt: Test Case test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample Begin
12/05/2020 10:12:07 dut.10.240.183.212:
12/05/2020 10:12:07 tester:
12/05/2020 10:12:07 dut.10.240.183.212: killall -s INT testpmd
12/05/2020 10:12:07 dut.10.240.183.212: testpmd: no process found
12/05/2020 10:12:07 dut.10.240.183.212: killall l3fwd-power
12/05/2020 10:12:07 dut.10.240.183.212: l3fwd-power: no process found
12/05/2020 10:12:07 dut.10.240.183.212: rm -rf ./vhost-net*
12/05/2020 10:12:07 dut.10.240.183.212:
12/05/2020 10:12:11 TestVhostEnqueueInterrupt: Launch l3fwd_sample sample:
12/05/2020 10:12:39 TestVhostEnqueueInterrupt: Launch l3fwd-power sample finished
12/05/2020 10:12:54 TestVhostEnqueueInterrupt: lcore 3 is waked up from rx interrupt on port 0 queue 0
12/05/2020 10:13:09 TestVhostEnqueueInterrupt: lcore 3 sleeps until interrupt triggers
12/05/2020 10:13:24 TestVhostEnqueueInterrupt: lcore 3 is waked up from rx interrupt on port 0 queue 0
12/05/2020 10:13:24 TestVhostEnqueueInterrupt: Test Case test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample Result PASSED:
12/05/2020 10:13:26 dut.10.240.183.212: killall l3fwd-power
12/05/2020 10:13:26 dut.10.240.183.212: l3fwd-power: no process found
12/05/2020 10:13:26 dut.10.240.183.212: killall -s INT testpmd
12/05/2020 10:13:26 dut.10.240.183.212: testpmd: no process found
12/05/2020 10:13:26 dut.10.240.183.212: kill_all: called by dut and prefix list has value.
12/05/2020 10:13:27 TestVhostEnqueueInterrupt: Test Case test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled Begin
12/05/2020 10:13:27 dut.10.240.183.212:
12/05/2020 10:13:27 tester:
12/05/2020 10:13:27 dut.10.240.183.212: killall -s INT testpmd
12/05/2020 10:13:27 dut.10.240.183.212: testpmd: no process found
12/05/2020 10:13:27 dut.10.240.183.212: killall l3fwd-power
12/05/2020 10:13:27 dut.10.240.183.212: l3fwd-power: no process found
12/05/2020 10:13:27 dut.10.240.183.212: rm -rf ./vhost-net*
12/05/2020 10:13:27 dut.10.240.183.212:
12/05/2020 10:13:32 TestVhostEnqueueInterrupt: Launch l3fwd_sample sample:
12/05/2020 10:13:59 TestVhostEnqueueInterrupt: Launch l3fwd-power sample finished
12/05/2020 10:14:14 TestVhostEnqueueInterrupt: lcore 6 is waked up from rx interrupt on port 0 queue 0
12/05/2020 10:14:14 TestVhostEnqueueInterrupt: lcore 7 is waked up from rx interrupt on port 0 queue 1
12/05/2020 10:14:14 TestVhostEnqueueInterrupt: lcore 8 is waked up from rx interrupt on port 0 queue 2
12/05/2020 10:14:14 TestVhostEnqueueInterrupt: lcore 9 is waked up from rx interrupt on port 0 queue 3
12/05/2020 10:14:29 TestVhostEnqueueInterrupt: lcore 6 sleeps until interrupt triggers
12/05/2020 10:14:29 TestVhostEnqueueInterrupt: lcore 7 sleeps until interrupt triggers
12/05/2020 10:14:29 TestVhostEnqueueInterrupt: lcore 8 sleeps until interrupt triggers
12/05/2020 10:14:29 TestVhostEnqueueInterrupt: lcore 9 sleeps until interrupt triggers
12/05/2020 10:14:44 TestVhostEnqueueInterrupt: lcore 6 is waked up from rx interrupt on port 0 queue 0
12/05/2020 10:14:44 TestVhostEnqueueInterrupt: lcore 7 is waked up from rx interrupt on port 0 queue 1
12/05/2020 10:14:44 TestVhostEnqueueInterrupt: lcore 8 is waked up from rx interrupt on port 0 queue 2
12/05/2020 10:14:44 TestVhostEnqueueInterrupt: lcore 9 is waked up from rx interrupt on port 0 queue 3
12/05/2020 10:14:44 TestVhostEnqueueInterrupt: Test Case test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample_when_multi_queues_enabled Result PASSED:
12/05/2020 10:14:46 dut.10.240.183.212: killall l3fwd-power
12/05/2020 10:14:46 dut.10.240.183.212: l3fwd-power: no process found
12/05/2020 10:14:46 dut.10.240.183.212: killall -s INT testpmd
12/05/2020 10:14:47 dut.10.240.183.212: testpmd: no process found
12/05/2020 10:14:47 dut.10.240.183.212: kill_all: called by dut and prefix list has value.
12/05/2020 10:14:48 dts:
TEST SUITE ENDED: TestVhostEnqueueInterrupt
[-- Attachment #3: TestVhostEventIdxInterrupt.log --]
[-- Type: application/octet-stream, Size: 91867 bytes --]
[-- Attachment #4: TestVirtioUserInterrupt.log --]
[-- Type: application/octet-stream, Size: 20463 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-12 4:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 4:20 [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification Xiao Qimai
2020-05-12 4:20 ` [dts] [PATCH V1 1/3]tests/TestSuite_vhost_enqueue_interrupt: update script for dpdk's modification Xiao Qimai
2020-05-12 4:20 ` [dts] [PATCH V1 2/3]tests/TestSuite_vhost_event_idx_interrupt: " Xiao Qimai
2020-05-12 4:20 ` [dts] [PATCH V1 3/3]tests/TestSuite_vhost_virtio_user_interrupt: " Xiao Qimai
2020-05-12 4:30 ` [dts] [PATCH V1 0/3] update scripts for dpdk l3fwd-power modification Xiao, QimaiX
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).