Re: [PATCH v1 1/1] app/testpmd: add sleep command

2025-05-06 Thread Burakov, Anatoly
On 5/2/2025 5:42 PM, Stephen Hemminger wrote: On Fri, 2 May 2025 13:27:29 +0100 Anatoly Burakov wrote: @@ -13701,6 +13735,7 @@ static cmdline_parse_ctx_t builtin_ctx[] = { &cmd_help_brief, &cmd_help_long, &cmd_quit, + &cmd_sleep, &cmd_load_from_file,

Re: [PATCH v1 1/1] app/testpmd: add sleep command

2025-05-02 Thread Stephen Hemminger
On Fri, 2 May 2025 13:27:29 +0100 Anatoly Burakov wrote: > @@ -13701,6 +13735,7 @@ static cmdline_parse_ctx_t builtin_ctx[] = { > &cmd_help_brief, > &cmd_help_long, > &cmd_quit, > + &cmd_sleep, > &cmd_load_from_file, > &cmd_showport, > &cmd_showqueue, > --

RE: [PATCH v1 1/1] app/testpmd: add sleep command

2025-05-02 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Friday, 2 May 2025 16.44 > > On Fri, May 02, 2025 at 04:35:08PM +0200, Burakov, Anatoly wrote: > > On 5/2/2025 2:37 PM, Bruce Richardson wrote: > > > On Fri, May 02, 2025 at 01:27:29PM +0100, Anatoly Burakov wrote: > > > > Test-p

Re: [PATCH v1 1/1] app/testpmd: add sleep command

2025-05-02 Thread Bruce Richardson
On Fri, May 02, 2025 at 04:35:08PM +0200, Burakov, Anatoly wrote: > On 5/2/2025 2:37 PM, Bruce Richardson wrote: > > On Fri, May 02, 2025 at 01:27:29PM +0100, Anatoly Burakov wrote: > > > Test-pmd already has a way to run a list of commands from file, but there > > > is no way to pause execution fo

Re: [PATCH v1 1/1] app/testpmd: add sleep command

2025-05-02 Thread Burakov, Anatoly
On 5/2/2025 2:37 PM, Bruce Richardson wrote: On Fri, May 02, 2025 at 01:27:29PM +0100, Anatoly Burakov wrote: Test-pmd already has a way to run a list of commands from file, but there is no way to pause execution for a specified amount of time between two commands. This may be necessary for simp

Re: [PATCH v1 1/1] app/testpmd: add sleep command

2025-05-02 Thread Bruce Richardson
On Fri, May 02, 2025 at 01:27:29PM +0100, Anatoly Burakov wrote: > Test-pmd already has a way to run a list of commands from file, but there > is no way to pause execution for a specified amount of time between two > commands. This may be necessary for simple automation, particularly for > waiting

[PATCH v1 1/1] app/testpmd: add sleep command

2025-05-02 Thread Anatoly Burakov
Test-pmd already has a way to run a list of commands from file, but there is no way to pause execution for a specified amount of time between two commands. This may be necessary for simple automation, particularly for waiting on some asynchronous operation such as link status update. Add a simple