From patchwork Thu Apr 6 06:28:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 125839 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A6174428B5; Thu, 6 Apr 2023 09:38:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F76C40F18; Thu, 6 Apr 2023 09:38:08 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id A4C0940DF6 for ; Thu, 6 Apr 2023 09:38:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680766686; x=1712302686; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=UIL8B9JMybOovaO2CUdVv9ybiO5bwQR9+/rz95QxDk4=; b=Mxkoibl1EogL8nF4PgBmEFjUVMAko4q3JsScGLG9prYuu8Ts/J6PkvtB /YRqdrfsiT3XYwjr5xC09Xqmm5HSHI2AD6teoqicnURAIAS4c3tbFJ//w X4WIdUito4qcEyozgw9KP4OFjhfSMMT0BTG1Pts0PasFNq5Q8pW3e4d7p QKiuj2uMYGYIj+u19G3BLALbd7Wp64ha3gpXboyvPAQz1TjHN/bU/pSHQ SScq1NVRwFrUWgvoiazbgoijKPB/y3BlKn8UGs10Y5Ai/43eT7XvNecEV 1bugSNO1He6f65OmEPuSqDIJRWy2zP+cY4Ie/JhMirB5TBykT+kz5BfoH g==; X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="344404107" X-IronPort-AV: E=Sophos;i="5.98,323,1673942400"; d="scan'208";a="344404107" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2023 00:38:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="861310087" X-IronPort-AV: E=Sophos;i="5.98,323,1673942400"; d="scan'208";a="861310087" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2023 00:38:04 -0700 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 1/2] test_plans/queue_start_stop: optimize test_plans to remove re-compile dpdk test step Date: Thu, 6 Apr 2023 02:28:43 -0400 Message-Id: <20230406062844.3539-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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 remove re-compile dpdk test step Signed-off-by: Lingli Chen --- test_plans/queue_start_stop_test_plan.rst | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test_plans/queue_start_stop_test_plan.rst b/test_plans/queue_start_stop_test_plan.rst index aecdb095..44b9c2df 100644 --- a/test_plans/queue_start_stop_test_plan.rst +++ b/test_plans/queue_start_stop_test_plan.rst @@ -31,13 +31,10 @@ Test Case: queue start/stop This case support PF (Intel® Ethernet 700 Series/Intel® Ethernet 800 Series/82599), VF (Intel® Ethernet 700 Series, 82599) -#. Update testpmd source code. Add the following C code in ./app/test-pmd/fwdmac.c:: - - printf("ports %u queue %u received %u packages\n", fs->rx_port, fs->rx_queue, nb_rx); - -#. Compile testpmd again, then run testpmd:: +#. Launch testpmd:: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:af:00.0 -- -i --portmask=0x1 --port-topology=loop +#. Run "set verbose 1" to set verbose #. Run "set fwd mac" to set fwd type #. Run "start" to start fwd package @@ -55,9 +52,9 @@ This case support PF (Intel® Ethernet 700 Series/Intel® Ethernet 800 Series/82 #. Run "port 0 rxq 0 start" to start rxq 0 in port 0 #. Run "port 0 txq 0 stop" to stop txq 0 in port 0 #. Start packet generator to transmit and check tester port not receive packets - and in testpmd it not has "ports 0 queue 0 received 1 packages" print + and in testpmd it not has "port 0/queue 0: received 1 packets" print #. Run "port 0 txq 0 start" to start txq 0 in port 0 #. Start packet generator to transmit and check tester port receive packets - and in testpmd it has "ports 0 queue 0 received 1 packages" print + and in testpmd it has "port 0/queue 0: received 1 packets" print #. Test it again with VF