patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Rahul Bhansali <rbhansali@marvell.com>
To: Luca Boccassi <luca.boccassi@gmail.com>
Cc: "stable@dpdk.org" <stable@dpdk.org>
Subject: RE: [EXTERNAL] Re: [PATCH 22.11] net/cnxk: fix lock for security session ops
Date: Tue, 8 Jul 2025 06:01:40 +0000	[thread overview]
Message-ID: <CO6PR18MB3844BB9DB581F7FC6E52C309B84EA@CO6PR18MB3844.namprd18.prod.outlook.com> (raw)
In-Reply-To: <CAMw=ZnQ6o_G8iwnFAb3oD=rt-2B4MrXp0KAYXoGhQFctqFaRxQ@mail.gmail.com>



> -----Original Message-----
> From: Luca Boccassi <luca.boccassi@gmail.com>
> Sent: Friday, July 4, 2025 6:32 AM
> To: Rahul Bhansali <rbhansali@marvell.com>
> Cc: stable@dpdk.org
> Subject: [EXTERNAL] Re: [PATCH 22.11] net/cnxk: fix lock for security session
> ops
> 
> On Thu, 3 Jul 2025 at 12: 24, Rahul Bhansali <rbhansali@ marvell. com> wrote:
> > > [ upstream commit 9bebc33703df999a405ed7103dc45230d0f1fbda ] > >
> Add fixes to have lock on security session update, write and read to > prevent
> ZjQcmQRYFpfptBannerStart Prioritize security for external emails:
> Confirm sender and content safety before clicking links or opening
> attachments <https://us-phishalarm-
> ewt.proofpoint.com/EWT/v1/CRVmXkqW!uK3X-
> 9D8Q9iROC93VDO7ZZV175I0spRBIzgtaAMKCcgV14TBwRsdHtiQf9se748hO6
> Zmwbq8WUgLG4SNJCqYgfGLGBoJIe8NLMbE8-
> PbkLpwx0MhnTDuTO8ukI2X$>
> Report Suspicious
> 
> ZjQcmQRYFpfptBannerEnd
> On Thu, 3 Jul 2025 at 12:24, Rahul Bhansali <rbhansali@marvell.com> wrote:
> >
> > [ upstream commit 9bebc33703df999a405ed7103dc45230d0f1fbda ]
> >
> > Add fixes to have lock on security session update, write and read to
> > prevent corruption.
> >
> > Fixes: 8efa348e8160 ("net/cnxk: support custom SA index")
> >
> > Signed-off-by: Rahul Bhansali <rbhansali@marvell.com>
> > ---
> >  drivers/net/cnxk/cn10k_ethdev_sec.c | 107
> > +++++++++++++++++++++++-----
> >  1 file changed, 90 insertions(+), 17 deletions(-)
> 
> Thanks for the backport, but unfortunately it doesn't build, please double
> check it:
Ack. There was an API arg change, I missed it. I will send v2.
Thanks.
> 
> ../drivers/net/cnxk/cn10k_ethdev_sec.c: In function
> ‘rte_pmd_cnxk_hw_sa_read’:
> ../drivers/net/cnxk/cn10k_ethdev_sec.c:1013:16: error: ‘inb’
> undeclared (first use in this function); did you mean ‘int’?
>  1013 |         lock = inb ? &dev->inb.lock : &dev->outb.lock;
>       |                ^~~
>       |                int
> ../drivers/net/cnxk/cn10k_ethdev_sec.c:1013:16: note: each undeclared
> identifier is reported only once for each function it appears in
> ../drivers/net/cnxk/cn10k_ethdev_sec.c: In function
> ‘rte_pmd_cnxk_hw_sa_write’:
> ../drivers/net/cnxk/cn10k_ethdev_sec.c:1057:16: error: ‘inb’
> undeclared (first use in this function); did you mean ‘int’?
>  1057 |         lock = inb ? &dev->inb.lock : &dev->outb.lock;
>       |                ^~~
>       |                int

  reply	other threads:[~2025-07-08  6:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-03 11:23 Rahul Bhansali
2025-07-04  1:02 ` Luca Boccassi
2025-07-08  6:01   ` Rahul Bhansali [this message]
2025-07-08  7:15 ` [PATCH 22.11 v2] " Rahul Bhansali

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=CO6PR18MB3844BB9DB581F7FC6E52C309B84EA@CO6PR18MB3844.namprd18.prod.outlook.com \
    --to=rbhansali@marvell.com \
    --cc=luca.boccassi@gmail.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).