[dts] [PATCH v1] test_plans/vhost_virtio_user_interrupt_test_plan.rst

Yinan Wang yinan.wang at intel.com
Thu Aug 20 18:21:18 CEST 2020


Add prerequisites l3fwd-power code change before testw

Signed-off-by: Yinan Wang <yinan.wang at intel.com>
---
 .../vhost_virtio_user_interrupt_test_plan.rst | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/test_plans/vhost_virtio_user_interrupt_test_plan.rst b/test_plans/vhost_virtio_user_interrupt_test_plan.rst
index 149d373..ebf09c6 100644
--- a/test_plans/vhost_virtio_user_interrupt_test_plan.rst
+++ b/test_plans/vhost_virtio_user_interrupt_test_plan.rst
@@ -39,6 +39,26 @@ to virtio side, check virtio-user cores can be wakeup status, and virtio-user co
 status after stop sending packets from traffic generator.This test plan cover both vhost-net and
 vhost-user as the backend.
 
+Prerequisites
+=============
+
+Modify l3fwd-power example code and recompile::
+
+        --- a/examples/l3fwd-power/main.c
+        +++ b/examples/l3fwd-power/main.c
+        @@ -245,10 +245,9 @@ uint16_t nb_lcore_params = RTE_DIM(lcore_params_array_default);
+
+         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,
+                        .split_hdr_size = 0,
+        -               .offloads = DEV_RX_OFFLOAD_CHECKSUM,
+                },
+                .rx_adv_conf = {
+                        .rss_conf = {
+
 Test Case1: Split ring virtio-user interrupt test with vhost-user as backend
 ============================================================================
 
-- 
2.17.1



More information about the dts mailing list