examples/distributor: tweak for performance
authorDavid Hunt <david.hunt@intel.com>
Mon, 20 Mar 2017 10:08:38 +0000 (10:08 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 29 Mar 2017 14:46:57 +0000 (16:46 +0200)
commitfce56395a87dac1f30abcea5569987265f780a00
tree83c377bdb97618ecf62e4f83ec38777cd668d9b7
parent4a7f40c0ff9aaca071e8817bd6c3d880932cb0ee
examples/distributor: tweak for performance

This patch tunes Rx, Tx, and rte_distributor_process() burst sizes to
maximize performance.
It also addresses some checkpatch issues.
The result is approximately 10% performance increase.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
examples/distributor/main.c