compress/isal: add private xform related ops
authorLee Daly <lee.daly@intel.com>
Wed, 9 May 2018 16:14:29 +0000 (17:14 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 10 May 2018 16:46:20 +0000 (17:46 +0100)
commitc720cd2b35faedbed17df151b3cb1fcf48e1a0bf
treeb3b089de4fa5b5f5aa2dc788f7558cf5d5d193c7
parent53a9baa98c36c3e532a7f4d83686361edb8a1acc
compress/isal: add private xform related ops

This patch  creates, configures and frees the private xform, taking the
applications xform and using it to populate the PMDs own private xform
with the information which will be required for the compress/decompress
functions. This information includes the level, algorithm,
type of huffman code, type of checksum etc.

Signed-off-by: Lee Daly <lee.daly@intel.com>
Reviewed-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/compress/isal/isal_compress_pmd.c
drivers/compress/isal/isal_compress_pmd_ops.c
drivers/compress/isal/isal_compress_pmd_private.h