Hi Lee, > -----Original Message----- > From: Daly, Lee > Sent: Tuesday, July 10, 2018 1:44 PM > To: De Lara Guarch, Pablo <pablo.de.lara.gua...@intel.com> > Cc: dev@dpdk.org; Daly, Lee <lee.d...@intel.com>; sta...@dpdk.org > Subject: [PATCH] compress/isal: fixes ISA-L PMD used with offsets in mbuf > > This patch allows the ISA-L compression PMD, to be used with offsets in the > mbuf. > Offsets can now be used for source and destination buffers, during compression > or decompression. > > Fixes: dc49e6a "compress/isal: add ISA-L compression functionality" > Fixes: 7bf4f06 "compress/isal: add ISA-L decomp functionality" > Cc: sta...@dpdk.org > > Signed-off-by: Lee Daly <lee.d...@intel.com> > --- > drivers/compress/isal/isal_compress_pmd.c | 60 ++++++++++++++++++++++----
... > + /* Point decompression state to output buffer */ > qp->state->avail_out = op->m_dst->data_len; Actually, I think "avail_out = data_len - dst.offset"