Hi Lee, > -----Original Message----- > From: Daly, Lee > Sent: Tuesday, July 10, 2018 1:44 PM > To: De Lara Guarch, Pablo <[email protected]> > Cc: [email protected]; Daly, Lee <[email protected]>; [email protected] > 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: [email protected] > > Signed-off-by: Lee Daly <[email protected]> > --- > 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"

