[dpdk-dev] [PATCH] compress/isal: fixes ISA-L PMD used with offsets in mbuf

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Wed Jul 11 15:09:19 CEST 2018


Hi Lee,

> -----Original Message-----
> From: Daly, Lee
> Sent: Tuesday, July 10, 2018 1:44 PM
> To: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Cc: dev at dpdk.org; Daly, Lee <lee.daly at intel.com>; stable at 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: stable at dpdk.org
> 
> Signed-off-by: Lee Daly <lee.daly at 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"




More information about the dev mailing list