* [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify the test command for softnic
@ 2019-12-06 0:25 Xinfeng Zhao
2019-12-06 0:25 ` [dts] [PATCH V1 2/2] tests/metering_and_policing: " Xinfeng Zhao
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Xinfeng Zhao @ 2019-12-06 0:25 UTC (permalink / raw)
To: dts; +Cc: Xinfeng Zhao
Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
---
.../metering_and_policing_test_plan.rst | 32 +++++++++----------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/test_plans/metering_and_policing_test_plan.rst b/test_plans/metering_and_policing_test_plan.rst
index 9e41fad..95648f7 100644
--- a/test_plans/metering_and_policing_test_plan.rst
+++ b/test_plans/metering_and_policing_test_plan.rst
@@ -145,8 +145,8 @@ Bind them to dpdk igb_uio driver,
::
./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 \
- --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \
- -- -i --forward-mode=softnic --portmask=0x10
+ --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli' \
+ -- -i --portmask=0x10 --disable-rss
testpmd> start
3. start softnic with default hierarchy Qos with following command line,
@@ -154,8 +154,8 @@ Bind them to dpdk igb_uio driver,
::
./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 \
- --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \
- -- -i --forward-mode=softnic --portmask=0x10
+ --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli' \
+ -- -i --portmask=0x10 --disable-rss
testpmd> set port tm hierarchy default 1
testpmd> start
@@ -173,7 +173,7 @@ Test Case 1: ipv4 ACL table RFC2698 GYR
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
@@ -225,7 +225,7 @@ Test Case 2: ipv4 ACL table RFC2698 GYD
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -273,7 +273,7 @@ Test Case 3: ipv4 ACL table RFC2698 GDR
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -324,7 +324,7 @@ Test Case 4: ipv4 ACL table RFC2698 DYR
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -374,7 +374,7 @@ Test Case 5: ipv4 ACL table RFC2698 DDD
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -421,7 +421,7 @@ Test Case 6: ipv4 with same CBS and PBS GDR
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -461,7 +461,7 @@ Test Case 7: ipv4 HASH table RFC2698
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table,
::
@@ -496,7 +496,7 @@ Test Case 8: ipv6 ACL table RFC2698
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table,
::
@@ -548,7 +548,7 @@ Test Case 9: multiple meter and profile
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=4 --txq=4 --portmask=0x10
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=4 --txq=4 --portmask=0x10 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -643,7 +643,7 @@ Test Case 10: ipv4 RFC2698 pre-colored red by DSCP table
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -730,7 +730,7 @@ Test Case 11: ipv4 RFC2698 pre-colored yellow by DSCP table
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -819,7 +819,7 @@ Test Case 12: ipv4 RFC2698 pre-colored green by DSCP table
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
--
2.17.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dts] [PATCH V1 2/2] tests/metering_and_policing: modify the test command for softnic
2019-12-06 0:25 [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify the test command for softnic Xinfeng Zhao
@ 2019-12-06 0:25 ` Xinfeng Zhao
2019-12-09 5:13 ` Zhao, XinfengX
2019-12-11 3:11 ` Peng, Yuan
2019-12-11 3:10 ` [dts] [PATCH V1 1/2] test_plans/metering_and_policing: " Peng, Yuan
2019-12-19 7:48 ` Tu, Lijuan
2 siblings, 2 replies; 6+ messages in thread
From: Xinfeng Zhao @ 2019-12-06 0:25 UTC (permalink / raw)
To: dts; +Cc: Xinfeng Zhao
Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
---
tests/TestSuite_metering_and_policing.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_metering_and_policing.py b/tests/TestSuite_metering_and_policing.py
index ef8c419..73bcdbb 100644
--- a/tests/TestSuite_metering_and_policing.py
+++ b/tests/TestSuite_metering_and_policing.py
@@ -155,8 +155,8 @@ class TestMeteringAndPolicing(TestCase):
Corelist = "0x1f"
Servicecorelist = "0x10"
self.path = "./%s/app/testpmd" % self.target
- cmd = self.path + " -c %s -s %s -n %d --vdev 'net_softnic0,firmware=%s,cpu_id=0,conn_port=8086' \
- -- -i --rxq=%d --txq=%d --portmask=%s" \
+ cmd = self.path + " -c %s -s %s -n %d --vdev 'net_softnic0,firmware=%s' \
+ -- -i --rxq=%d --txq=%d --portmask=%s --disable-rss" \
% (Corelist, Servicecorelist, self.dut.get_memory_channels(), filename, self.port_id, self.port_id, portmask)
self.dut.send_expect(cmd, "testpmd>", 60)
--
2.17.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dts] [PATCH V1 2/2] tests/metering_and_policing: modify the test command for softnic
2019-12-06 0:25 ` [dts] [PATCH V1 2/2] tests/metering_and_policing: " Xinfeng Zhao
@ 2019-12-09 5:13 ` Zhao, XinfengX
2019-12-11 3:11 ` Peng, Yuan
1 sibling, 0 replies; 6+ messages in thread
From: Zhao, XinfengX @ 2019-12-09 5:13 UTC (permalink / raw)
To: dts; +Cc: Peng, Yuan
Tested-by: Zhao, Xinfeng<xinfengx.zhao at intel.com>
-----Original Message-----
From: Zhao, XinfengX
Sent: Friday, December 6, 2019 8:25 AM
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts][PATCH V1 2/2] tests/metering_and_policing: modify the test command for softnic
Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
---
tests/TestSuite_metering_and_policing.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_metering_and_policing.py b/tests/TestSuite_metering_and_policing.py
index ef8c419..73bcdbb 100644
--- a/tests/TestSuite_metering_and_policing.py
+++ b/tests/TestSuite_metering_and_policing.py
@@ -155,8 +155,8 @@ class TestMeteringAndPolicing(TestCase):
Corelist = "0x1f"
Servicecorelist = "0x10"
self.path = "./%s/app/testpmd" % self.target
- cmd = self.path + " -c %s -s %s -n %d --vdev 'net_softnic0,firmware=%s,cpu_id=0,conn_port=8086' \
- -- -i --rxq=%d --txq=%d --portmask=%s" \
+ cmd = self.path + " -c %s -s %s -n %d --vdev 'net_softnic0,firmware=%s' \
+ -- -i --rxq=%d --txq=%d --portmask=%s --disable-rss" \
% (Corelist, Servicecorelist, self.dut.get_memory_channels(), filename, self.port_id, self.port_id, portmask)
self.dut.send_expect(cmd, "testpmd>", 60)
--
2.17.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify the test command for softnic
2019-12-06 0:25 [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify the test command for softnic Xinfeng Zhao
2019-12-06 0:25 ` [dts] [PATCH V1 2/2] tests/metering_and_policing: " Xinfeng Zhao
@ 2019-12-11 3:10 ` Peng, Yuan
2019-12-19 7:48 ` Tu, Lijuan
2 siblings, 0 replies; 6+ messages in thread
From: Peng, Yuan @ 2019-12-11 3:10 UTC (permalink / raw)
To: Zhao, XinfengX, dts; +Cc: Zhao, XinfengX, Peng, Yuan
Acked-by Peng, Yuan <yuan.peng@intel.com>
-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Xinfeng Zhao
Sent: Friday, December 6, 2019 8:25 AM
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify the test command for softnic
Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
---
.../metering_and_policing_test_plan.rst | 32 +++++++++----------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/test_plans/metering_and_policing_test_plan.rst b/test_plans/metering_and_policing_test_plan.rst
index 9e41fad..95648f7 100644
--- a/test_plans/metering_and_policing_test_plan.rst
+++ b/test_plans/metering_and_policing_test_plan.rst
@@ -145,8 +145,8 @@ Bind them to dpdk igb_uio driver,
::
./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 \
- --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \
- -- -i --forward-mode=softnic --portmask=0x10
+ --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli' \
+ -- -i --portmask=0x10 --disable-rss
testpmd> start
3. start softnic with default hierarchy Qos with following command line, @@ -154,8 +154,8 @@ Bind them to dpdk igb_uio driver,
::
./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 \
- --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \
- -- -i --forward-mode=softnic --portmask=0x10
+ --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli' \
+ -- -i --portmask=0x10 --disable-rss
testpmd> set port tm hierarchy default 1
testpmd> start
@@ -173,7 +173,7 @@ Test Case 1: ipv4 ACL table RFC2698 GYR
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
@@ -225,7 +225,7 @@ Test Case 2: ipv4 ACL table RFC2698 GYD
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -273,7 +273,7 @@ Test Case 3: ipv4 ACL table RFC2698 GDR
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -324,7 +324,7 @@ Test Case 4: ipv4 ACL table RFC2698 DYR
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -374,7 +374,7 @@ Test Case 5: ipv4 ACL table RFC2698 DDD
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -421,7 +421,7 @@ Test Case 6: ipv4 with same CBS and PBS GDR
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -461,7 +461,7 @@ Test Case 7: ipv4 HASH table RFC2698
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table,
::
@@ -496,7 +496,7 @@ Test Case 8: ipv6 ACL table RFC2698
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table,
::
@@ -548,7 +548,7 @@ Test Case 9: multiple meter and profile
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=4 --txq=4 --portmask=0x10
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4
+ --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=4 --txq=4 --portmask=0x10 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -643,7 +643,7 @@ Test Case 10: ipv4 RFC2698 pre-colored red by DSCP table
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -730,7 +730,7 @@ Test Case 11: ipv4 RFC2698 pre-colored yellow by DSCP table
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
@@ -819,7 +819,7 @@ Test Case 12: ipv4 RFC2698 pre-colored green by DSCP table
::
- ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 --txq=2 --portmask=0x4
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
+ 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
+ ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
::
--
2.17.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dts] [PATCH V1 2/2] tests/metering_and_policing: modify the test command for softnic
2019-12-06 0:25 ` [dts] [PATCH V1 2/2] tests/metering_and_policing: " Xinfeng Zhao
2019-12-09 5:13 ` Zhao, XinfengX
@ 2019-12-11 3:11 ` Peng, Yuan
1 sibling, 0 replies; 6+ messages in thread
From: Peng, Yuan @ 2019-12-11 3:11 UTC (permalink / raw)
To: Zhao, XinfengX, dts; +Cc: Zhao, XinfengX
Acked-by Peng, Yuan <yuan.peng@intel.com>
-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Xinfeng Zhao
Sent: Friday, December 6, 2019 8:25 AM
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts] [PATCH V1 2/2] tests/metering_and_policing: modify the test command for softnic
Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
---
tests/TestSuite_metering_and_policing.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_metering_and_policing.py b/tests/TestSuite_metering_and_policing.py
index ef8c419..73bcdbb 100644
--- a/tests/TestSuite_metering_and_policing.py
+++ b/tests/TestSuite_metering_and_policing.py
@@ -155,8 +155,8 @@ class TestMeteringAndPolicing(TestCase):
Corelist = "0x1f"
Servicecorelist = "0x10"
self.path = "./%s/app/testpmd" % self.target
- cmd = self.path + " -c %s -s %s -n %d --vdev 'net_softnic0,firmware=%s,cpu_id=0,conn_port=8086' \
- -- -i --rxq=%d --txq=%d --portmask=%s" \
+ cmd = self.path + " -c %s -s %s -n %d --vdev 'net_softnic0,firmware=%s' \
+ -- -i --rxq=%d --txq=%d --portmask=%s --disable-rss" \
% (Corelist, Servicecorelist, self.dut.get_memory_channels(), filename, self.port_id, self.port_id, portmask)
self.dut.send_expect(cmd, "testpmd>", 60)
--
2.17.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify the test command for softnic
2019-12-06 0:25 [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify the test command for softnic Xinfeng Zhao
2019-12-06 0:25 ` [dts] [PATCH V1 2/2] tests/metering_and_policing: " Xinfeng Zhao
2019-12-11 3:10 ` [dts] [PATCH V1 1/2] test_plans/metering_and_policing: " Peng, Yuan
@ 2019-12-19 7:48 ` Tu, Lijuan
2 siblings, 0 replies; 6+ messages in thread
From: Tu, Lijuan @ 2019-12-19 7:48 UTC (permalink / raw)
To: Zhao, XinfengX, dts; +Cc: Zhao, XinfengX
Applied the series.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xinfeng Zhao
> Sent: Friday, December 6, 2019 8:25 AM
> To: dts@dpdk.org
> Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
> Subject: [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify the
> test command for softnic
>
> Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com>
> ---
> .../metering_and_policing_test_plan.rst | 32 +++++++++----------
> 1 file changed, 16 insertions(+), 16 deletions(-)
>
> diff --git a/test_plans/metering_and_policing_test_plan.rst
> b/test_plans/metering_and_policing_test_plan.rst
> index 9e41fad..95648f7 100644
> --- a/test_plans/metering_and_policing_test_plan.rst
> +++ b/test_plans/metering_and_policing_test_plan.rst
> @@ -145,8 +145,8 @@ Bind them to dpdk igb_uio driver,
> ::
>
> ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 \
> - --vdev
> 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_po
> rt=8086' \
> - -- -i --forward-mode=softnic --portmask=0x10
> + --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli' \
> + -- -i --portmask=0x10 --disable-rss
> testpmd> start
>
> 3. start softnic with default hierarchy Qos with following command line, @@
> -154,8 +154,8 @@ Bind them to dpdk igb_uio driver,
> ::
>
> ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 \
> - --vdev
> 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_po
> rt=8086' \
> - -- -i --forward-mode=softnic --portmask=0x10
> + --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli' \
> + -- -i --portmask=0x10 --disable-rss
> testpmd> set port tm hierarchy default 1
> testpmd> start
>
> @@ -173,7 +173,7 @@ Test Case 1: ipv4 ACL table RFC2698 GYR
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
>
> @@ -225,7 +225,7 @@ Test Case 2: ipv4 ACL table RFC2698 GYD
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
> ::
> @@ -273,7 +273,7 @@ Test Case 3: ipv4 ACL table RFC2698 GDR
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
> ::
> @@ -324,7 +324,7 @@ Test Case 4: ipv4 ACL table RFC2698 DYR
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
> ::
> @@ -374,7 +374,7 @@ Test Case 5: ipv4 ACL table RFC2698 DDD
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
> ::
> @@ -421,7 +421,7 @@ Test Case 6: ipv4 with same CBS and PBS GDR
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
> ::
> @@ -461,7 +461,7 @@ Test Case 7: ipv4 HASH table RFC2698
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table,
> ::
> @@ -496,7 +496,7 @@ Test Case 8: ipv6 ACL table RFC2698
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table,
> ::
> @@ -548,7 +548,7 @@ Test Case 9: multiple meter and profile
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=4 -
> -txq=4 --portmask=0x10
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4
> + --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=4 --txq=4 --portmask=0x10 --disable-rss
>
> Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
> ::
> @@ -643,7 +643,7 @@ Test Case 10: ipv4 RFC2698 pre-colored red by DSCP
> table
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
> ::
> @@ -730,7 +730,7 @@ Test Case 11: ipv4 RFC2698 pre-colored yellow by
> DSCP table
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
> ::
> @@ -819,7 +819,7 @@ Test Case 12: ipv4 RFC2698 pre-colored green by
> DSCP table
>
> ::
>
> - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_policing_
> firmware.cli,cpu_id=0,conn_port=8086' -- -i --forward-mode=softnic --rxq=2 -
> -txq=2 --portmask=0x4
> + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> + 'net_softnic0,firmware=/root/dpdk/drivers/net/softnic/meter_and_polici
> + ng_firmware.cli' -- -i --rxq=2 --txq=2 --portmask=0x4 --disable-rss
>
> Add rules to table, set CBS to 400 bytes, PBS to 500 bytes
> ::
> --
> 2.17.1
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-12-19 7:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06 0:25 [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify the test command for softnic Xinfeng Zhao
2019-12-06 0:25 ` [dts] [PATCH V1 2/2] tests/metering_and_policing: " Xinfeng Zhao
2019-12-09 5:13 ` Zhao, XinfengX
2019-12-11 3:11 ` Peng, Yuan
2019-12-11 3:10 ` [dts] [PATCH V1 1/2] test_plans/metering_and_policing: " Peng, Yuan
2019-12-19 7:48 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).