[v1] test_plans/vhost_virtio_pmd_interrupt_test_plan.rst

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

Commit Message

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

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

Comments

Tu, Lijuan Aug. 27, 2020, 2:01 a.m. UTC | #1
> Subject: [dts] [PATCH v1] test_plans/vhost_virtio_pmd_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_virtio_pmd_interrupt_test_plan.rst b/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst
index 389d8d8..a00bc0d 100644
--- a/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst
+++ b/test_plans/vhost_virtio_pmd_interrupt_test_plan.rst
@@ -44,6 +44,22 @@  Prerequisites
 =============
 
 Test ENV preparation: Kernel version > 4.8.0, mostly linux distribution don't support vfio-noiommu mode by default, so testing this case need rebuild kernel to enable vfio-noiommu.
+Also need 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 flow
 =========