Hi Pablo,
> -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Wednesday, June 27, 2018 6:51 AM > To: Trahe, Fiona <[email protected]>; > [email protected]; Daly, Lee <[email protected]> > Cc: [email protected]; De Lara Guarch, Pablo <[email protected]> > Subject: [PATCH 2/2] compressdev: add huffman encoding flags > > Added Huffman fixed and dynamic encoding feature flags, so an application > can query if a device supports these two types, when performing DEFLATE > compression. > > Signed-off-by: Pablo de Lara <[email protected]> > --- > drivers/compress/isal/isal_compress_pmd_ops.c | 4 +++- > lib/librte_compressdev/rte_comp.c | 4 ++++ > lib/librte_compressdev/rte_comp.h | 4 ++++ > 3 files changed, 11 insertions(+), 1 deletion(-) > > diff --git a/drivers/compress/isal/isal_compress_pmd_ops.c > b/drivers/compress/isal/isal_compress_pmd_ops.c > index 970a0413b..585f22802 100644 > --- a/drivers/compress/isal/isal_compress_pmd_ops.c > +++ b/drivers/compress/isal/isal_compress_pmd_ops.c > @@ -12,7 +12,9 @@ > static const struct rte_compressdev_capabilities isal_pmd_capabilities[] = { > { > .algo = RTE_COMP_ALGO_DEFLATE, > - .comp_feature_flags = > RTE_COMP_FF_SHAREABLE_PRIV_XFORM, > + .comp_feature_flags = > RTE_COMP_FF_SHAREABLE_PRIV_XFORM | > + RTE_COMP_FF_HUFFMAN_FIXED | > + > RTE_COMP_FF_HUFFMAN_DYNAMIC, > .window_size = { > .min = 15, > .max = 15, Acked-by: Lee Daly <[email protected]> Thanks, Lee.

