compressdev: clarify when private xform can be cleared
authorFiona Trahe <fiona.trahe@intel.com>
Tue, 22 May 2018 10:33:30 +0000 (11:33 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 22 May 2018 14:36:12 +0000 (16:36 +0200)
commit7385d1c4b4bfdd1f276f088d4b40f2aee4f8d042
treecef022d36c94b61444527bf5d29ab051471ac47c
parentcb26360ec127331f0b0f914335526a14285f8874
compressdev: clarify when private xform can be cleared

As the private_xform data can be shared by many operations
and across queue_pairs, it would be performance impacting
for PMDs to track inflights associated with one. It makes
more sense to push the responsibility to the application to
keep track of its usage and only delete the private_xform when
there are no more ops using it.

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_compressdev/rte_compressdev.h