numam-dpdk/doc/guides
Jasvinder Singh 5b590fbe09 app/testpmd: add traffic management forwarding mode
This commit extends the testpmd application with new forwarding engine
that demonstrates the use of ethdev traffic management APIs and softnic
PMD for QoS traffic management.

In this mode, 5-level hierarchical tree of the QoS scheduler is built
with the help of ethdev TM APIs such as shaper profile add/delete,
shared shaper add/update, node add/delete, hierarchy commit, etc.
The hierarchical tree has following nodes; root node(x1, level 0),
subport node(x1, level 1), pipe node(x4096, level 2),
tc node(x16348, level 3), queue node(x65536, level 4).

During runtime, each received packet is first classified by mapping the
packet fields information to 5-tuples (HQoS subport, pipe, traffic class,
queue within traffic class, and color) and storing it in the packet mbuf
sched field. After classification, each packet is sent to softnic port
which prioritizes the transmission of the received packets, and
accordingly sends them on to the output interface.

To enable traffic management mode, following testpmd command is used;

$ ./testpmd -c c -n 4 --vdev
	'net_softnic0,hard_name=0000:06:00.1,soft_tm=on' -- -i
	--forward-mode=tm

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2017-10-12 01:52:48 +01:00
..
contributing eal: remove Xen dom0 support 2017-10-09 01:54:29 +02:00
cryptodevs doc: complete crypto sample command line 2017-07-28 18:47:17 +02:00
eventdevs doc: update DPAA2 eventdev extra path 2017-07-30 23:21:09 +02:00
faq doc: update FAQ with new testpmd default burst size 2017-08-06 12:34:07 +02:00
freebsd_gsg eal: allow user to override default mempool driver 2017-10-06 20:48:22 +02:00
howto doc: add how-to on packet capture framework 2017-08-04 01:10:29 +02:00
linux_gsg eal: remove Xen dom0 support 2017-10-09 01:54:29 +02:00
nics doc: add mrvl NIC guide 2017-10-12 01:36:58 +01:00
prog_guide doc: add GSO programmer's guide 2017-10-12 01:36:57 +01:00
rel_notes net/softnic: add softnic PMD 2017-10-12 01:52:38 +01:00
sample_app_ug doc: fix l2fwd-crypto sample code 2017-07-27 17:41:48 +02:00
testpmd_app_ug app/testpmd: add traffic management forwarding mode 2017-10-12 01:52:48 +01:00
tools doc: add how-to on packet capture framework 2017-08-04 01:10:29 +02:00
conf.py doc: import sphinx rtd theme when available 2017-07-10 00:46:38 +02:00
index.rst eal: remove Xen dom0 support 2017-10-09 01:54:29 +02:00