* [dts] [dts 1/5] test_plans/qinq_filter_test_plan:add the change CONFIG_RTE_LIBRTE_I40E_INC_VECTOR to n in test plan
2020-09-01 2:55 [dts] [PATCH V1 0/5] modify test plan Xie wei
@ 2020-09-01 2:55 ` Xie wei
2020-09-01 6:21 ` Lin, Xueqin
2020-09-02 4:39 ` Tu, Lijuan
2020-09-01 2:55 ` [dts] [dts 2/5] test_plans/generic_filter_test_plan:add the change IXGBE_NONE_MODE_TX_NB_QUEUES to 128 " Xie wei
` (3 subsequent siblings)
4 siblings, 2 replies; 12+ messages in thread
From: Xie wei @ 2020-09-01 2:55 UTC (permalink / raw)
To: dts; +Cc: Xie wei
Signed-off-by: Xie wei <weix.xie@intel.com>
---
test_plans/qinq_filter_test_plan.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test_plans/qinq_filter_test_plan.rst b/test_plans/qinq_filter_test_plan.rst
index fa995f3..72744ee 100644
--- a/test_plans/qinq_filter_test_plan.rst
+++ b/test_plans/qinq_filter_test_plan.rst
@@ -53,6 +53,8 @@ Test Case 1: test qinq packet type
Testpmd configuration - 4 RX/TX queues per port
------------------------------------------------
+#. For fortville NICs need change the value of
+ CONFIG_RTE_LIBRTE_I40E_INC_VECTOR in dpdk/config/common_base file to n::
#. set up testpmd with fortville NICs::
--
2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [dts] [dts 1/5] test_plans/qinq_filter_test_plan:add the change CONFIG_RTE_LIBRTE_I40E_INC_VECTOR to n in test plan
2020-09-01 2:55 ` [dts] [dts 1/5] test_plans/qinq_filter_test_plan:add the change CONFIG_RTE_LIBRTE_I40E_INC_VECTOR to n in " Xie wei
@ 2020-09-01 6:21 ` Lin, Xueqin
2020-09-02 4:39 ` Tu, Lijuan
1 sibling, 0 replies; 12+ messages in thread
From: Lin, Xueqin @ 2020-09-01 6:21 UTC (permalink / raw)
To: Xie, WeiX, dts; +Cc: Xie, WeiX
Acked-by: Lin Xueqin <Xueqin.lin@intel.com>
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Tuesday, September 1, 2020 10:55 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [dts 1/5] test_plans/qinq_filter_test_plan:add the change
> CONFIG_RTE_LIBRTE_I40E_INC_VECTOR to n in test plan
>
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
> test_plans/qinq_filter_test_plan.rst | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/test_plans/qinq_filter_test_plan.rst
> b/test_plans/qinq_filter_test_plan.rst
> index fa995f3..72744ee 100644
> --- a/test_plans/qinq_filter_test_plan.rst
> +++ b/test_plans/qinq_filter_test_plan.rst
> @@ -53,6 +53,8 @@ Test Case 1: test qinq packet type
>
> Testpmd configuration - 4 RX/TX queues per port
> ------------------------------------------------
> +#. For fortville NICs need change the value of
> + CONFIG_RTE_LIBRTE_I40E_INC_VECTOR in dpdk/config/common_base file
> to n::
>
> #. set up testpmd with fortville NICs::
>
> --
> 2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [dts] [dts 1/5] test_plans/qinq_filter_test_plan:add the change CONFIG_RTE_LIBRTE_I40E_INC_VECTOR to n in test plan
2020-09-01 2:55 ` [dts] [dts 1/5] test_plans/qinq_filter_test_plan:add the change CONFIG_RTE_LIBRTE_I40E_INC_VECTOR to n in " Xie wei
2020-09-01 6:21 ` Lin, Xueqin
@ 2020-09-02 4:39 ` Tu, Lijuan
1 sibling, 0 replies; 12+ messages in thread
From: Tu, Lijuan @ 2020-09-02 4:39 UTC (permalink / raw)
To: Xie, WeiX, dts; +Cc: Xie, WeiX
> Subject: [dts] [dts 1/5] test_plans/qinq_filter_test_plan:add the change
> CONFIG_RTE_LIBRTE_I40E_INC_VECTOR to n in test plan
>
> Signed-off-by: Xie wei <weix.xie@intel.com>
Applied the series.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [dts] [dts 2/5] test_plans/generic_filter_test_plan:add the change IXGBE_NONE_MODE_TX_NB_QUEUES to 128 in test plan
2020-09-01 2:55 [dts] [PATCH V1 0/5] modify test plan Xie wei
2020-09-01 2:55 ` [dts] [dts 1/5] test_plans/qinq_filter_test_plan:add the change CONFIG_RTE_LIBRTE_I40E_INC_VECTOR to n in " Xie wei
@ 2020-09-01 2:55 ` Xie wei
2020-09-01 6:20 ` Lin, Xueqin
2020-09-01 2:55 ` [dts] [dts 3/5] test_plans/userspace_ethtool_test_plan:modify vlan fiter param Xie wei
` (2 subsequent siblings)
4 siblings, 1 reply; 12+ messages in thread
From: Xie wei @ 2020-09-01 2:55 UTC (permalink / raw)
To: dts; +Cc: Xie wei
Signed-off-by: Xie wei <weix.xie@intel.com>
---
test_plans/generic_filter_test_plan.rst | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/test_plans/generic_filter_test_plan.rst b/test_plans/generic_filter_test_plan.rst
index 8f69916..de02f62 100644
--- a/test_plans/generic_filter_test_plan.rst
+++ b/test_plans/generic_filter_test_plan.rst
@@ -492,7 +492,13 @@ Test Case 10: 128 queues
This case is designed for NIC(niantic). Since NIC(niantic) has 128 transmit
queues, it should be supports 128 kinds of filter if Hardware have enough
-cores. Launch the app ``testpmd`` with the following arguments::
+cores.
+DPDK enable 64 queues in ixgbe driver by default. Enlarge queue number to 128
+for 128 queues test::
+
+ sed -i -e 's/#define IXGBE_NONE_MODE_TX_NB_QUEUES 64$/#define IXGBE_NONE_MODE_TX_NB_QUEUES 128/' drivers/net/ixgbe/ixgbe_ethdev.h
+
+Launch the app ``testpmd`` with the following arguments::
./testpmd -c fffff -n 4 -- -i --disable-rss --rxq=128 --txq=128 --nb-cores=16 --nb-ports=2 --total-num-mbufs=60000
--
2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [dts] [dts 2/5] test_plans/generic_filter_test_plan:add the change IXGBE_NONE_MODE_TX_NB_QUEUES to 128 in test plan
2020-09-01 2:55 ` [dts] [dts 2/5] test_plans/generic_filter_test_plan:add the change IXGBE_NONE_MODE_TX_NB_QUEUES to 128 " Xie wei
@ 2020-09-01 6:20 ` Lin, Xueqin
0 siblings, 0 replies; 12+ messages in thread
From: Lin, Xueqin @ 2020-09-01 6:20 UTC (permalink / raw)
To: Xie, WeiX, dts; +Cc: Xie, WeiX
Acked-by: Lin Xueqin <Xueqin.lin@intel.com>
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Tuesday, September 1, 2020 10:55 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [dts 2/5] test_plans/generic_filter_test_plan:add the change
> IXGBE_NONE_MODE_TX_NB_QUEUES to 128 in test plan
>
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
> test_plans/generic_filter_test_plan.rst | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/test_plans/generic_filter_test_plan.rst
> b/test_plans/generic_filter_test_plan.rst
> index 8f69916..de02f62 100644
> --- a/test_plans/generic_filter_test_plan.rst
> +++ b/test_plans/generic_filter_test_plan.rst
> @@ -492,7 +492,13 @@ Test Case 10: 128 queues
>
> This case is designed for NIC(niantic). Since NIC(niantic) has 128 transmit
> queues, it should be supports 128 kinds of filter if Hardware have enough -
> cores. Launch the app ``testpmd`` with the following arguments::
> +cores.
> +DPDK enable 64 queues in ixgbe driver by default. Enlarge queue number
> +to 128 for 128 queues test::
> +
> + sed -i -e 's/#define IXGBE_NONE_MODE_TX_NB_QUEUES 64$/#define
> + IXGBE_NONE_MODE_TX_NB_QUEUES 128/'
> drivers/net/ixgbe/ixgbe_ethdev.h
> +
> +Launch the app ``testpmd`` with the following arguments::
>
> ./testpmd -c fffff -n 4 -- -i --disable-rss --rxq=128 --txq=128 --nb-cores=16 --
> nb-ports=2 --total-num-mbufs=60000
>
> --
> 2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [dts] [dts 3/5] test_plans/userspace_ethtool_test_plan:modify vlan fiter param
2020-09-01 2:55 [dts] [PATCH V1 0/5] modify test plan Xie wei
2020-09-01 2:55 ` [dts] [dts 1/5] test_plans/qinq_filter_test_plan:add the change CONFIG_RTE_LIBRTE_I40E_INC_VECTOR to n in " Xie wei
2020-09-01 2:55 ` [dts] [dts 2/5] test_plans/generic_filter_test_plan:add the change IXGBE_NONE_MODE_TX_NB_QUEUES to 128 " Xie wei
@ 2020-09-01 2:55 ` Xie wei
2020-09-01 6:21 ` Lin, Xueqin
2020-09-01 2:55 ` [dts] [dts 4/5] test_plans/inline_ipsec_test_plan:add print info for ipsec app Xie wei
2020-09-01 2:55 ` [dts] [dts 5/5] test_plans/ptype_mapping_test_plan:add print info to testpmd Xie wei
4 siblings, 1 reply; 12+ messages in thread
From: Xie wei @ 2020-09-01 2:55 UTC (permalink / raw)
To: dts; +Cc: Xie wei
Signed-off-by: Xie wei <weix.xie@intel.com>
---
test_plans/userspace_ethtool_test_plan.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test_plans/userspace_ethtool_test_plan.rst b/test_plans/userspace_ethtool_test_plan.rst
index 2bce184..ca86bea 100644
--- a/test_plans/userspace_ethtool_test_plan.rst
+++ b/test_plans/userspace_ethtool_test_plan.rst
@@ -164,7 +164,7 @@ Test Case: Vlan test
enable vlan filter flag in main.c of dpdk's ethtool::
- sed -i -e '/cfg_port.txmode.mq_mode = ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.hw_vlan_filter=1;' examples/ethtool/ethtool-app/main.c
+ sed -i -e '/cfg_port.txmode.mq_mode = ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=DEV_RX_OFFLOAD_VLAN_FILTER;' examples/ethtool/ethtool-app/main.c
re-compile examples/ethtool::
--
2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [dts] [dts 3/5] test_plans/userspace_ethtool_test_plan:modify vlan fiter param
2020-09-01 2:55 ` [dts] [dts 3/5] test_plans/userspace_ethtool_test_plan:modify vlan fiter param Xie wei
@ 2020-09-01 6:21 ` Lin, Xueqin
0 siblings, 0 replies; 12+ messages in thread
From: Lin, Xueqin @ 2020-09-01 6:21 UTC (permalink / raw)
To: Xie, WeiX, dts; +Cc: Xie, WeiX
Acked-by: Lin Xueqin <Xueqin.lin@intel.com>
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Tuesday, September 1, 2020 10:55 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [dts 3/5] test_plans/userspace_ethtool_test_plan:modify vlan
> fiter param
>
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
> test_plans/userspace_ethtool_test_plan.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test_plans/userspace_ethtool_test_plan.rst
> b/test_plans/userspace_ethtool_test_plan.rst
> index 2bce184..ca86bea 100644
> --- a/test_plans/userspace_ethtool_test_plan.rst
> +++ b/test_plans/userspace_ethtool_test_plan.rst
> @@ -164,7 +164,7 @@ Test Case: Vlan test
>
> enable vlan filter flag in main.c of dpdk's ethtool::
>
> - sed -i -e '/cfg_port.txmode.mq_mode =
> ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.hw_vlan_filter=1;'
> examples/ethtool/ethtool-app/main.c
> + sed -i -e '/cfg_port.txmode.mq_mode =
> ETH_MQ_TX_NONE;$/a\\cfg_port.rxmode.offloads|=DEV_RX_OFFLOAD_VLAN_
> FILTER;' examples/ethtool/ethtool-app/main.c
>
> re-compile examples/ethtool::
>
> --
> 2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [dts] [dts 4/5] test_plans/inline_ipsec_test_plan:add print info for ipsec app
2020-09-01 2:55 [dts] [PATCH V1 0/5] modify test plan Xie wei
` (2 preceding siblings ...)
2020-09-01 2:55 ` [dts] [dts 3/5] test_plans/userspace_ethtool_test_plan:modify vlan fiter param Xie wei
@ 2020-09-01 2:55 ` Xie wei
2020-09-01 6:18 ` Lin, Xueqin
2020-09-01 2:55 ` [dts] [dts 5/5] test_plans/ptype_mapping_test_plan:add print info to testpmd Xie wei
4 siblings, 1 reply; 12+ messages in thread
From: Xie wei @ 2020-09-01 2:55 UTC (permalink / raw)
To: dts; +Cc: Xie wei
Signed-off-by: Xie wei <weix.xie@intel.com>
---
test_plans/inline_ipsec_test_plan.rst | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/test_plans/inline_ipsec_test_plan.rst b/test_plans/inline_ipsec_test_plan.rst
index c37b229..3a26e18 100644
--- a/test_plans/inline_ipsec_test_plan.rst
+++ b/test_plans/inline_ipsec_test_plan.rst
@@ -100,7 +100,15 @@ modprobe vfio-pci
This suite depend PyCryptodome,it provide authenticated encryption modes(GCM)
module dependences:cryptography (1.7.2), pycryptodome (3.4.7), pycryptodomex (3.4.7),
pycryptopp (0.6.0), scapy (2.3.3 or later)
-
+
+Add print code in IPSEC app::
+
+ sed -i -e 's/if (nb_rx > 0)/if (nb_rx > 0) {/g' -e '/\/\* dequeue and process completed crypto-ops \*\//i\\t\t\t}' -e '/process_pkts(qconf, pkts, nb_rx, portid);/i\\t\t\t\tprintf("[debug]receive %llu packet in rxqueueid=%llu\\n",(unsigned long long)nb_rx, (unsigned long long)queueid);' examples/ipsec-secgw/ipsec-secgw.c
+
+Re-compile examples/ipsec-secgw::
+
+ make -C examples/ipsec-secgw
+
Test Case: Inline cfg parsing
=============================
Create inline ipsec configuration file like below::
--
2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [dts] [dts 4/5] test_plans/inline_ipsec_test_plan:add print info for ipsec app
2020-09-01 2:55 ` [dts] [dts 4/5] test_plans/inline_ipsec_test_plan:add print info for ipsec app Xie wei
@ 2020-09-01 6:18 ` Lin, Xueqin
0 siblings, 0 replies; 12+ messages in thread
From: Lin, Xueqin @ 2020-09-01 6:18 UTC (permalink / raw)
To: Xie, WeiX, dts; +Cc: Xie, WeiX
Acked-by: Lin Xueqin <Xueqin.lin@intel.com>
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Tuesday, September 1, 2020 10:55 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [dts 4/5] test_plans/inline_ipsec_test_plan:add print info for
> ipsec app
>
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
> test_plans/inline_ipsec_test_plan.rst | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/test_plans/inline_ipsec_test_plan.rst
> b/test_plans/inline_ipsec_test_plan.rst
> index c37b229..3a26e18 100644
> --- a/test_plans/inline_ipsec_test_plan.rst
> +++ b/test_plans/inline_ipsec_test_plan.rst
> @@ -100,7 +100,15 @@ modprobe vfio-pci
> This suite depend PyCryptodome,it provide authenticated encryption
> modes(GCM) module dependences:cryptography (1.7.2), pycryptodome (3.4.7),
> pycryptodomex (3.4.7), pycryptopp (0.6.0), scapy (2.3.3 or later)
> -
> +
> +Add print code in IPSEC app::
> +
> + sed -i -e 's/if (nb_rx > 0)/if (nb_rx > 0) {/g' -e '/\/\* dequeue
> + and process completed crypto-ops \*\//i\\t\t\t}' -e
> + '/process_pkts(qconf, pkts, nb_rx,
> + portid);/i\\t\t\t\tprintf("[debug]receive %llu packet in
> + rxqueueid=%llu\\n",(unsigned long long)nb_rx, (unsigned long
> + long)queueid);' examples/ipsec-secgw/ipsec-secgw.c
> +
> +Re-compile examples/ipsec-secgw::
> +
> + make -C examples/ipsec-secgw
> +
> Test Case: Inline cfg parsing
> =============================
> Create inline ipsec configuration file like below::
> --
> 2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [dts] [dts 5/5] test_plans/ptype_mapping_test_plan:add print info to testpmd
2020-09-01 2:55 [dts] [PATCH V1 0/5] modify test plan Xie wei
` (3 preceding siblings ...)
2020-09-01 2:55 ` [dts] [dts 4/5] test_plans/inline_ipsec_test_plan:add print info for ipsec app Xie wei
@ 2020-09-01 2:55 ` Xie wei
2020-09-01 6:22 ` Lin, Xueqin
4 siblings, 1 reply; 12+ messages in thread
From: Xie wei @ 2020-09-01 2:55 UTC (permalink / raw)
To: dts; +Cc: Xie wei
Signed-off-by: Xie wei <weix.xie@intel.com>
---
test_plans/ptype_mapping_test_plan.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test_plans/ptype_mapping_test_plan.rst b/test_plans/ptype_mapping_test_plan.rst
index 04ea481..d157b67 100644
--- a/test_plans/ptype_mapping_test_plan.rst
+++ b/test_plans/ptype_mapping_test_plan.rst
@@ -55,6 +55,10 @@ user applications.
Prerequisites
=============
+Add print info to testpmd for case::
+
+ sed -i -e '/printf(\" - VLAN tci=0x%x\", mb->vlan_tci);/a\\\\t\\tprintf(\" - pktype: 0x%x\", mb->packet_type);' app/test-pmd/util.c
+
Start testpmd, enable rxonly and verbose mode::
./testpmd -c f -n 4 -- -i --port-topology=chained
--
2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [dts] [dts 5/5] test_plans/ptype_mapping_test_plan:add print info to testpmd
2020-09-01 2:55 ` [dts] [dts 5/5] test_plans/ptype_mapping_test_plan:add print info to testpmd Xie wei
@ 2020-09-01 6:22 ` Lin, Xueqin
0 siblings, 0 replies; 12+ messages in thread
From: Lin, Xueqin @ 2020-09-01 6:22 UTC (permalink / raw)
To: Xie, WeiX, dts; +Cc: Xie, WeiX
Acked-by: Lin Xueqin <Xueqin.lin@intel.com>
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Tuesday, September 1, 2020 10:55 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [dts 5/5] test_plans/ptype_mapping_test_plan:add print info to
> testpmd
>
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
> test_plans/ptype_mapping_test_plan.rst | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/test_plans/ptype_mapping_test_plan.rst
> b/test_plans/ptype_mapping_test_plan.rst
> index 04ea481..d157b67 100644
> --- a/test_plans/ptype_mapping_test_plan.rst
> +++ b/test_plans/ptype_mapping_test_plan.rst
> @@ -55,6 +55,10 @@ user applications.
>
> Prerequisites
> =============
> +Add print info to testpmd for case::
> +
> + sed -i -e '/printf(\" - VLAN tci=0x%x\", mb->vlan_tci);/a\\\\t\\tprintf(\" -
> pktype: 0x%x\", mb->packet_type);' app/test-pmd/util.c
> +
> Start testpmd, enable rxonly and verbose mode::
>
> ./testpmd -c f -n 4 -- -i --port-topology=chained
> --
> 2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread