DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Fengnan Chang <changfengnan@bytedance.com>
Cc: anatoly.burakov@intel.com, dev@dpdk.org
Subject: Re: [PATCH v2] eal: fix prompt info when remap_segment failed
Date: Wed, 21 Jun 2023 10:36:15 +0200	[thread overview]
Message-ID: <CAJFAV8x-F-qFVXipk5CJCL2e5PFn4yKXSdTQ7G1kFtOZFo4ueA@mail.gmail.com> (raw)
In-Reply-To: <20230615070744.93340-1-changfengnan@bytedance.com>

On Thu, Jun 15, 2023 at 9:08 AM Fengnan Chang
<changfengnan@bytedance.com> wrote:
>
> When there is not enough space to memsegs, we should prompt
> which configuration should be modified instead of printing
> some numbers.
>
> Signed-off-by: Fengnan Chang <changfengnan@bytedance.com>

This lgtm, but I have a question:

$ git grep 'RTE_STR(RTE_MAX'
app/test/test_eal_flags.c:                              "-l",
RTE_STR(RTE_MAX_LCORE) };
app/test/test_eal_flags.c:                              "-l",
"1-"RTE_STR(RTE_MAX_LCORE) };
lib/eal/common/eal_common_dynmem.c:
RTE_STR(RTE_MAX_MEMSEG_LISTS));
lib/eal/common/eal_common_dynmem.c:
 RTE_STR(RTE_MAX_MEMSEG_LISTS));
lib/eal/freebsd/eal_memory.c:
RTE_STR(RTE_MAX_MEMSEG_LISTS));
lib/eal/linux/eal_memory.c:
RTE_STR(RTE_MAX_MEMSEG_LISTS));
lib/eal/linux/eal_memory.c:
 RTE_STR(RTE_MAX_MEMSEG_LISTS));

The first two hits are false positives, but the mentions of
RTE_MAX_MEMSEG_LISTS are all in log messages.
Could you have a look and confirm it is related to your change?


-- 
David Marchand


      reply	other threads:[~2023-06-21  8:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-15  7:07 Fengnan Chang
2023-06-21  8:36 ` David Marchand [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=CAJFAV8x-F-qFVXipk5CJCL2e5PFn4yKXSdTQ7G1kFtOZFo4ueA@mail.gmail.com \
    --to=david.marchand@redhat.com \
    --cc=anatoly.burakov@intel.com \
    --cc=changfengnan@bytedance.com \
    --cc=dev@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).