diff mbox series

[V1,4/7] tests/vhost_virtio_pmd_interrupt: Delete modify l3fwd-power example code

Message ID 20211116145130.113807-5-linglix.chen@intel.com (mailing list archive)
State Accepted
Headers show
Series Delete modify l3fwd-power example code | expand

Commit Message

Chen, LingliX Nov. 16, 2021, 2:51 p.m. UTC
Delete modify l3fwd-power example code.

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 tests/TestSuite_vhost_virtio_pmd_interrupt.py | 4 ----
 1 file changed, 4 deletions(-)

Comments

Wang, Yinan Nov. 22, 2021, 3:21 a.m. UTC | #1
Acked-by:  Yinan Wang <yinan.wang@intel.com>

> -----Original Message-----
> From: Lingli Chen <linglix.chen@intel.com>
> Sent: 2021?11?16? 22:51
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts][PATCH V1 4/7] tests/vhost_virtio_pmd_interrupt: Delete modify
> l3fwd-power example code
> 
> Delete modify l3fwd-power example code.
> 
> Signed-off-by: Lingli Chen <linglix.chen@intel.com>
> ---
>  tests/TestSuite_vhost_virtio_pmd_interrupt.py | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> index f421a095..504266f8 100644
> --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> @@ -98,10 +98,6 @@ class TestVhostVirtioPmdInterrupt(TestCase):
>          """
>          rebuild l3fwd-power in vm and set the virtio-net driver
>          """
> -        self.vm_dut.send_expect("cp ./examples/l3fwd-power/main.c /tmp/",
> "#")
> -        self.vm_dut.send_expect("sed -i
> '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10)
> -        self.vm_dut.send_expect(
> -                "sed -i 's/.mq_mode        = ETH_MQ_RX_RSS,/.mq_mode        =
> ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10)
>          out = self.vm_dut.build_dpdk_apps('examples/l3fwd-power')
>          self.verify("Error" not in out, "compilation l3fwd-power error")
>          self.vm_dut.send_expect("modprobe vfio
> enable_unsafe_noiommu_mode=1", "#")
> --
> 2.33.1
diff mbox series

Patch

diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
index f421a095..504266f8 100644
--- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
@@ -98,10 +98,6 @@  class TestVhostVirtioPmdInterrupt(TestCase):
         """
         rebuild l3fwd-power in vm and set the virtio-net driver
         """
-        self.vm_dut.send_expect("cp ./examples/l3fwd-power/main.c /tmp/", "#")
-        self.vm_dut.send_expect("sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10)
-        self.vm_dut.send_expect(
-                "sed -i 's/.mq_mode        = ETH_MQ_RX_RSS,/.mq_mode        = ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10)
         out = self.vm_dut.build_dpdk_apps('examples/l3fwd-power')
         self.verify("Error" not in out, "compilation l3fwd-power error")
         self.vm_dut.send_expect("modprobe vfio enable_unsafe_noiommu_mode=1", "#")