[V1,06/12] tests/vhost_event_idx_interrupt: DPDK code prefix DEV change to RTE_ETH
Commit Message
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_event_idx_interrupt.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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")