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 1903A42997; Thu, 20 Apr 2023 10:16:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BAA2B42D0E; Thu, 20 Apr 2023 10:16:14 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 4480441141 for ; Thu, 20 Apr 2023 10:16:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681978572; x=1713514572; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=R1VFHkYOILQEQ6IeUB5ciI2uQxVVBCksmcYj3LeHHD4=; b=I1MhbiD8kjsF1eWvPB9ABBmh3J2yV9K2ndC2Aj/NIoT2VWzy+Xnlob27 +rzZ595BLQXO4OG81pl0VQQD7pVRXkuHTMT2jmUkMghT5ADmCAnjnOXS1 2iXAVHt/G9uCdaR8NF7Y0SS3BmiRoSokcDJgWTAE9ksMxIdS2hsTGjNs6 nDuEcVbF00CwfViUbTNhiKpMU02Pd3WKuE81OHLCYL/bsIAuy8QzZeofs ND3waWvNnf09PBtDmiHOZ9WBCR5BKN4RR2x2FTH8bLo+nzfyZqeiI/i6J MaKuwO9OCyrmdzlgdRR2wGFwAmLISObsj/MX7KvaXGE4IgmwtENjDaRU4 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="325998529" X-IronPort-AV: E=Sophos;i="5.99,212,1677571200"; d="scan'208";a="325998529" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 01:16:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="642061702" X-IronPort-AV: E=Sophos;i="5.99,212,1677571200"; d="scan'208";a="642061702" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 01:16:03 -0700 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 4/5] test_plans/ddp_mpls: add note Date: Thu, 20 Apr 2023 03:05:05 -0400 Message-Id: <20230420070506.10015-5-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230420070506.10015-1-linglix.chen@intel.com> References: <20230420070506.10015-1-linglix.chen@intel.com> 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 add test PF note Signed-off-by: Lingli Chen --- test_plans/ddp_mpls_test_plan.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/test_plans/ddp_mpls_test_plan.rst b/test_plans/ddp_mpls_test_plan.rst index a070d48d..299b8e78 100644 --- a/test_plans/ddp_mpls_test_plan.rst +++ b/test_plans/ddp_mpls_test_plan.rst @@ -25,9 +25,11 @@ Only 25G NIC supports DDP and MPLS so far. Prerequisites ============= +if test DPDK PF + DPDK VF, bind port to igb_uio: + 1. Host PF in DPDK driver. Create 1 VF from 1 PF with DPDK driver:: - ./tools/dpdk-devbind.py -b igb_uio 81:00.0 + ./usertools/dpdk-devbind.py -b igb_uio 81:00.0 echo 1 >/sys/bus/pci/devices/0000:81:00.0/max_vfs 2. Detach VF from the host:: @@ -45,6 +47,16 @@ Prerequisites .//app/dpdk-testpmd -c f -n 4 -- -i --port-topology=chained --txq=4 --rxq=4 +if only test PF: + +1. bind pf port to vfio-pci:: + + ./usertools/dpdk-devbind.py -b vfio-pci 81:00.0 + +2. Start testpmd on host:: + + .//app/dpdk-testpmd -c f -n 4 -- -i --port-topology=chained --txq=64 --rxq=64 + Test Case 1: Load dynamic device personalization ================================================ -- 2.17.1