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 B4939A0557; Thu, 9 Jun 2022 10:17:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E0A240689; Thu, 9 Jun 2022 10:17:51 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 2A48740220 for ; Thu, 9 Jun 2022 10:17:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654762670; x=1686298670; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iIMc7mQYgbTs+MNttGTwzKcii+msaUtrObj/bKnNMnw=; b=LsGLjnMwbxWHClALlhfjM8Cm8bDK30mFXHtVbktQTRFn8TB/jPmsIh5o 8b4ImbQfJTbtCS/ZOziTX8MauUaAsAnPqgi7HfwFKOSr0wdeGDulSEjES f6URLCAjOqh/6rprmWmfKQkTuCdJ4HykhRLy87RqtfKr+qTaVDAtIHWXR 0OtWmfzHTYYKQPQVmJDRqzjcVIxOPtvPDVacal7LAvkeM6lYamu/JTXNa b74uabAHONvuWLuVDP0F2s6RHb+FO7FgfMSsrvpzwQpVPsICbVvOxaNtW Y2g4lbfj/87/ZcPbSkzwBmJD53i6qa2JcZ6Xgtur7CwXgNIF204LYVf91 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10372"; a="257025733" X-IronPort-AV: E=Sophos;i="5.91,287,1647327600"; d="scan'208";a="257025733" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2022 01:17:49 -0700 X-IronPort-AV: E=Sophos;i="5.91,287,1647327600"; d="scan'208";a="585386342" Received: from shwdenpg560.ccr.corp.intel.com ([10.239.251.200]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2022 01:17:47 -0700 From: "Li, WeiyuanX" To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan Li Subject: [dts][PATCH V1] test_plans/dynamic_flowtype: move case load dynamic device personalization to prerequisites in testplan Date: Thu, 9 Jun 2022 16:17:39 +0800 Message-Id: <20220609081739.844-1-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.34.1.windows.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 From: Weiyuan Li Test case load dynamic device personalization in testplan is a prestep in testsuite, move this case to Prerequisites in test plan. Signed-off-by: Weiyuan Li --- test_plans/dynamic_flowtype_test_plan.rst | 41 ++++++++--------------- 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/test_plans/dynamic_flowtype_test_plan.rst b/test_plans/dynamic_flowtype_test_plan.rst index 40364c32..6e8e5ed7 100644 --- a/test_plans/dynamic_flowtype_test_plan.rst +++ b/test_plans/dynamic_flowtype_test_plan.rst @@ -59,41 +59,28 @@ Prerequisites enable multi-queues. In general, PF's max queue is 64:: .//app/dpdk-testpmd -c f -n 4 -- -i --port-topology=chained --txq=64 --rxq=64 - -3. Set rxonly forwarding and enable output -4. Scapy vesrion >= 2.3 +3. Load profile gtp.pkgo which is a binary file:: + testpmd > port stop all + testpmd > ddp add (port_id) (profile_path) + testpmd > port start all -Test Case: Load dynamic device personalization -================================================ + .. note:: -1. Stop testpmd port before loading profile:: + 1. Gtp.pkgo profile is not released by ND yet, only have engineer version for + internal use so far. Plan to keep public reference profiles at Intel + Developer Zone, release versions of profiles and supply link later. - testpmd > port stop all + 2. Loading DDP profile is the prerequisite for below dynamic mapping relative + cases, operate global reset or lanconf tool to recover original setting. + Global reset trigger reg is 0xb8190, cmd is global reset: -2. Load profile gtp.pkgo which is a binary file:: + testpmd > write reg 0 0xb8190 2 - testpmd > ddp add (port_id) (profile_path) - -3. Start testpmd port:: +4. Set rxonly forwarding and enable output - testpmd > port start all - -Note: - -1. Gtp.pkgo profile is not released by ND yet, only have engineer version for - internal use so far. Plan to keep public reference profiles at Intel - Developer Zone, release versions of profiles and supply link later. - -2. Loading DDP profile is the prerequisite for below dynamic mapping relative - cases, operate global reset or lanconf tool to recover original setting. - Global reset trigger reg is 0xb8190, first cmd is core reset, second cmd - is global reset:: - - testpmd> write reg 0 0xb8190 1 - testpmd> write reg 0 0xb8190 2 - +5. Scapy vesrion >= 2.3 Test Case: Check profile info correctness ========================================= -- 2.17.1