[dts] [PATCH V1 08/12] tests/vhost_user_interrupt: DPDK code prefix DEV change to RTE_ETH

Lingli Chen linglix.chen at intel.com
Mon Nov 8 17:28:50 CET 2021


According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH.

Signed-off-by: Lingli Chen <linglix.chen at intel.com>
---
 tests/TestSuite_vhost_user_interrupt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vhost_user_interrupt.py b/tests/TestSuite_vhost_user_interrupt.py
index f71a2467..a9a830b3 100644
--- a/tests/TestSuite_vhost_user_interrupt.py
+++ b/tests/TestSuite_vhost_user_interrupt.py
@@ -80,7 +80,7 @@ class TestVhostUserInterrupt(TestCase):
     def prepare_l3fwd_power(self):
         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", "#")
+                "sed -i '/RTE_ETH_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#")
         out = self.dut.build_dpdk_apps('examples/l3fwd-power')
         self.verify("Error" not in out, "compilation l3fwd-power error")
 
-- 
2.33.1



More information about the dts mailing list