[v1] test_plans/vhost_virtio_user_interrupt_test_plan.rst

Message ID 20200820162118.25254-1-yinan.wang@intel.com (mailing list archive)
State Accepted
Headers
Series [v1] test_plans/vhost_virtio_user_interrupt_test_plan.rst |

Commit Message

Wang, Yinan Aug. 20, 2020, 4:21 p.m. UTC
Add prerequisites l3fwd-power code change before testw

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

Comments

Tu, Lijuan Aug. 27, 2020, 2:01 a.m. UTC | #1
> Subject: [dts] [PATCH v1] test_plans/vhost_virtio_user_interrupt_test_plan.rst
> 
> Add prerequisites l3fwd-power code change before testw
> 
> Signed-off-by: Yinan Wang <yinan.wang@intel.com>

Applied
  

Patch

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
 ============================================================================