[PATCH 1/3] compress/uadk: Introduce UADK compression driver

Stephen Hemminger stephen at networkplumber.org
Thu May 23 18:20:47 CEST 2024


On Mon, 22 Apr 2024 14:31:00 +0000
Zhangfei Gao <zhangfei.gao at linaro.org> wrote:

> +static struct rte_compressdev_ops uadk_compress_pmd_ops = {
> +		.dev_configure		= NULL,
> +		.dev_start		= NULL,
> +		.dev_stop		= NULL,
> +		.dev_close		= NULL,
> +		.stats_get		= NULL,
> +		.stats_reset		= NULL,
> +		.dev_infos_get		= NULL,
> +		.queue_pair_setup	= NULL,
> +		.queue_pair_release	= NULL,
> +		.private_xform_create	= NULL,
> +		.private_xform_free	= NULL,
> +		.stream_create		= NULL,
> +		.stream_free		= NULL,
> +};

If you just used { } then all the elements are initialized to NULL anyway


More information about the dev mailing list