DPDK patches and discussions
 help / color / mirror / Atom feed
From: Konstantin Ananyev <konstantin.ananyev@huawei.com>
To: Stephen Hemminger <stephen@networkplumber.org>,
	Zhangfei Gao <zhangfei.gao@linaro.org>
Cc: Akhil Goyal <gakhil@marvell.com>,
	Fan Zhang <fanzhang.oss@gmail.com>,
	Ashish Gupta <ashish.gupta@marvell.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: RE: [PATCH 1/3] compress/uadk: Introduce UADK compression driver
Date: Thu, 23 May 2024 16:30:30 +0000	[thread overview]
Message-ID: <d6404d49b88245e9ba19db8e7c8c6103@huawei.com> (raw)
In-Reply-To: <20240523092047.79bb2262@hermes.local>



> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Thursday, May 23, 2024 5:21 PM
> To: Zhangfei Gao <zhangfei.gao@linaro.org>
> Cc: Akhil Goyal <gakhil@marvell.com>; Fan Zhang <fanzhang.oss@gmail.com>; Ashish Gupta <ashish.gupta@marvell.com>;
> dev@dpdk.org
> Subject: Re: [PATCH 1/3] compress/uadk: Introduce UADK compression driver
> 
> On Mon, 22 Apr 2024 14:31:00 +0000
> Zhangfei Gao <zhangfei.gao@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

Or even 
static struct rte_compressdev_ops uadk_compress_pmd_ops;
should do the same.
 


  reply	other threads:[~2024-05-23 16:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-22 14:30 [PATCH 0/3] " Zhangfei Gao
2024-04-22 14:31 ` [PATCH 1/3] compress/uadk: " Zhangfei Gao
2024-05-23 16:20   ` Stephen Hemminger
2024-05-23 16:30     ` Konstantin Ananyev [this message]
2024-05-23 16:42       ` Tyler Retzlaff
2024-05-24  9:43       ` Zhangfei Gao
2024-04-22 14:31 ` [PATCH 2/3] compress/uadk: support basic operations Zhangfei Gao
2024-05-23 15:38   ` [EXTERNAL] " Akhil Goyal
2024-05-24 10:01     ` Zhangfei Gao
2024-05-24 10:20       ` Akhil Goyal
2024-05-24 14:45         ` Zhangfei Gao
2024-05-24 14:54           ` Akhil Goyal
2024-04-22 14:31 ` [PATCH 3/3] compress/uadk: support burst enqueue/dequeue Zhangfei Gao
2024-05-11  3:05 ` [PATCH 0/3] Introduce UADK compression driver Zhangfei Gao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d6404d49b88245e9ba19db8e7c8c6103@huawei.com \
    --to=konstantin.ananyev@huawei.com \
    --cc=ashish.gupta@marvell.com \
    --cc=dev@dpdk.org \
    --cc=fanzhang.oss@gmail.com \
    --cc=gakhil@marvell.com \
    --cc=stephen@networkplumber.org \
    --cc=zhangfei.gao@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).