app/testpmd: add forwarding engine for shared Rx queue
authorXueming Li <xuemingl@nvidia.com>
Thu, 21 Oct 2021 10:41:42 +0000 (18:41 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 21 Oct 2021 22:09:19 +0000 (00:09 +0200)
commit5984037501c144ee2535ed57e27029554aa97dd7
tree25a73584a419e8a09f18236ade1394f65e7f3c39
parent65744833651199c3bb3b996c6f0f9fe87b42c770
app/testpmd: add forwarding engine for shared Rx queue

To support shared Rx queue, this patch introduces dedicate forwarding
engine. The engine groups received packets by mbuf->port into sub-group,
updates stream statistics and simply frees packets.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
app/test-pmd/meson.build
app/test-pmd/shared_rxq_fwd.c [new file with mode: 0644]
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
doc/guides/testpmd_app_ug/run_app.rst
doc/guides/testpmd_app_ug/testpmd_funcs.rst