From: Lingli Chen <linglix.chen@intel.com>
To: dts@dpdk.org
Cc: Lingli Chen <linglix.chen@intel.com>
Subject: [dts] [PATCH V1 10/12] tests/vhost_virtio_pmd_interrupt: DPDK code prefix DEV change to RTE_ETH
Date: Mon, 8 Nov 2021 16:28:52 +0000 [thread overview]
Message-ID: <20211108162854.96466-11-linglix.chen@intel.com> (raw)
In-Reply-To: <20211108162854.96466-1-linglix.chen@intel.com>
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_virtio_pmd_interrupt.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
index f421a095..7f81f0a8 100644
--- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
@@ -99,9 +99,9 @@ class TestVhostVirtioPmdInterrupt(TestCase):
rebuild l3fwd-power in vm and set the virtio-net driver
"""
self.vm_dut.send_expect("cp ./examples/l3fwd-power/main.c /tmp/", "#")
- self.vm_dut.send_expect("sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10)
+ self.vm_dut.send_expect("sed -i '/RTE_ETH_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10)
self.vm_dut.send_expect(
- "sed -i 's/.mq_mode = ETH_MQ_RX_RSS,/.mq_mode = ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10)
+ "sed -i 's/.mq_mode = RTE_ETH_MQ_RX_RSS,/.mq_mode = RTE_ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10)
out = self.vm_dut.build_dpdk_apps('examples/l3fwd-power')
self.verify("Error" not in out, "compilation l3fwd-power error")
self.vm_dut.send_expect("modprobe vfio enable_unsafe_noiommu_mode=1", "#")
--
2.33.1
next prev parent reply other threads:[~2021-11-08 8:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-08 16:28 [dts] [PATCH V1 00/12] " Lingli Chen
2021-11-08 16:28 ` [dts] [PATCH V1 01/12] test_plans/dpdk_gro_lib: " Lingli Chen
2021-11-08 16:28 ` [dts] [PATCH V1 02/12] tests/dpdk_gro_lib: " Lingli Chen
2021-11-08 16:28 ` [dts] [PATCH V1 03/12] test_plans/vdev_primary_secondary: " Lingli Chen
2021-11-08 16:28 ` [dts] [PATCH V1 04/12] tests/vdev_primary_secondary: " Lingli Chen
2021-11-08 16:28 ` [dts] [PATCH V1 05/12] test_plans/vhost_event_idx_interrupt: " Lingli Chen
2021-11-08 16:28 ` [dts] [PATCH V1 06/12] tests/vhost_event_idx_interrupt: " Lingli Chen
2021-11-08 16:28 ` [dts] [PATCH V1 07/12] test_plans/vhost_user_interrupt: " Lingli Chen
2021-11-08 16:28 ` [dts] [PATCH V1 08/12] tests/vhost_user_interrupt: " Lingli Chen
2021-11-08 16:28 ` [dts] [PATCH V1 09/12] test_plans/vhost_virtio_pmd_interrupt: " Lingli Chen
2021-11-08 16:28 ` Lingli Chen [this message]
2021-11-08 16:28 ` [dts] [PATCH V1 11/12] test_plans/vhost_virtio_user_interrupt: " Lingli Chen
2021-11-08 16:28 ` [dts] [PATCH V1 12/12] tests/vhost_virtio_user_interrupt: " Lingli Chen
2021-11-08 8:39 ` Chen, LingliX
2021-11-08 15:46 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211108162854.96466-11-linglix.chen@intel.com \
--to=linglix.chen@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).