173. Unit Tests: Dump Ring

This is the test plan for dumping the elements of Intel® DPDK ring.

This section explains how to run the unit tests for dumping elements of ring. The test can be launched independently using the command line interface. This test is implemented as a linuxapp environment application.

The complete test suite is launched automatically using a python-expect script (launched using make test) that sends commands to the application and checks the results. A test report is displayed on stdout.

The steps to run the unit test manually are as follow:

# make -C ./app/test/
# ./app/test/test -n 1 -c ffff
RTE>> dump_ring

The final output of the test will be detailed elements of DPDK ring.

Dump the elements of designative DPDK ring:

RTE>> dump_ring <ring_name>

The final output of the test will be detailed elements of the designative DPDK ring.

174. Unit Tests: Dump Mempool

This is the test plan for dumping the elements of Intel® DPDK mempool.

This section explains how to run the unit tests for dumping elements of mempool. The test can be launched independently using the command line interface. This test is implemented as a linuxapp environment application.

The complete test suite is launched automatically using a python-expect script (launched using make test) that sends commands to the application and checks the results. A test report is displayed on stdout.

The steps to run the unit test manually are as follow:

# make -C ./app/test/
# ./app/test/test -n 1 -c ffff
RTE>> dump_mempool

The final output of the test will be detailed elements of DPDK mempool.

Dump the elements if designative DPDK mempool:

RTE>> dump_mempool <mempool_name>

The final output of the test will be detailed elements of the designative DPDK mempool.

175. Unit Tests: Dump Physical Memory

This is the test plan for dumping the elements of Intel® DPDK physical memory.

This section explains how to run the unit tests for dumping elements of memory. The test can be launched independently using the command line interface. This test is implemented as a linuxapp environment application.

The complete test suite is launched automatically using a python-expect script (launched using make test) that sends commands to the application and checks the results. A test report is displayed on stdout.

The steps to run the unit test manually are as follow:

# make -C ./app/test/
# ./app/test/test -n 1 -c ffff
RTE>> dump_physmem

The final output of the test will be detailed elements of DPDK physical memory.

176. Unit Tests: Dump Memzone

This is the test plan for dumping the elements of Intel® DPDK memzone.

This section explains how to run the unit tests for dumping elements of memzone. The test can be launched independently using the command line interface. This test is implemented as a linuxapp environment application.

The complete test suite is launched automatically using a python-expect script (launched using make test) that sends commands to the application and checks the results. A test report is displayed on stdout.

The steps to run the unit test manually are as follow:

# make -C ./app/test/
# ./app/test/test -n 1 -c ffff
RTE>> dump_memzone

The final output of the test will be detailed elements of DPDK memzone.

177. Unit Tests: Dump Struct Size

This is the test plan for dumping the size of Intel® DPDK structure.

This section explains how to run the unit tests for dumping structure size. The test can be launched independently using the command line interface. This test is implemented as a linuxapp environment application.

The complete test suite is launched automatically using a python-expect script (launched using make test) that sends commands to the application and checks the results. A test report is displayed on stdout.

The steps to run the unit test manually are as follow:

# make -C ./app/test/
# ./app/test/test -n 1 -c ffff
RTE>> dump_struct_sizes

The final output of the test will be the size of DPDK structure.

178. Unit Tests: Dump Devargs

This is the test plan for dumping device arguments of Intel® DPDK.

This section explains how to run the unit tests for dumping device arguments. The test can be launched independently using the command line interface. This test is implemented as a linuxapp environment application.

The complete test suite is launched automatically using a python-expect script (launched using make test) that sends commands to the application and checks the results. A test report is displayed on stdout.

The steps to run the unit test manually are as follow:

# make -C ./app/test/
# ./app/test/test -n 1 -c ffff -w|-b pci_address
RTE>> dump_devargs

The final output of the test will be the pci address of white list or black list.

179. Unit Tests: Dump malloc stats

This is the test plan for dumping malloc stats of Intel® DPDK heaps.

This section explains how to run the unit tests for dumping malloc stats. The test can be launched independently using the command line interface. This test is implemented as a linuxapp environment application.

The complete test suite is launched automatically using a python-expect script (launched using make test) that sends commands to the application and checks the results. A test report is displayed on stdout.

The steps to run the unit test manually are as follow:

# make -C ./app/test/
# ./app/test/test -n 1 -c ffff
RTE>> dump_malloc_stats

The final output of the test will be the malloc stats of DPDK heap.

180. Unit Tests: Dump malloc heaps

This is the test plan for dumping detailed malloc status of each Intel® DPDK heap.

This section explains how to run the unit tests for dumping malloc heaps. The test can be launched independently using the command line interface. This test is implemented as a linuxapp environment application.

The complete test suite is launched automatically using a python-expect script (launched using make test) that sends commands to the application and checks the results. A test report is displayed on stdout.

The steps to run the unit test manually are as follow:

# make -C ./app/test/
# ./app/test/test -n 1 -c ffff
RTE>> dump_malloc_heaps

The final output of the test will be the detailed malloc status of each DPDK heap.

181. Unit Tests: Dump log types

This is the test plan for dumping log level of all Intel® DPDK log types.

This section explains how to run the unit tests for dumping log types. The test can be launched independently using the command line interface. This test is implemented as a linuxapp environment application.

The complete test suite is launched automatically using a python-expect script (launched using make test) that sends commands to the application and checks the results. A test report is displayed on stdout.

The steps to run the unit test manually are as follow:

# make -C ./app/test/
# ./app/test/test -n 1 -c ffff
RTE>> dump_log_types

The final output of the test will be the log level of each DPDK log type.