[dts] [PATCH] test_plans: set server core in command-line

Tu, Lijuan lijuan.tu at intel.com
Fri Jan 25 05:58:43 CET 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Peng Yuan
> Sent: Thursday, January 24, 2019 11:40 AM
> To: dts at dpdk.org
> Cc: Peng, Yuan <yuan.peng at intel.com>
> Subject: [dts] [PATCH] test_plans: set server core in command-line
> 
> Set server core in command-line of flow_classify_softnic_test_plan.rst
> 
> Signed-off-by: Peng Yuan <yuan.peng at intel.com>
> 
> diff --git a/test_plans/flow_classify_softnic_test_plan.rst
> b/test_plans/flow_classify_softnic_test_plan.rst
> index cb359df..34984e1 100644
> --- a/test_plans/flow_classify_softnic_test_plan.rst
> +++ b/test_plans/flow_classify_softnic_test_plan.rst
> @@ -62,17 +62,9 @@ Change ./drivers/net/softnic/firmware.cli to meet the
> specific test environment.
> 
>  Start softnic with following command line::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25 -n 4 \
> +    ./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
> -    testpmd> start
> -
> -Start softnic with default hierarchy Qos with following command line::
> -
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25 -n 4 \
> -    --vdev
> 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=
> 8086' \
> -    -- -i --forward-mode=softnic --portmask=0x10
> -    testpmd> set port tm hierarchy default 1
> +    -- -i --portmask=0x10
>      testpmd> start
> 
>  Test Case: ipv4 ACL table
> @@ -85,9 +77,9 @@ Test Case: ipv4 ACL table
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv4_acl_firmware.cli,cpu_id=1,conn_port
> =8086' \
> -    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
> +    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
> 
>  3. Validate a rule::
> 
> @@ -184,9 +176,9 @@ Test Case: ipv4-5tuple hash table
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv4_5tuple_hash_firmware.cli,cpu_id=1,c
> onn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
> +    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
> 
>  3. Add rules to table::
> 
> @@ -240,9 +232,9 @@ c) Match UDP SPORT::
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv4_addr_hash_firmware.cli,cpu_id=1,co
> nn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
> +    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
> 
>  3. Add rules to table.
> 
> @@ -347,9 +339,9 @@ Test Case: ipv6 ACL table
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv6_acl_firmware.cli,cpu_id=1,conn_port
> =8086' \
> -    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
> +    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
> 
>  3. Add rules to table::
> 
> @@ -406,9 +398,9 @@ b) Match ipv6 dst_addr::
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv6_addr_hash_firmware.cli,cpu_id=1,co
> nn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
> +    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
> 
>  3. Add rules to table.
> 
> @@ -489,9 +481,9 @@ Test Case: ipv6-5tuple hash table
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv6_5tuple_hash_firmware.cli,cpu_id=1,c
> onn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
> +    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
> 
>  3. Add rules to table::
> 
> @@ -548,9 +540,9 @@ b) Match ipv4 dst_addr::
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv4_addr_hash_firmware.cli,cpu_id=1,co
> nn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
> +    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
> 
>  3. Add rules to table.
> 
> @@ -590,9 +582,9 @@ b) Match ipv6 dst_addr::
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv6_5tuple_hash_firmware.cli,cpu_id=1,c
> onn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
> +    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
> 
>  3. Add rules to table.
> 
> @@ -640,9 +632,9 @@ c) Table c::
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25 -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv4_rss_firmware.cli,cpu_id=1,conn_port
> =8086'
> -    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
> +    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
> 
>  3. Add rules to table.
> 
> @@ -761,9 +753,9 @@ c) Table c::
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25 -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv6_rss_firmware.cli,cpu_id=1,conn_port
> =8086' \
> -    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
> +    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
> 
>  3. Add rules to table,
> 
> @@ -883,9 +875,9 @@ Test Case: ipv4 ACL table jump action
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv4_acl_jump_firmware.cli,cpu_id=1,conn
> _port=8086' \
> -    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
> +    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
> 
>  3. Add rules to table::
> 
> @@ -934,9 +926,9 @@ Test Case: ipv4 HASH table jump action
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv4_hash_jump_firmware.cli,cpu_id=1,co
> nn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
> +    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
> 
>  3. Add rules to table::
> 
> @@ -987,9 +979,9 @@ Test Case: ipv4 ACL jump to HASH table
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv4_acl_hash_jump_firmware.cli,cpu_id=
> 1,conn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
> +    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
> 
>  3. Add rules to table::
> 
> @@ -1042,9 +1034,9 @@ Test Case: ipv4 HASH jump to ACL table
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv4_hash_acl_jump_firmware.cli,cpu_id=
> 1,conn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
> +    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
> 
>  3. Add rules to table::
> 
> @@ -1090,9 +1082,9 @@ Test Case: ipv6 ACL table jump action
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv6_acl_jump_firmware.cli,cpu_id=1,conn
> _port=8086' \
> -    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
> +    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
> 
>  3. Add rules to table::
> 
> @@ -1144,9 +1136,9 @@ Test Case: ipv6 HASH table jump action
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv6_hash_jump_firmware.cli,cpu_id=1,co
> nn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
> +    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
> 
>  3. Add rules to table::
> 
> @@ -1201,9 +1193,9 @@ Test Case: ipv6 ACL jump to HASH table
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv6_acl_hash_jump_firmware.cli,cpu_id=
> 1,conn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
> +    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
> 
>  3. Add rules to table::
> 
> @@ -1255,9 +1247,9 @@ Test Case: ipv6 HASH jump to ACL table
> 
>  2. Start softnic::
> 
> -    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0,
> \
> +    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev
> 'net_softnic0, \
> 
> firmware=./drivers/net/softnic/flow_ipv6_hash_acl_jump_firmware.cli,cpu_id=
> 1,conn_port=8086' \
> -    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
> +    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
> 
>  3. Add rules to table::
> 
> --
> 2.5.0



More information about the dts mailing list