233. Unit Tests: LPM

This is the test plan for the Intel® DPDK LPM Method.

This section explains how to run the unit tests for LPM.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>> lpm_autotest

The final output of the test has to be “Test OK”

234. Unit Tests: LPM_ipv6

This is the test plan for the Intel® DPDK LPM Method in IPv6.

This section explains how to run the unit tests for LPM in IPv6.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>> lpm6_autotest

The final output of the test has to be “Test OK”

235. Unit Tests: LPM_perf

This section explains how to run the unit tests for LPM performance. The steps to run the unit test manually are as follow:

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

The final output of the test has to be “Test OK”

236. Unit Tests: LPM_ipv6_perf

This section explains how to run the unit tests for LPM IPv6 performance. The steps to run the unit test manually are as follow:

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

The final output of the test has to be “Test OK”