patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <luca.boccassi@gmail.com>
To: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk>
Cc: stable@dpdk.org, Stephen Hemminger <stephen@networkplumber.org>
Subject: Re: [PATCH 22.11] app/testpmd: stop forwarding in secondary process [ upstream commit f96273c8e9d39e472bb07acc05e493b1e712e51b ]
Date: Fri, 31 Oct 2025 13:46:02 +0000	[thread overview]
Message-ID: <CAMw=ZnQr3_ATfNHfUO3v7PYXd0HPBvFxRcc-oD7yQi9yPQz+4Q@mail.gmail.com> (raw)
In-Reply-To: <20251029113807.256638-1-14pwcse1224@uetpeshawar.edu.pk>

On Wed, 29 Oct 2025 at 11:38, Khadem Ullah
<14pwcse1224@uetpeshawar.edu.pk> wrote:
>
> When the secondary process testpmd application running any fwd_engine
> and after that primary has exited will cause a crash.
>
> This patch forces secondary process forwarding lcores
> in fwd_engine to stop before the primary process exits.
>
> Fixes: a550baf24af90f ("app/testpmd: support multi-process")
> Cc: stable@dpdk.org
>
> Signed-off-by: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> (cherry picked from commit f96273c8e9d39e472bb07acc05e493b1e712e51b)
> ---
>  app/test-pmd/testpmd.c | 103 +++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 99 insertions(+), 4 deletions(-)

Hi,

This fails to compile:

../app/test-pmd/testpmd.c:3728:8: error: return type defaults to ‘int’
[-Wimplicit-int]
 3728 | static RTE_ATOMIC(const char *) primary_name;

Please test patches before sending them for stable backports, as we
don't want to introduce regressions. Thanks.

      reply	other threads:[~2025-10-31 13:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-29 11:38 Khadem Ullah
2025-10-31 13:46 ` Luca Boccassi [this message]

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='CAMw=ZnQr3_ATfNHfUO3v7PYXd0HPBvFxRcc-oD7yQi9yPQz+4Q@mail.gmail.com' \
    --to=luca.boccassi@gmail.com \
    --cc=14pwcse1224@uetpeshawar.edu.pk \
    --cc=stable@dpdk.org \
    --cc=stephen@networkplumber.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).