DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinj@marvell.com>
To: Sunil Kumar Kori <skori@marvell.com>, Liron Himi <lironh@marvell.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"alialnu@nvidia.com" <alialnu@nvidia.com>,
	 Sunil Kumar Kori <skori@marvell.com>,
	"stable@dpdk.org" <stable@dpdk.org>
Subject: RE: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04
Date: Mon, 18 Nov 2024 08:40:40 +0000	[thread overview]
Message-ID: <BY3PR18MB4785E95C510905DFBECB0315C8272@BY3PR18MB4785.namprd18.prod.outlook.com> (raw)
In-Reply-To: <20241114073849.18752-2-skori@marvell.com>



> -----Original Message-----
> From: skori@marvell.com <skori@marvell.com>
> Sent: Thursday, November 14, 2024 1:08 PM
> To: Liron Himi <lironh@marvell.com>; Jerin Jacob <jerinj@marvell.com>
> Cc: dev@dpdk.org; alialnu@nvidia.com; Sunil Kumar Kori
> <skori@marvell.com>; stable@dpdk.org
> Subject: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04
> 
> From: Sunil Kumar Kori <skori@marvell.com>
> 
> Bugzilla ID: 1513
> Fixes: 72c00ae9dba7 ("regex/cn9k: use cnxk infrastructure")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
> ---
>  drivers/regex/cn9k/cn9k_regexdev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/regex/cn9k/cn9k_regexdev.c
> b/drivers/regex/cn9k/cn9k_regexdev.c
> index aa809ab5bf..e635980183 100644
> --- a/drivers/regex/cn9k/cn9k_regexdev.c
> +++ b/drivers/regex/cn9k/cn9k_regexdev.c
> @@ -271,7 +271,7 @@ static inline int
>  ree_enqueue(struct roc_ree_qp *qp, struct rte_regex_ops *op,
>  		 struct roc_ree_pending_queue *pend_q)  {
> -	union roc_ree_inst inst;
> +	union roc_ree_inst inst = {0};

This changes are in fastpath and it is costly. Please fix with other means or suppress the warning if it not relevant.
I skipped this patch for the merged and 1/3, 3/3 patches are  pplied to dpdk-next-net-mrvl/for-main. Thanks

>  	union ree_res *res;
>  	uint32_t offset;
> 
> --
> 2.43.0


  reply	other threads:[~2024-11-18  8:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14  7:38 [PATCH 1/3] common/cnxk: " skori
2024-11-14  7:38 ` [PATCH 2/3] regex/cn9k: " skori
2024-11-18  8:40   ` Jerin Jacob [this message]
2024-11-18  8:52     ` Sunil Kumar Kori
2024-11-14  7:38 ` [PATCH 3/3] net/cnxk: " skori

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=BY3PR18MB4785E95C510905DFBECB0315C8272@BY3PR18MB4785.namprd18.prod.outlook.com \
    --to=jerinj@marvell.com \
    --cc=alialnu@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=lironh@marvell.com \
    --cc=skori@marvell.com \
    --cc=stable@dpdk.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).