[dts] [PATCH V1 11/12] test_plans/vhost_virtio_user_interrupt: DPDK code prefix DEV change to RTE_ETH

Lingli Chen linglix.chen at intel.com
Mon Nov 8 17:28:53 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>
---
 test_plans/vhost_virtio_user_interrupt_test_plan.rst | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/test_plans/vhost_virtio_user_interrupt_test_plan.rst b/test_plans/vhost_virtio_user_interrupt_test_plan.rst
index 2ac6a385..3cb2cf22 100644
--- a/test_plans/vhost_virtio_user_interrupt_test_plan.rst
+++ b/test_plans/vhost_virtio_user_interrupt_test_plan.rst
@@ -50,11 +50,10 @@ Modify l3fwd-power example code and recompile::
 
          static struct rte_eth_conf port_conf = {
                 .rxmode = {
-        -               .mq_mode        = ETH_MQ_RX_RSS,
-        +               .mq_mode        = ETH_MQ_RX_NONE,
-                        .max_rx_pkt_len = RTE_ETHER_MAX_LEN,
+        -               .mq_mode        = RTE_ETH_MQ_RX_RSS,
+        +               .mq_mode        = RTE_ETH_MQ_RX_NONE,
                         .split_hdr_size = 0,
-        -               .offloads = DEV_RX_OFFLOAD_CHECKSUM,
+        -               .offloads = RTE_ETH_RX_OFFLOAD_CHECKSUM,
                 },
                 .rx_adv_conf = {
                         .rss_conf = {
-- 
2.33.1



More information about the dts mailing list