Modules
Modules are reusable .npf fragments that can be included in your test
scripts using the %import directive. They provide common functionality
such as traffic generation, system tuning, device configuration, and
performance monitoring.
Usage example:
%import graph-beautiful
%import@dut perf-class PERF_TIME=1
The following modules are available (deprecated modules are omitted).
Individual module pages are auto-generated by modules/generate_doc.py
in the NPF repository.
- cpufreq-script
- cpuload
- dev_channels
- dev_irq_affinity
- dev_pause
- dev_rate
- dpdk-bind
- droptcpsock
- fastclick-echo
- fastclick-play-single-mt
- fastclick-rcv
- fastclick-replay-dual
- fastclick-udpgen-quad
- graph-beautiful
- load
- netmap-bind
- nginx
- perf-class
- perf-functions
- perf-stat
- pktgen
- reframer
- snort
- trex
- tune
- waitcon
- wrk
- wrk-multins
- wrk-nsdelay
- wrk2