[v1] test_plans/vhost_enqueue_interrupt_test_plan.rst

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

Commit Message

Wang, Yinan Aug. 20, 2020, 3:16 p.m. UTC
  Add prerequisites l3fwd-power code change before test

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

Comments

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

Applied
  

Patch

diff --git a/test_plans/vhost_enqueue_interrupt_test_plan.rst b/test_plans/vhost_enqueue_interrupt_test_plan.rst
index 1aae026..ee9b7a5 100644
--- a/test_plans/vhost_enqueue_interrupt_test_plan.rst
+++ b/test_plans/vhost_enqueue_interrupt_test_plan.rst
@@ -41,6 +41,21 @@  Vhost enqueue interrupt need test with l3fwd-power sample, small packets send fr
 check vhost-user cores can be wakeup,and vhost-user cores should be back to sleep after stop sending packets
 from virtio side.
 
+Prerequisites
+=============
+
+Modify l3fwd-power example code and recompile::
+
+        --- a/examples/l3fwd-power/main.c
+        +++ b/examples/l3fwd-power/main.c
+        @@ -248,7 +248,6 @@ static struct rte_eth_conf port_conf = {
+                .mq_mode        = ETH_MQ_RX_RSS,
+                .max_rx_pkt_len = RTE_ETHER_MAX_LEN,
+                .split_hdr_size = 0,
+        -       .offloads = DEV_RX_OFFLOAD_CHECKSUM,
+        },
+        .rx_adv_conf = {
+                .rss_conf = {
 
 Test flow
 =========