From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 78E8F440B4; Fri, 24 May 2024 11:43:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F98140271; Fri, 24 May 2024 11:43:44 +0200 (CEST) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by mails.dpdk.org (Postfix) with ESMTP id 44D42400D7 for ; Fri, 24 May 2024 11:43:43 +0200 (CEST) Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2e95a883101so7879261fa.3 for ; Fri, 24 May 2024 02:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716543823; x=1717148623; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Owb/8MbwEQCB/y04scbn7NePfzALfa//m5LKQsVwf/Y=; b=nb+GHwI5kXoZU6X/wod5z8Xfrk1UO4xoaIITMt/SrV7Q4uMoOJ/cyN0YBCXv3trm/o JMlDdLCld39IyJlobaTLXrb57U9cEcUtkMqq98ytXaGuU2psOOToWEpI96k1gev+Ebv6 9k7TBK8dbqjraUZCd0xgAZSPG1cnmmggs5cjCFrp1wGLxRrw92GhvaEgv83l9xrejyMH IObgmyL3lNekvrBCRWJYpWvLOeHp4ryX2qN3RMAtJm5azRieFmeYgs4Fatl/I/1Qdfyb Kfp7wIzTOmZg0qgkSxObtj0rzZltvDOwEbPTs82esCMcI6S5+0DpDB+ynSpDqawyN/Cq FLyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716543823; x=1717148623; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Owb/8MbwEQCB/y04scbn7NePfzALfa//m5LKQsVwf/Y=; b=KuUmpfoGzSb7+RUXtzVoI2MnatRGustRU31n2N4yZNB76yQoYeUJw5uOWtDLo6p7me b2J02WihbV+xKV/2MUQOAlSHWjPFiAITSeEwTk4BI5zQR9BMn2VIT1o0nWJX3+WkpAGu mAHA2UXErgcE/XtaiMtBOClJ4naEyDTkfd7EOp5MO/0vPt4xwbOkC3xqkH2RgMWaZvQX 8haZ5ZMuNnY6HwgWj3+59q8L5gdcdT6zWZB1xmvPEt7BMgHpciRj6GJxpBBUCE7Oenqd BYI9y+BEgwiKGsaosCvGYPi8uzCYRlO7F3n0LmDxd4/Fr7HjZgC2PgMnzz0MMEw4FJvd blgQ== X-Forwarded-Encrypted: i=1; AJvYcCVvtuoK8LwO6i9iQLkU62M6KznRsX5zz9xs1AG3ntKX8uIfS/CzRo4DsILO18zrofQQxkggwd9t7zFqKsg= X-Gm-Message-State: AOJu0YxAZ8VdOfqiiVT7qRXX23ACVmaF5LTp2ZGx81Oe9QeB/N7x22FR Y7aWbjkO5KXnrtKLyEy+iRgLAfj+lR9amlcz93Il16whoSRMngawPGVx7A5LBUWrnEfEIV7RNyx BkngejIYG8vq7TEZkt9Pyr6j+JK9Lkj7R/+bZ3DHQw8hev/LTT4DWndSDaEQ= X-Google-Smtp-Source: AGHT+IH8FHrFfureD1ANhyaLvfzOG2DImeoZmTrSMpY9x7YAMWIDtBFIHMEM6okADGBYMWVGTra8WRTBCkAVXUEh7Rc= X-Received: by 2002:a2e:86d6:0:b0:2e0:dc93:52ef with SMTP id 38308e7fff4ca-2e95b0c99dbmr12281621fa.26.1716543822714; Fri, 24 May 2024 02:43:42 -0700 (PDT) MIME-Version: 1.0 References: <20240422143102.251-1-zhangfei.gao@linaro.org> <20240422143102.251-2-zhangfei.gao@linaro.org> <20240523092047.79bb2262@hermes.local> In-Reply-To: From: Zhangfei Gao Date: Fri, 24 May 2024 17:43:31 +0800 Message-ID: Subject: Re: [PATCH 1/3] compress/uadk: Introduce UADK compression driver To: Konstantin Ananyev Cc: Stephen Hemminger , Akhil Goyal , Fan Zhang , Ashish Gupta , "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, 24 May 2024 at 00:30, Konstantin Ananyev wrote: > > > > > -----Original Message----- > > From: Stephen Hemminger > > Sent: Thursday, May 23, 2024 5:21 PM > > To: Zhangfei Gao > > Cc: Akhil Goyal ; Fan Zhang ; Ashish Gupta ; > > 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 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. Yes, good idea Thanks Konstantin