241. Unit Tests: Random Early Detection (RED)

This is the test plan for the Intel® DPDK Random Early Detection feature.

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

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

242. Unit Tests: Metering

This is the test plan for the Intel® DPDK Metering feature.

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

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

243. Unit tests: Scheduler

This is the test plan for the Intel® DPDK Scheduler feature.

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

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