[dts] [PATCH V1] test_plans/add_new_feature_externel_memory

Tu, Lijuan lijuan.tu at intel.com
Sat Dec 22 03:24:44 CET 2018


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 at dpdk.org] On Behalf Of Wu,ChangqingX
> Sent: Thursday, December 20, 2018 11:02 AM
> To: dts at dpdk.org
> Cc: Wu, ChangqingX <changqingx.wu at 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 at 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



More information about the dts mailing list