From patchwork Thu Aug 20 16:21:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Yinan" X-Patchwork-Id: 75731 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9C05FA04AF; Thu, 20 Aug 2020 09:31:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 62A201BEC3; Thu, 20 Aug 2020 09:31:10 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id A5DBE2C02 for ; Thu, 20 Aug 2020 09:31:08 +0200 (CEST) IronPort-SDR: QiVHgEpNiEWKdgArw8crTOmlEknC/6GavI1FJv8rrkF31xSAnWFKlALSfWlTkVRCjnSLdp0d0t wODhU/BlRwMw== X-IronPort-AV: E=McAfee;i="6000,8403,9718"; a="143064819" X-IronPort-AV: E=Sophos;i="5.76,332,1592895600"; d="scan'208";a="143064819" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2020 00:31:07 -0700 IronPort-SDR: v+qTc9pyjZW9bCy/t1LlcoA5zS5XBhQYKVTVgd5MJrUw2nUlD1niNHg20Uh/gQ1j4P5E9Xzau6 XuMOS3hQYhbQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,332,1592895600"; d="scan'208";a="293387506" Received: from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39]) by orsmga003.jf.intel.com with ESMTP; 20 Aug 2020 00:31:06 -0700 From: Yinan Wang To: dts@dpdk.org Cc: Yinan Wang Date: Thu, 20 Aug 2020 12:21:18 -0400 Message-Id: <20200820162118.25254-1-yinan.wang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH v1] test_plans/vhost_virtio_user_interrupt_test_plan.rst X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Add prerequisites l3fwd-power code change before testw Signed-off-by: Yinan Wang --- .../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 ============================================================================