From: "Nélio Laranjeiro" <nelio.laranjeiro@6wind.com>
To: John McNamara <john.mcnamara@intel.com>,
Olivier Matz <olivier.matz@6wind.com>,
Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] cmdline: increase commandline buffer size to 512
Date: Thu, 5 Nov 2015 17:50:44 +0100 [thread overview]
Message-ID: <20151105165044.GA18667@autoinstall.dev.6wind.com> (raw)
In-Reply-To: <1446717516-17692-1-git-send-email-john.mcnamara@intel.com>
On Thu, Nov 05, 2015 at 09:58:36AM +0000, John McNamara wrote:
> Increase commandline buffer size to 512 to allow for longer
> commandlines required by testpmd when dealing with flow
> director and IPv6 addresses.
>
> Signed-off-by: John McNamara <john.mcnamara@intel.com>
> ---
> lib/librte_cmdline/cmdline_rdline.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/librte_cmdline/cmdline_rdline.h b/lib/librte_cmdline/cmdline_rdline.h
> index b9aad9b..72e2dad 100644
> --- a/lib/librte_cmdline/cmdline_rdline.h
> +++ b/lib/librte_cmdline/cmdline_rdline.h
> @@ -93,7 +93,7 @@ extern "C" {
> #endif
>
> /* configuration */
> -#define RDLINE_BUF_SIZE 256
> +#define RDLINE_BUF_SIZE 512
> #define RDLINE_PROMPT_SIZE 32
> #define RDLINE_VT100_BUF_SIZE 8
> #define RDLINE_HISTORY_BUF_SIZE BUFSIZ
> --
> 1.8.1.4
>
I have faced the same issue. For some commands this value is still too
low. For example, RETA update can not be used, the command line limits
he configuration to 34 entries.
See http://dpdk.org/ml/archives/dev/2015-October/024681.html
and particularly
http://dpdk.org/ml/archives/dev/2015-October/024682.html
It was too late to announce an ABI change so we left out the cmdline
size update.
Olivier, Thomas, what do you think about this? It seems this is really
blocking.
--
Nélio Laranjeiro
6WIND
next prev parent reply other threads:[~2015-11-05 16:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-05 9:58 John McNamara
2015-11-05 16:50 ` Nélio Laranjeiro [this message]
2015-11-09 11:45 ` Mcnamara, John
2015-11-09 15:54 ` Nélio Laranjeiro
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=20151105165044.GA18667@autoinstall.dev.6wind.com \
--to=nelio.laranjeiro@6wind.com \
--cc=dev@dpdk.org \
--cc=john.mcnamara@intel.com \
--cc=olivier.matz@6wind.com \
--cc=thomas.monjalon@6wind.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).