From: Bruce Richardson <bruce.richardson@intel.com>
To: "Morten Brørup" <mb@smartsharesystems.com>
Cc: Gregory Etelson <getelson@nvidia.com>, <alialnu@nvidia.com>,
<dev@dpdk.org>, <mkashani@nvidia.com>, <rasland@nvidia.com>,
"Stephen Hemminger" <stephen@networkplumber.org>
Subject: Re: [PATCH v2] cmdline: increase input buffer size
Date: Thu, 2 May 2024 08:27:26 +0100 [thread overview]
Message-ID: <ZjNAXthPfrq4Jbn1@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F412@smartserver.smartshare.dk>
On Wed, May 01, 2024 at 08:26:54PM +0200, Morten Brørup wrote:
> +CC: Bruce, Stephen
>
> > From: Gregory Etelson [mailto:getelson@nvidia.com]
> > Sent: Wednesday, 1 May 2024 19.18
> >
> > DPDK defines cmdline input buffer size to 512 characters.
> > That buffer size can be too small for long application input.
> > For example, the following flow template API testpmd command is 444
> > bytes long:
> > ```
> > flow queue 0 create 0 template_table 1000 \
> > pattern_template 0 actions_template 0 postpone no \
> > pattern eth / ipv4 / udp / end \
> > actions modify_field op set dst_type tag dst_level 0 dst_offset 0 \
> > src_type value src_value 0x31 width 32 / \
> > modify_field op set dst_type ipv4_src src_type value \
> > src_value 10101010 width 32 / modify_field op add dst_type \
> > ipv4_ttl dst_level 0 dst_offset 0 src_type value \
> > src_value ff width 8 / count / jump group 100 / end
> > ```
> >
> > The patch increases cmdline input buffer size to the LINE_MAX value.
>
> + ... , which typically is 2048.
>
> >
> > Signed-off-by: Gregory Etelson <getelson@nvidia.com>
> > ---
>
> With or without suggested patch description change,
> Reviewed-by: Morten Brørup <mb@smartsharesystems.com>
>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
next prev parent reply other threads:[~2024-05-02 7:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-01 5:26 [PATCH] cmdline: configure " Gregory Etelson
2024-05-01 9:08 ` Bruce Richardson
2024-05-01 10:06 ` Etelson, Gregory
2024-05-01 14:42 ` Stephen Hemminger
2024-05-01 15:56 ` Etelson, Gregory
2024-05-01 16:30 ` Bruce Richardson
2024-05-01 17:18 ` [PATCH v2] cmdline: increase " Gregory Etelson
2024-05-01 18:26 ` Morten Brørup
2024-05-02 7:27 ` Bruce Richardson [this message]
2024-05-03 4:27 ` [PATCH v3] " Gregory Etelson
2024-05-15 8:41 ` Gregory Etelson
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=ZjNAXthPfrq4Jbn1@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=alialnu@nvidia.com \
--cc=dev@dpdk.org \
--cc=getelson@nvidia.com \
--cc=mb@smartsharesystems.com \
--cc=mkashani@nvidia.com \
--cc=rasland@nvidia.com \
--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).