From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B0F00A00BE; Thu, 10 Mar 2022 09:40:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A621C41143; Thu, 10 Mar 2022 09:40:19 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 1642E410FC for ; Thu, 10 Mar 2022 09:40:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646901618; x=1678437618; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=uWTlY4fOwWUqzc/J6CDOKOs/S1BgdQP0nnYYrbLuIJU=; b=frN3mkQDSSNeD/vRcSruAxWtk5nG7R2+ft94TV41Q72Rfj1OVkOmhO1w V1gcqPVAXlz1RmCGvtDxV7vRLisb9rjQe/eqfb5NYKmcv5qDQI9iYMzGe 1u8oMw2kCIOWMkDTEQ7d8hJgt7hINxN5uepd8txY6Wev/B6TX54jurW3a hMF8Qz1h8WFbRp56tU2UA4PKxGN/+KwqUVB+3eCQ4Br+Fl53V3Wck/3Sb F0+AUp7IBUEK2rhj4gpNxTxXs6MZsoAe7CEtMHVSeqEL9nlAJHV1W6qBq U6o6TmjjG45H6Ivo/5J7u5BOBELgyiAEdRqqiDIw5Ey99UWeFSvzbg4Wm Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10281"; a="235801381" X-IronPort-AV: E=Sophos;i="5.90,169,1643702400"; d="scan'208";a="235801381" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 00:39:54 -0800 X-IronPort-AV: E=Sophos;i="5.90,169,1643702400"; d="scan'208";a="688590945" Received: from unknown (HELO localhost.localdomain) ([10.239.251.222]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 00:39:53 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 1/2] test_plans/vdev_primary_secondary_test_plan: modify testplan by DPDK change Date: Thu, 10 Mar 2022 16:39:49 +0800 Message-Id: <20220310083949.494546-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 By DPDK change(commit 1c839246f9), no need to modify DPDK code to test, so delete modify DPDK code steps in testplan. Signed-off-by: Wei Ling --- .../vdev_primary_secondary_test_plan.rst | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/test_plans/vdev_primary_secondary_test_plan.rst b/test_plans/vdev_primary_secondary_test_plan.rst index b9ffd030..b98d2d04 100644 --- a/test_plans/vdev_primary_secondary_test_plan.rst +++ b/test_plans/vdev_primary_secondary_test_plan.rst @@ -53,22 +53,6 @@ Prerequisites Assuming that DPDK build has been set up and the multi-process sample applications have been built. It is also assumed that a traffic generator has been configured and plugged in to the NIC ports 0 and 1. -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 Methodology ---------------- @@ -142,11 +126,6 @@ between processes, so proper rollback action should be considered. Test Case 1: Virtio-pmd primary and secondary process symmetric test ==================================================================== -SW preparation: Change one line of the symmetric_mp sample and rebuild:: - - vi ./examples/multi_process/symmetric_mp/main.c - -.offloads = DEV_RX_OFFLOAD_CHECKSUM, - 1. Bind one port to vfio-pci, launch testpmd by below command:: .//app/dpdk-testpmd -l 1-6 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=2,client=1' --vdev 'net_vhost1,iface=vhost-net1,queues=2,client=1' -- -i --nb-cores=4 --rxq=2 --txq=2 --txd=1024 --rxd=1024 -- 2.25.1