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

Lingli Chen linglix.chen at intel.com
Mon Nov 8 17:28:48 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_event_idx_interrupt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vhost_event_idx_interrupt.py b/tests/TestSuite_vhost_event_idx_interrupt.py
index 4e318b6b..ed9a2c59 100644
--- a/tests/TestSuite_vhost_event_idx_interrupt.py
+++ b/tests/TestSuite_vhost_event_idx_interrupt.py
@@ -86,7 +86,7 @@ class TestVhostEventIdxInterrupt(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", "#", 10)
+                "sed -i '/RTE_ETH_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10)
         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