diff mbox series

[V1,04/12] tests/vdev_primary_secondary: DPDK code prefix DEV change to RTE_ETH

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

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_vdev_primary_secondary.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/TestSuite_vdev_primary_secondary.py b/tests/TestSuite_vdev_primary_secondary.py
index 093cd57c..9e865601 100644
--- a/tests/TestSuite_vdev_primary_secondary.py
+++ b/tests/TestSuite_vdev_primary_secondary.py
@@ -132,9 +132,9 @@  class TestVdevPrimarySecondary(TestCase):
     def prepare_symmetric_mp(self):
         self.vm_dut.send_expect("cp ./examples/multi_process/symmetric_mp/main.c .", "#")
         self.vm_dut.send_expect(
-                "sed -i '/.offloads = DEV_RX_OFFLOAD_CHECKSUM,/d' ./examples/multi_process/symmetric_mp/main.c", "#")
+                "sed -i '/.offloads = RTE_ETH_RX_OFFLOAD_CHECKSUM,/d' ./examples/multi_process/symmetric_mp/main.c", "#")
         self.vm_dut.send_expect(
-                "sed -i 's/ETH_MQ_RX_RSS,/ETH_MQ_RX_NONE,/g' ./examples/multi_process/symmetric_mp/main.c", "#")
+                "sed -i 's/RTE_ETH_MQ_RX_RSS,/RTE_ETH_MQ_RX_NONE,/g' ./examples/multi_process/symmetric_mp/main.c", "#")
         out = self.vm_dut.build_dpdk_apps('./examples/multi_process/symmetric_mp')
         self.verify("Error" not in out, "compilation symmetric_mp error")