patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinjacobk@gmail.com>
To: Pavan Nikhilesh <pbhagavatula@marvell.com>
Cc: Marko Kovacevic <marko.kovacevic@intel.com>,
	Ori Kam <orika@mellanox.com>,
	 Bruce Richardson <bruce.richardson@intel.com>,
	Radu Nicolau <radu.nicolau@intel.com>,
	 Akhil Goyal <akhil.goyal@nxp.com>,
	Tomasz Kantecki <tomasz.kantecki@intel.com>,
	Sunil Kumar Kori <skori@marvell.com>, dpdk-dev <dev@dpdk.org>,
	dpdk stable <stable@dpdk.org>
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] l2fwd-event: fix lcore allocation in poll mode
Date: Sat, 15 Feb 2020 13:38:08 +0530	[thread overview]
Message-ID: <CALBAE1OpD-CT0kQe+_133QPzPPDG5Nc7t8ONHarcdd4=tJaC6g@mail.gmail.com> (raw)
In-Reply-To: <20200203044619.3944-1-pbhagavatula@marvell.com>

On Mon, Feb 3, 2020 at 10:16 AM <pbhagavatula@marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
>
> Skip master lcore when assigning cores to rx_queues as it is only used
> to print stats.
>
> Fixes: 4ff457986f76 ("examples/l2fwd-event: add default poll mode routines")
> Cc: stable@dpdk.org
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>

Applied to dpdk-next-eventdev/master. Thanks.



> ---
>  examples/l2fwd-event/l2fwd_poll.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/examples/l2fwd-event/l2fwd_poll.c b/examples/l2fwd-event/l2fwd_poll.c
> index a3a383558..2033c65e5 100644
> --- a/examples/l2fwd-event/l2fwd_poll.c
> +++ b/examples/l2fwd-event/l2fwd_poll.c
> @@ -116,6 +116,7 @@ l2fwd_poll_lcore_config(struct l2fwd_resources *rsrc)
>
>                 /* get the lcore_id for this port */
>                 while (rte_lcore_is_enabled(rx_lcore_id) == 0 ||
> +                      rx_lcore_id == rte_get_master_lcore() ||
>                        poll_rsrc->lcore_queue_conf[rx_lcore_id].n_rx_port ==
>                        rsrc->rx_queue_per_lcore) {
>                         rx_lcore_id++;
> --
> 2.17.1
>

      reply	other threads:[~2020-02-15  8:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-03  4:46 pbhagavatula
2020-02-15  8:08 ` Jerin Jacob [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='CALBAE1OpD-CT0kQe+_133QPzPPDG5Nc7t8ONHarcdd4=tJaC6g@mail.gmail.com' \
    --to=jerinjacobk@gmail.com \
    --cc=akhil.goyal@nxp.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=marko.kovacevic@intel.com \
    --cc=orika@mellanox.com \
    --cc=pbhagavatula@marvell.com \
    --cc=radu.nicolau@intel.com \
    --cc=skori@marvell.com \
    --cc=stable@dpdk.org \
    --cc=tomasz.kantecki@intel.com \
    /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).