[dts] [PATCH V1] test_plans/add_new_feature_externel_memory

Wu,ChangqingX changqingx.wu at intel.com
Thu Dec 20 04:02:02 CET 2018


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