From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8C0DDA00E6 for ; Sat, 13 Jul 2019 06:13:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 34CA21B96B; Sat, 13 Jul 2019 06:13:25 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id D21F71B965 for ; Sat, 13 Jul 2019 06:13:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jul 2019 21:13:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,485,1557212400"; d="scan'208";a="186731766" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 12 Jul 2019 21:13:20 -0700 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Sat, 13 Jul 2019 12:18:01 +0800 Message-Id: <1562991481-74117-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH] test_plans: add service core to softnic_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 service core to softnic_test_plan.rst Signed-off-by: Peng Yuan diff --git a/test_plans/softnic_test_plan.rst b/test_plans/softnic_test_plan.rst index 9b75b1c..59cfde6 100644 --- a/test_plans/softnic_test_plan.rst +++ b/test_plans/softnic_test_plan.rst @@ -58,24 +58,20 @@ Prerequisites 3. Start softnic with following command line:: - ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \ + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 \ --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --forward-mode=softnic --portmask=0x2 testpmd> start - Or Start softnic with default hierarchy Qos with following command line:: + Set the thread id consistent to the service core:: - ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \ - --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \ - -- -i --forward-mode=softnic --portmask=0x2 - testpmd> set port tm hierarchy default 1 - testpmd> start + thread 2 pipeline PIPELINE0 enable Test Case 1: softnic performance ================================ 1. Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \ + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 \ --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --forward-mode=softnic --portmask=0x2 testpmd> start @@ -95,10 +91,9 @@ Test Case 2: shaping for pipe 2. Start softnic with the default hierarchy Qos:: - ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \ + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 \ --vdev 'net_softnic0,firmware=./drivers/net/softnic/tm_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --forward-mode=softnic --portmask=0x2 - testpmd> set port tm hierarchy default 1 testpmd> start 3. Send per flow traffic with 100% line rate, verify output flow rate is 1/4096 subport rate. @@ -111,7 +106,7 @@ Test Case 3: NAT (a). Start softnic:: - ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \ + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 \ --vdev 'net_softnic0,firmware=./drivers/net/softnic/nat_firmware.cli,cpu_id=1,conn_port=8086' \ -- -i --forward-mode=softnic --portmask=0x2 testpmd> start -- 2.7.4