test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts]  [PATCH V1] test_plans/add_new_feature_externel_memory
@ 2018-12-20  3:02 Wu,ChangqingX
  2018-12-21  2:05 ` Zhu, ShuaiX
  2018-12-22  2:24 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Wu,ChangqingX @ 2018-12-20  3:02 UTC (permalink / raw)
  To: dts; +Cc: Wu,ChangqingX

add_new_feature_externel_memory

Signed-off-by: Wu,ChangqingX <changqingx.wu@intel.com>
---
 test_plans/external_memory_test_plan.rst | 43 ++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 test_plans/external_memory_test_plan.rst

diff --git a/test_plans/external_memory_test_plan.rst b/test_plans/external_memory_test_plan.rst
new file mode 100644
index 0000000..23fec9b
--- /dev/null
+++ b/test_plans/external_memory_test_plan.rst
@@ -0,0 +1,43 @@
+Ability to use external memory test plan
+=========================================
+
+Description:
+------------
+Provide an abstraction for DPDK hugepage allocation, to have a "default" memory 
+allocator that will allocate hugepages, but also have custom allocator support for 
+external memory.
+
+Test cases:
+-----------
+
+Test case 1: IGB_UIO and anonymous memory allocation
+steps:
+1. bind the ports to IGB_UIO driver;
+2. start testpmd with --mp-alloc=xmem flag:
+# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- --mp-alloc=xmem -i
+3. start forward in testpmd;
+4. start send traffic from outside to test the forward function;
+
+Test case 2: IGB_UIO and anonymous hugepage memory allocation
+steps:
+1. bind the ports to IGB_UIO driver;
+2. start testpmd with --mp-alloc=xmemhuge flag:
+# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- --mp-alloc=xmemhuge -i
+3. start forward in testpmd;
+4. start send traffic from outside to test the forward function;
+
+Test case 3: VFIO and anonymous memory allocation
+steps:
+1. bind the ports to vfio-pci driver;
+2. start testpmd with --mp-alloc=xmem flag:
+# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- --mp-alloc=xmem -i
+3. start forward in testpmd;
+4. start send traffic from outside to test the forward function;
+
+Test case 4: VFIO and anonymous hugepage memory allocation
+steps:
+1. bind the ports to vfio-pci driver;
+2. start testpmd with --mp-alloc=xmemhuge flag:
+# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- --mp-alloc=xmemhuge -i
+3. start forward in testpmd;
+4. start send traffic from outside to test the forward function;
-- 
2.17.2

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

* Re: [dts] [PATCH V1] test_plans/add_new_feature_externel_memory
  2018-12-20  3:02 [dts] [PATCH V1] test_plans/add_new_feature_externel_memory Wu,ChangqingX
@ 2018-12-21  2:05 ` Zhu, ShuaiX
  2018-12-22  2:24 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Zhu, ShuaiX @ 2018-12-21  2:05 UTC (permalink / raw)
  To: Wu, ChangqingX, dts; +Cc: Wu, ChangqingX

Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wu,ChangqingX
Sent: Thursday, December 20, 2018 11:02 AM
To: dts@dpdk.org
Cc: Wu, ChangqingX <changqingx.wu@intel.com>
Subject: [dts] [PATCH V1] test_plans/add_new_feature_externel_memory

add_new_feature_externel_memory

Signed-off-by: Wu,ChangqingX <changqingx.wu@intel.com>
---
 test_plans/external_memory_test_plan.rst | 43 ++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 test_plans/external_memory_test_plan.rst

diff --git a/test_plans/external_memory_test_plan.rst b/test_plans/external_memory_test_plan.rst
new file mode 100644
index 0000000..23fec9b
--- /dev/null
+++ b/test_plans/external_memory_test_plan.rst
@@ -0,0 +1,43 @@
+Ability to use external memory test plan 
+=========================================
+
+Description:
+------------
+Provide an abstraction for DPDK hugepage allocation, to have a 
+"default" memory allocator that will allocate hugepages, but also have 
+custom allocator support for external memory.
+
+Test cases:
+-----------
+
+Test case 1: IGB_UIO and anonymous memory allocation
+steps:
+1. bind the ports to IGB_UIO driver;
+2. start testpmd with --mp-alloc=xmem flag:
+# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- 
+--mp-alloc=xmem -i 3. start forward in testpmd; 4. start send traffic 
+from outside to test the forward function;
+
+Test case 2: IGB_UIO and anonymous hugepage memory allocation
+steps:
+1. bind the ports to IGB_UIO driver;
+2. start testpmd with --mp-alloc=xmemhuge flag:
+# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- 
+--mp-alloc=xmemhuge -i 3. start forward in testpmd; 4. start send 
+traffic from outside to test the forward function;
+
+Test case 3: VFIO and anonymous memory allocation
+steps:
+1. bind the ports to vfio-pci driver;
+2. start testpmd with --mp-alloc=xmem flag:
+# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- 
+--mp-alloc=xmem -i 3. start forward in testpmd; 4. start send traffic 
+from outside to test the forward function;
+
+Test case 4: VFIO and anonymous hugepage memory allocation
+steps:
+1. bind the ports to vfio-pci driver;
+2. start testpmd with --mp-alloc=xmemhuge flag:
+# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- 
+--mp-alloc=xmemhuge -i 3. start forward in testpmd; 4. start send 
+traffic from outside to test the forward function;
--
2.17.2

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

* Re: [dts] [PATCH V1] test_plans/add_new_feature_externel_memory
  2018-12-20  3:02 [dts] [PATCH V1] test_plans/add_new_feature_externel_memory Wu,ChangqingX
  2018-12-21  2:05 ` Zhu, ShuaiX
@ 2018-12-22  2:24 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2018-12-22  2:24 UTC (permalink / raw)
  To: Wu, ChangqingX, dts; +Cc: Wu, ChangqingX

This test plan don't meet RST format and git format.

Some info while applying patch.
Applying: test_plans/add_new_feature_externel_memory
.git/rebase-apply/patch:17: trailing whitespace.
Provide an abstraction for DPDK hugepage allocation, to have a "default" memory
.git/rebase-apply/patch:18: trailing whitespace.
allocator that will allocate hugepages, but also have custom allocator support for
warning: 2 lines add whitespace errors.



> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wu,ChangqingX
> Sent: Thursday, December 20, 2018 11:02 AM
> To: dts@dpdk.org
> Cc: Wu, ChangqingX <changqingx.wu@intel.com>
> Subject: [dts] [PATCH V1] test_plans/add_new_feature_externel_memory
> 
> add_new_feature_externel_memory
> 
> Signed-off-by: Wu,ChangqingX <changqingx.wu@intel.com>
> ---
>  test_plans/external_memory_test_plan.rst | 43
> ++++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
>  create mode 100644 test_plans/external_memory_test_plan.rst
> 
> diff --git a/test_plans/external_memory_test_plan.rst
> b/test_plans/external_memory_test_plan.rst
> new file mode 100644
> index 0000000..23fec9b
> --- /dev/null
> +++ b/test_plans/external_memory_test_plan.rst
> @@ -0,0 +1,43 @@
> +Ability to use external memory test plan
> +=========================================
> +
> +Description:
> +------------
> +Provide an abstraction for DPDK hugepage allocation, to have a
> +"default" memory allocator that will allocate hugepages, but also have
> +custom allocator support for external memory.
> +
> +Test cases:
> +-----------
> +
> +Test case 1: IGB_UIO and anonymous memory allocation
> +steps:
> +1. bind the ports to IGB_UIO driver;
> +2. start testpmd with --mp-alloc=xmem flag:
> +# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 --
> +--mp-alloc=xmem -i 3. start forward in testpmd; 4. start send traffic
> +from outside to test the forward function;
> +
> +Test case 2: IGB_UIO and anonymous hugepage memory allocation
> +steps:
> +1. bind the ports to IGB_UIO driver;
> +2. start testpmd with --mp-alloc=xmemhuge flag:
> +# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 --
> +--mp-alloc=xmemhuge -i 3. start forward in testpmd; 4. start send
> +traffic from outside to test the forward function;
> +
> +Test case 3: VFIO and anonymous memory allocation
> +steps:
> +1. bind the ports to vfio-pci driver;
> +2. start testpmd with --mp-alloc=xmem flag:
> +# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 --
> +--mp-alloc=xmem -i 3. start forward in testpmd; 4. start send traffic
> +from outside to test the forward function;
> +
> +Test case 4: VFIO and anonymous hugepage memory allocation
> +steps:
> +1. bind the ports to vfio-pci driver;
> +2. start testpmd with --mp-alloc=xmemhuge flag:
> +# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 --
> +--mp-alloc=xmemhuge -i 3. start forward in testpmd; 4. start send
> +traffic from outside to test the forward function;
> --
> 2.17.2

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

end of thread, other threads:[~2018-12-22  2:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-20  3:02 [dts] [PATCH V1] test_plans/add_new_feature_externel_memory Wu,ChangqingX
2018-12-21  2:05 ` Zhu, ShuaiX
2018-12-22  2:24 ` 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).