test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 0/7] update test plan to sync with testsuite
@ 2020-09-03  9:57 Xie wei
  2020-09-03  9:57 ` [dts] [dts 1/7] test_plans/unit_tests_kni_test_plan:update " Xie wei
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Xie wei @ 2020-09-03  9:57 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

update test plan to sync with testsuite.

Xie wei (7):
  test_plans/unit_tests_kni_test_plan:update test plan to sync with
    testsuite
  test_plans/pmdpcap_test_plan:update test plan to sync with testsuite
  test_plans/multicast_test_plan:update test plan to sync with testsuite
  test_plans/kni_test_plan:update test plan to sync with testsuite
  test_plans/ipv4_reassembly_test_plan:update test plan to sync with
    testsuite
  test_plans/ipfrag_test_plan:update test plan to sync with testsuite
  test_plans/efd_test_plan:update test plan to sync with testsuite

 test_plans/efd_test_plan.rst             |  3 +++
 test_plans/ipfrag_test_plan.rst          | 28 ++++++++++++++++++++++++
 test_plans/ipv4_reassembly_test_plan.rst |  4 +++-
 test_plans/kni_test_plan.rst             |  3 +++
 test_plans/multicast_test_plan.rst       | 23 +++++++++++++++++++
 test_plans/pmdpcap_test_plan.rst         |  3 +++
 test_plans/unit_tests_kni_test_plan.rst  |  4 ++++
 7 files changed, 67 insertions(+), 1 deletion(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [dts] [dts 1/7] test_plans/unit_tests_kni_test_plan:update test plan to sync with testsuite
  2020-09-03  9:57 [dts] [PATCH V1 0/7] update test plan to sync with testsuite Xie wei
@ 2020-09-03  9:57 ` Xie wei
  2020-09-03  9:57 ` [dts] [dts 2/7] test_plans/pmdpcap_test_plan:update " Xie wei
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Xie wei @ 2020-09-03  9:57 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 test_plans/unit_tests_kni_test_plan.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test_plans/unit_tests_kni_test_plan.rst b/test_plans/unit_tests_kni_test_plan.rst
index c77d887..793dd47 100644
--- a/test_plans/unit_tests_kni_test_plan.rst
+++ b/test_plans/unit_tests_kni_test_plan.rst
@@ -45,6 +45,10 @@ script (launched using ``make test``) that sends commands to
 the application and checks the results. A test report is displayed on
 stdout.
 
+Case config::
+
+   For enable KNI features, need to set the "CONFIG_RTE_KNI_KMOD=y" in ./config/common_base and re-build DPDK.
+
 The steps to run the unit test manually are as follow::
 
   # make -C ./app/test/
-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [dts] [dts 2/7] test_plans/pmdpcap_test_plan:update test plan to sync with testsuite
  2020-09-03  9:57 [dts] [PATCH V1 0/7] update test plan to sync with testsuite Xie wei
  2020-09-03  9:57 ` [dts] [dts 1/7] test_plans/unit_tests_kni_test_plan:update " Xie wei
@ 2020-09-03  9:57 ` Xie wei
  2020-09-03  9:57 ` [dts] [dts 3/7] test_plans/multicast_test_plan:update " Xie wei
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Xie wei @ 2020-09-03  9:57 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 test_plans/pmdpcap_test_plan.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test_plans/pmdpcap_test_plan.rst b/test_plans/pmdpcap_test_plan.rst
index 7b5ecd2..d6ab697 100644
--- a/test_plans/pmdpcap_test_plan.rst
+++ b/test_plans/pmdpcap_test_plan.rst
@@ -52,6 +52,9 @@ in PCAP devices created by Test PMD.
 It is Test PMD application itself which send and receives traffic from and to
 PCAP files, no traffic generator is involved.
 
+Case config::
+
+   For enable PCAP features, need to set the "CONFIG_RTE_LIBRTE_PMD_PCAP=y" in ./config/common_base and re-build DPDK.
 
 Test Case: test_send_packets_with_one_device
 ============================================
-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [dts] [dts 3/7] test_plans/multicast_test_plan:update test plan to sync with testsuite
  2020-09-03  9:57 [dts] [PATCH V1 0/7] update test plan to sync with testsuite Xie wei
  2020-09-03  9:57 ` [dts] [dts 1/7] test_plans/unit_tests_kni_test_plan:update " Xie wei
  2020-09-03  9:57 ` [dts] [dts 2/7] test_plans/pmdpcap_test_plan:update " Xie wei
@ 2020-09-03  9:57 ` Xie wei
  2020-09-03  9:57 ` [dts] [dts 4/7] test_plans/kni_test_plan:update " Xie wei
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Xie wei @ 2020-09-03  9:57 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 test_plans/multicast_test_plan.rst | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/test_plans/multicast_test_plan.rst b/test_plans/multicast_test_plan.rst
index f52dd9c..a190170 100644
--- a/test_plans/multicast_test_plan.rst
+++ b/test_plans/multicast_test_plan.rst
@@ -195,6 +195,29 @@ P0 and P2 are used on testing machine):
 
 These flows do not change across the test cases.
 
+6.Modify multicast route table::
+
+    sed -i '/mcast_group_table\[\].*{/,/^\}\;/c\\static struct mcast_group_params mcast_group_table[] = {\
+    {RTE_IPV4(224,0,0,101),1},\
+    {RTE_IPV4(224,0,0,102),2},\
+    {RTE_IPV4(224,0,0,103),3},\
+    {RTE_IPV4(224,0,0,104),4},\
+    {RTE_IPV4(224,0,0,105),5},\
+    {RTE_IPV4(224,0,0,106),6},\
+    {RTE_IPV4(224,0,0,107),7},\
+    {RTE_IPV4(224,0,0,108),8},\
+    {RTE_IPV4(224,0,0,109),9},\
+    {RTE_IPV4(224,0,0,110),10},\
+    {RTE_IPV4(224,0,0,111),11},\
+    {RTE_IPV4(224,0,0,112),12},\
+    {RTE_IPV4(224,0,0,113),13},\
+    {RTE_IPV4(224,0,0,114),14},\
+    {RTE_IPV4(224,0,0,115),15},\
+    };' examples/ipv4_multicast/main.c
+
+And re-compile examples/ipv4_multicast::
+
+    make -C examples/ipv4_multicast
 
 Test Case: IP4 Multicast Forwarding
 ===================================
-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [dts] [dts 4/7] test_plans/kni_test_plan:update test plan to sync with testsuite
  2020-09-03  9:57 [dts] [PATCH V1 0/7] update test plan to sync with testsuite Xie wei
                   ` (2 preceding siblings ...)
  2020-09-03  9:57 ` [dts] [dts 3/7] test_plans/multicast_test_plan:update " Xie wei
@ 2020-09-03  9:57 ` Xie wei
  2020-09-03  9:57 ` [dts] [dts 5/7] test_plans/ipv4_reassembly_test_plan:update " Xie wei
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Xie wei @ 2020-09-03  9:57 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 test_plans/kni_test_plan.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test_plans/kni_test_plan.rst b/test_plans/kni_test_plan.rst
index 0c5b2e0..1d4736b 100644
--- a/test_plans/kni_test_plan.rst
+++ b/test_plans/kni_test_plan.rst
@@ -119,6 +119,9 @@ system to another)::
     insmod ./x86_64-default-linuxapp-gcc/kmod/rte_kni.ko
     ./examples/kni/build/app/kni -c 0xa0001e -n 4 -- -P -p 0x3 --config="(0,1,2,21),(1,3,4,23)" &
 
+Case config::
+
+   For enable KNI features, need to set the "CONFIG_RTE_KNI_KMOD=y" in ./config/common_base and re-build DPDK.
 
 Test Case: ifconfig testing
 ===========================
-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [dts] [dts 5/7] test_plans/ipv4_reassembly_test_plan:update test plan to sync with testsuite
  2020-09-03  9:57 [dts] [PATCH V1 0/7] update test plan to sync with testsuite Xie wei
                   ` (3 preceding siblings ...)
  2020-09-03  9:57 ` [dts] [dts 4/7] test_plans/kni_test_plan:update " Xie wei
@ 2020-09-03  9:57 ` Xie wei
  2020-09-03  9:57 ` [dts] [dts 6/7] test_plans/ipfrag_test_plan:update " Xie wei
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Xie wei @ 2020-09-03  9:57 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 test_plans/ipv4_reassembly_test_plan.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test_plans/ipv4_reassembly_test_plan.rst b/test_plans/ipv4_reassembly_test_plan.rst
index 686584d..75aba16 100644
--- a/test_plans/ipv4_reassembly_test_plan.rst
+++ b/test_plans/ipv4_reassembly_test_plan.rst
@@ -99,7 +99,9 @@ Sample command::
   ./examples/ip_reassembly/build/ip_reassembly -c 0x2 -n 4 -- \
       -P -p 0x2 --config "(1,0,1)" --maxflows=4096 --flowttl=10s
 
-Modifies the sample app source code to enable up to 7 fragments per packet.
+Modifies the sample app source code to enable up to 7 fragments per packet,
+and it need set the "CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=7" in ./config/common_base and re-build DPDK.
+
 Sends 4K packets split in 7 fragments each with a ``maxflows`` of 4K.
 
 It expects:
-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [dts] [dts 6/7] test_plans/ipfrag_test_plan:update test plan to sync with testsuite
  2020-09-03  9:57 [dts] [PATCH V1 0/7] update test plan to sync with testsuite Xie wei
                   ` (4 preceding siblings ...)
  2020-09-03  9:57 ` [dts] [dts 5/7] test_plans/ipv4_reassembly_test_plan:update " Xie wei
@ 2020-09-03  9:57 ` Xie wei
  2020-09-03  9:57 ` [dts] [dts 7/7] test_plans/efd_test_plan:update " Xie wei
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Xie wei @ 2020-09-03  9:57 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 test_plans/ipfrag_test_plan.rst | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/test_plans/ipfrag_test_plan.rst b/test_plans/ipfrag_test_plan.rst
index 9c0afed..31dcc7b 100644
--- a/test_plans/ipfrag_test_plan.rst
+++ b/test_plans/ipfrag_test_plan.rst
@@ -133,6 +133,34 @@ Prerequisites
      - The set of logical cores to execute the packet forwarding task
      - Mapping of the NIC RX queues to logical cores handling them.
 
+6. Set lpm table for IPv4 & IPv6 packet::
+
+    sed -i '/l3fwd_ipv4_route_array\[\].*{/,/^\}\;/c\\static struct l3fwd_ipv4_route l3fwd_ipv4_route_array[] = {\
+    {RTE_IPV4(100,10,0,0), 16, 1},\
+    {RTE_IPV4(100,20,0,0), 16, 1},\
+    {RTE_IPV4(100,30,0,0), 16, 0},\
+    {RTE_IPV4(100,40,0,0), 16, 0},\
+    {RTE_IPV4(100,50,0,0), 16, 1},\
+    {RTE_IPV4(100,60,0,0), 16, 1},\
+    {RTE_IPV4(100,70,0,0), 16, 0},\
+    {RTE_IPV4(100,80,0,0), 16, 0},\
+    };' examples/ip_fragmentation/main.c
+
+    sed -i '/l3fwd_ipv6_route_array\[\].*{/,/^\}\;/c\\static struct l3fwd_ipv6_route l3fwd_ipv6_route_array[] = {\
+    {{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 1},\
+    {{2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 1},\
+    {{3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 0},\
+    {{4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 0},\
+    {{5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 1},\
+    {{6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 1},\
+    {{7,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 0},\
+    {{8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, 48, 0},\
+    };' examples/ip_fragmentation/main.c
+
+And re-compile examples/ip_fragmentation::
+
+    make -C examples/ip_fragmentation
+
 Test Case 1: IP Fragmentation normal ip packet forward
 ======================================================
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [dts] [dts 7/7] test_plans/efd_test_plan:update test plan to sync with testsuite
  2020-09-03  9:57 [dts] [PATCH V1 0/7] update test plan to sync with testsuite Xie wei
                   ` (5 preceding siblings ...)
  2020-09-03  9:57 ` [dts] [dts 6/7] test_plans/ipfrag_test_plan:update " Xie wei
@ 2020-09-03  9:57 ` Xie wei
  2020-09-04  6:10 ` [dts] [PATCH V1 0/7] update " Ma, LihongX
  2020-09-10  2:54 ` Tu, Lijuan
  8 siblings, 0 replies; 10+ messages in thread
From: Xie wei @ 2020-09-03  9:57 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 test_plans/efd_test_plan.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test_plans/efd_test_plan.rst b/test_plans/efd_test_plan.rst
index dfde28a..3f2ef3a 100644
--- a/test_plans/efd_test_plan.rst
+++ b/test_plans/efd_test_plan.rst
@@ -137,6 +137,9 @@ This case will measure the performance based on flow numbers.
 
 Test Case: Load balancer performance based on value bits
 -----------------------------------------------------------------------
+Modify different value size which must be between 1 and 32, and it need
+set the '#define RTE_EFD_VALUE_NUM_BITS (value size)' in lib/librte_efd/rte_efd.h and rebuild dpdk.
+
 This case will measure the performance based on value bits.
 
 +--------------+-------+-----------+------------+
-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dts] [PATCH V1 0/7] update test plan to sync with testsuite
  2020-09-03  9:57 [dts] [PATCH V1 0/7] update test plan to sync with testsuite Xie wei
                   ` (6 preceding siblings ...)
  2020-09-03  9:57 ` [dts] [dts 7/7] test_plans/efd_test_plan:update " Xie wei
@ 2020-09-04  6:10 ` Ma, LihongX
  2020-09-10  2:54 ` Tu, Lijuan
  8 siblings, 0 replies; 10+ messages in thread
From: Ma, LihongX @ 2020-09-04  6:10 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

Acked-by: lihong Ma<lihongx.ma@intel.com>

Regards,
Ma,lihong

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Thursday, September 3, 2020 5:58 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [PATCH V1 0/7] update test plan to sync with testsuite
> 
> update test plan to sync with testsuite.
> 
> Xie wei (7):
>   test_plans/unit_tests_kni_test_plan:update test plan to sync with
>     testsuite
>   test_plans/pmdpcap_test_plan:update test plan to sync with testsuite
>   test_plans/multicast_test_plan:update test plan to sync with testsuite
>   test_plans/kni_test_plan:update test plan to sync with testsuite
>   test_plans/ipv4_reassembly_test_plan:update test plan to sync with
>     testsuite
>   test_plans/ipfrag_test_plan:update test plan to sync with testsuite
>   test_plans/efd_test_plan:update test plan to sync with testsuite
> 
>  test_plans/efd_test_plan.rst             |  3 +++
>  test_plans/ipfrag_test_plan.rst          | 28 ++++++++++++++++++++++++
>  test_plans/ipv4_reassembly_test_plan.rst |  4 +++-
>  test_plans/kni_test_plan.rst             |  3 +++
>  test_plans/multicast_test_plan.rst       | 23 +++++++++++++++++++
>  test_plans/pmdpcap_test_plan.rst         |  3 +++
>  test_plans/unit_tests_kni_test_plan.rst  |  4 ++++
>  7 files changed, 67 insertions(+), 1 deletion(-)
> 
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dts] [PATCH V1 0/7] update test plan to sync with testsuite
  2020-09-03  9:57 [dts] [PATCH V1 0/7] update test plan to sync with testsuite Xie wei
                   ` (7 preceding siblings ...)
  2020-09-04  6:10 ` [dts] [PATCH V1 0/7] update " Ma, LihongX
@ 2020-09-10  2:54 ` Tu, Lijuan
  8 siblings, 0 replies; 10+ messages in thread
From: Tu, Lijuan @ 2020-09-10  2:54 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

Applied

> Subject: [dts] [PATCH V1 0/7] update test plan to sync with testsuite
> 
> update test plan to sync with testsuite.
> 
> Xie wei (7):
>   test_plans/unit_tests_kni_test_plan:update test plan to sync with
>     testsuite
>   test_plans/pmdpcap_test_plan:update test plan to sync with testsuite
>   test_plans/multicast_test_plan:update test plan to sync with testsuite
>   test_plans/kni_test_plan:update test plan to sync with testsuite
>   test_plans/ipv4_reassembly_test_plan:update test plan to sync with
>     testsuite
>   test_plans/ipfrag_test_plan:update test plan to sync with testsuite
>   test_plans/efd_test_plan:update test plan to sync with testsuite
> 
>  test_plans/efd_test_plan.rst             |  3 +++
>  test_plans/ipfrag_test_plan.rst          | 28 ++++++++++++++++++++++++
>  test_plans/ipv4_reassembly_test_plan.rst |  4 +++-
>  test_plans/kni_test_plan.rst             |  3 +++
>  test_plans/multicast_test_plan.rst       | 23 +++++++++++++++++++
>  test_plans/pmdpcap_test_plan.rst         |  3 +++
>  test_plans/unit_tests_kni_test_plan.rst  |  4 ++++
>  7 files changed, 67 insertions(+), 1 deletion(-)
> 
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-09-10  2:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03  9:57 [dts] [PATCH V1 0/7] update test plan to sync with testsuite Xie wei
2020-09-03  9:57 ` [dts] [dts 1/7] test_plans/unit_tests_kni_test_plan:update " Xie wei
2020-09-03  9:57 ` [dts] [dts 2/7] test_plans/pmdpcap_test_plan:update " Xie wei
2020-09-03  9:57 ` [dts] [dts 3/7] test_plans/multicast_test_plan:update " Xie wei
2020-09-03  9:57 ` [dts] [dts 4/7] test_plans/kni_test_plan:update " Xie wei
2020-09-03  9:57 ` [dts] [dts 5/7] test_plans/ipv4_reassembly_test_plan:update " Xie wei
2020-09-03  9:57 ` [dts] [dts 6/7] test_plans/ipfrag_test_plan:update " Xie wei
2020-09-03  9:57 ` [dts] [dts 7/7] test_plans/efd_test_plan:update " Xie wei
2020-09-04  6:10 ` [dts] [PATCH V1 0/7] update " Ma, LihongX
2020-09-10  2:54 ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git