[dpdk-dev] [PATCH v1 3/6] compress/zlib: add xform and stream create support

Daly, Lee lee.daly at intel.com
Fri Jun 15 13:09:08 CEST 2018


Comment Inline.

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shally Verma
> Sent: Tuesday, May 15, 2018 11:32 AM
> To: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Cc: Trahe, Fiona <fiona.trahe at intel.com>; dev at dpdk.org;
> pathreay at caviumnetworks.com; Sunila Sahu
> <sunila.sahu at caviumnetworks.com>; Ashish Gupta
> <ashish.gupta at caviumnetworks.com>
> Subject: [dpdk-dev] [PATCH v1 3/6] compress/zlib: add xform and stream
> create support
> 
> Implement private xform and stream create ops
> 

<...>
>  struct rte_compressdev_ops zlib_pmd_ops = {
>  		.dev_configure		= zlib_pmd_config,
>  		.dev_start		= zlib_pmd_start,
> @@ -228,11 +304,11 @@ struct rte_compressdev_ops zlib_pmd_ops = {
>  		.queue_pair_setup	= zlib_pmd_qp_setup,
>  		.queue_pair_release	= zlib_pmd_qp_release,
> 
> -		.private_xform_create	= NULL,
> -		.private_xform_free	= NULL,
> +		.private_xform_create	= zlib_pmd_private_xform_create,
> +		.private_xform_free		=
> zlib_pmd_private_xform_free,
[Lee] Quick fix of formatting here please.

> 
> -		.stream_create	= NULL,
> -		.stream_free	= NULL
> +		.stream_create	= zlib_pmd_stream_create,
> +		.stream_free	= zlib_pmd_stream_free
>  };
> 
>  struct rte_compressdev_ops *rte_zlib_pmd_ops = &zlib_pmd_ops;
> --
> 2.9.5
Thanks,
Lee.



More information about the dev mailing list