examples/ioat: use always same lcore for enqueue/dequeue
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Tue, 26 Oct 2021 13:14:25 +0000 (13:14 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 27 Oct 2021 14:53:39 +0000 (16:53 +0200)
commit81ce0906ea2a8c496dcad30c87aecdd8db95e0ea
tree60c21bf0d7f73ed7bdb573a773326983f8fbc247
parentb66412f24f17fcba5a248888bf4b3c1f5d6880de
examples/ioat: use always same lcore for enqueue/dequeue

Few changes in ioat sample behaviour:
- Always do SW copy for packet metadata (mbuf fields)
- Always use same lcore for both DMA requests enqueue and dequeue

Main reasons for that:
a) it is safer, as idxd PMD doesn't support MT safe enqueue/dequeue (yet).
b) sort of more apples to apples comparison with sw copy.
c) from my testing things are faster that way.

Documentation updates to reflect these changes are also included.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
doc/guides/sample_app_ug/ioat.rst
examples/ioat/ioatfwd.c