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

Message ID 20211108162854.96466-9-linglix.chen@intel.com (mailing list archive)
State Changes Requested
Headers
Series DPDK code prefix DEV change to RTE_ETH |

Commit Message

Lingli Chen Nov. 8, 2021, 4:28 p.m. UTC
  According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH.

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

Patch

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")