compressdev: add flag to specify where processing is done
authorFiona Trahe <fiona.trahe@intel.com>
Thu, 17 Jan 2019 17:36:23 +0000 (17:36 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 22 Mar 2019 14:54:24 +0000 (15:54 +0100)
commit866bc6742c5478023219d5f795d44a0254a3ee88
treee1951c56f12e372b06a1b77b5d36135f60d023ea
parent2004a1475551bc3127e412e53f3151f1dee28431
compressdev: add flag to specify where processing is done

A new device feature flag, RTE_COMPDEV_FF_OP_DONE_IN_DEQUEUE
is added. A PMD should set this if the bulk of the
processing is done during the dequeue. It should leave it
cleared if the bulk of the processing is done during the
enqueue (default).
Applications can use this as a hint for tuning.

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Shally Verma <shallyv@marvell.com>
lib/librte_compressdev/rte_compressdev.c
lib/librte_compressdev/rte_compressdev.h