From patchwork Thu Aug 20 16:15: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: 75729 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 BFAE3A04AF; Thu, 20 Aug 2020 09:25:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6E7D51BEC3; Thu, 20 Aug 2020 09:25:09 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 4776E2C02 for ; Thu, 20 Aug 2020 09:25:08 +0200 (CEST) IronPort-SDR: HdPWihblZ6Kal4HWHC4kapPwSd1mjWcSVFRj5C7nns12MCXeX5VS2YaAoRoWdkSUAh1klC69x9 QJiN3HkBNksQ== X-IronPort-AV: E=McAfee;i="6000,8403,9718"; a="240079621" X-IronPort-AV: E=Sophos;i="5.76,332,1592895600"; d="scan'208";a="240079621" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2020 00:25:06 -0700 IronPort-SDR: v+2lqMItvy6c6u9zsJEVRU/iYiSdooG+As2Sh/mUcco68dqB43luRio4rNcx43o7zVkBd7VBsm /HsGBA5T45ow== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,332,1592895600"; d="scan'208";a="497511869" Received: from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39]) by fmsmga006.fm.intel.com with ESMTP; 20 Aug 2020 00:25:06 -0700 From: Yinan Wang To: dts@dpdk.org Cc: Yinan Wang Date: Thu, 20 Aug 2020 12:15:18 -0400 Message-Id: <20200820161518.24862-1-yinan.wang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH v1] test_plans/vhost_virtio_pmd_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 test Signed-off-by: Yinan Wang --- .../vhost_virtio_pmd_interrupt_test_plan.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 =========