netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next 0/1] tc: fix typo in netem's usage string
@ 2023-08-30 15:05 francois.michel
  2023-08-30 15:05 ` [PATCH iproute2-next 1/1] " francois.michel
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: francois.michel @ 2023-08-30 15:05 UTC (permalink / raw)
  Cc: netdev, francois.michel, stephen, petrm, dsahern

From: François Michel <francois.michel@uclouvain.be>

Fixes a misplaced newline in netem's usage string.

François Michel (1):
  tc: fix typo in netem's usage string

 tc/q_netem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: a79e2b2e546584b2879cb9fedd42b7fec5cc8c61
-- 
2.41.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH iproute2-next 1/1] tc: fix typo in netem's usage string
  2023-08-30 15:05 [PATCH iproute2-next 0/1] tc: fix typo in netem's usage string francois.michel
@ 2023-08-30 15:05 ` francois.michel
  2023-08-30 15:32   ` Petr Machata
  2023-08-30 19:00 ` [PATCH iproute2-next 0/1] " David Ahern
  2023-08-30 19:10 ` patchwork-bot+netdevbpf
  2 siblings, 1 reply; 8+ messages in thread
From: francois.michel @ 2023-08-30 15:05 UTC (permalink / raw)
  Cc: netdev, francois.michel, stephen, petrm, dsahern

From: François Michel <francois.michel@uclouvain.be>

Signed-off-by: François Michel <francois.michel@uclouvain.be>
---
 tc/q_netem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tc/q_netem.c b/tc/q_netem.c
index febddd49..3be647ff 100644
--- a/tc/q_netem.c
+++ b/tc/q_netem.c
@@ -31,7 +31,7 @@ static void explain(void)
 		"                 [ loss random PERCENT [CORRELATION]]\n"
 		"                 [ loss state P13 [P31 [P32 [P23 P14]]]\n"
 		"                 [ loss gemodel PERCENT [R [1-H [1-K]]]\n"
-		"                 [ seed SEED \n]"
+		"                 [ seed SEED ]\n"
 		"                 [ ecn ]\n"
 		"                 [ reorder PERCENT [CORRELATION] [ gap DISTANCE ]]\n"
 		"                 [ rate RATE [PACKETOVERHEAD] [CELLSIZE] [CELLOVERHEAD]]\n"
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH iproute2-next 1/1] tc: fix typo in netem's usage string
  2023-08-30 15:05 ` [PATCH iproute2-next 1/1] " francois.michel
@ 2023-08-30 15:32   ` Petr Machata
  2023-08-30 19:00     ` David Ahern
  2023-08-31  9:05     ` Donald Hunter
  0 siblings, 2 replies; 8+ messages in thread
From: Petr Machata @ 2023-08-30 15:32 UTC (permalink / raw)
  To: francois.michel; +Cc: netdev, stephen, petrm, dsahern


francois.michel@uclouvain.be writes:

> From: François Michel <francois.michel@uclouvain.be>
>
> Signed-off-by: François Michel <francois.michel@uclouvain.be>

Reviewed-by: Petr Machata <petrm@nvidia.com>

That said...

>  		"                 [ loss state P13 [P31 [P32 [P23 P14]]]\n"
>  		"                 [ loss gemodel PERCENT [R [1-H [1-K]]]\n"

... and sorry for piling on like this, but since we are in the domain of
fixing netem typos, if you would also fix the missing brackets on these
two lines, that would be awesome.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH iproute2-next 1/1] tc: fix typo in netem's usage string
  2023-08-30 15:32   ` Petr Machata
@ 2023-08-30 19:00     ` David Ahern
  2023-08-31  9:05     ` Donald Hunter
  1 sibling, 0 replies; 8+ messages in thread
From: David Ahern @ 2023-08-30 19:00 UTC (permalink / raw)
  To: Petr Machata, francois.michel; +Cc: netdev, stephen

On 8/30/23 9:32 AM, Petr Machata wrote:
> ... and sorry for piling on like this, but since we are in the domain of
> fixing netem typos, if you would also fix the missing brackets on these
> two lines, that would be awesome.

yes, please and a separate patch.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH iproute2-next 0/1] tc: fix typo in netem's usage string
  2023-08-30 15:05 [PATCH iproute2-next 0/1] tc: fix typo in netem's usage string francois.michel
  2023-08-30 15:05 ` [PATCH iproute2-next 1/1] " francois.michel
@ 2023-08-30 19:00 ` David Ahern
  2023-08-30 19:10 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 8+ messages in thread
From: David Ahern @ 2023-08-30 19:00 UTC (permalink / raw)
  To: francois.michel; +Cc: netdev, stephen, petrm, dsahern

On 8/30/23 9:05 AM, francois.michel@uclouvain.be wrote:
> From: François Michel <francois.michel@uclouvain.be>
> 
> Fixes a misplaced newline in netem's usage string.
> 
> François Michel (1):
>   tc: fix typo in netem's usage string
> 
>  tc/q_netem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> base-commit: a79e2b2e546584b2879cb9fedd42b7fec5cc8c61

single patch PRs do not need a cover letter. I have fixed up this one;
in the future just send the 1 patch with a proper description.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH iproute2-next 0/1] tc: fix typo in netem's usage string
  2023-08-30 15:05 [PATCH iproute2-next 0/1] tc: fix typo in netem's usage string francois.michel
  2023-08-30 15:05 ` [PATCH iproute2-next 1/1] " francois.michel
  2023-08-30 19:00 ` [PATCH iproute2-next 0/1] " David Ahern
@ 2023-08-30 19:10 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 8+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-08-30 19:10 UTC (permalink / raw)
  To: =?utf-8?q?Fran=C3=A7ois_Michel_=3Cfrancois=2Emichel=40uclouvain=2Ebe=3E?=
  Cc: netdev, stephen, petrm, dsahern

Hello:

This patch was applied to iproute2/iproute2-next.git (main)
by David Ahern <dsahern@kernel.org>:

On Wed, 30 Aug 2023 17:05:20 +0200 you wrote:
> From: François Michel <francois.michel@uclouvain.be>
> 
> Fixes a misplaced newline in netem's usage string.
> 
> François Michel (1):
>   tc: fix typo in netem's usage string
> 
> [...]

Here is the summary with links:
  - [iproute2-next,1/1] tc: fix typo in netem's usage string
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=865dd3ab1580

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH iproute2-next 1/1] tc: fix typo in netem's usage string
  2023-08-30 15:32   ` Petr Machata
  2023-08-30 19:00     ` David Ahern
@ 2023-08-31  9:05     ` Donald Hunter
  2023-08-31  9:12       ` François Michel
  1 sibling, 1 reply; 8+ messages in thread
From: Donald Hunter @ 2023-08-31  9:05 UTC (permalink / raw)
  To: Petr Machata; +Cc: francois.michel, netdev, stephen, dsahern

Petr Machata <petrm@nvidia.com> writes:

> francois.michel@uclouvain.be writes:
>
>> From: François Michel <francois.michel@uclouvain.be>
>>
>> Signed-off-by: François Michel <francois.michel@uclouvain.be>
>
> Reviewed-by: Petr Machata <petrm@nvidia.com>
>
> That said...
>
>>  		"                 [ loss state P13 [P31 [P32 [P23 P14]]]\n"
>>  		"                 [ loss gemodel PERCENT [R [1-H [1-K]]]\n"
>
> ... and sorry for piling on like this, but since we are in the domain of
> fixing netem typos, if you would also fix the missing brackets on these
> two lines, that would be awesome.

The tc-netem(8) man page suggests (and usage confirms) that P14 is also
an optional parameter so it should be bracketed as well.

https://www.man7.org/linux/man-pages/man8/tc-netem.8.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH iproute2-next 1/1] tc: fix typo in netem's usage string
  2023-08-31  9:05     ` Donald Hunter
@ 2023-08-31  9:12       ` François Michel
  0 siblings, 0 replies; 8+ messages in thread
From: François Michel @ 2023-08-31  9:12 UTC (permalink / raw)
  To: Donald Hunter, Petr Machata; +Cc: netdev, stephen, dsahern

Hi,

Le 31/08/23 à 11:05, Donald Hunter a écrit :
> Petr Machata <petrm@nvidia.com> writes:
> 
>> francois.michel@uclouvain.be writes:
>>
>>> From: François Michel <francois.michel@uclouvain.be>
>>>
>>> Signed-off-by: François Michel <francois.michel@uclouvain.be>
>>
>> Reviewed-by: Petr Machata <petrm@nvidia.com>
>>
>> That said...
>>
>>>   		"                 [ loss state P13 [P31 [P32 [P23 P14]]]\n"
>>>   		"                 [ loss gemodel PERCENT [R [1-H [1-K]]]\n"
>>
>> ... and sorry for piling on like this, but since we are in the domain of
>> fixing netem typos, if you would also fix the missing brackets on these
>> two lines, that would be awesome.
> 
> The tc-netem(8) man page suggests (and usage confirms) that P14 is also
> an optional parameter so it should be bracketed as well.

Allright. While we're at it, I'll will also probably unify the spaces 
around brackets. On other qdiscs, brackets seem to be systematically 
surrounded by spaces.

François

> 
> https://www.man7.org/linux/man-pages/man8/tc-netem.8.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-08-31  9:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-30 15:05 [PATCH iproute2-next 0/1] tc: fix typo in netem's usage string francois.michel
2023-08-30 15:05 ` [PATCH iproute2-next 1/1] " francois.michel
2023-08-30 15:32   ` Petr Machata
2023-08-30 19:00     ` David Ahern
2023-08-31  9:05     ` Donald Hunter
2023-08-31  9:12       ` François Michel
2023-08-30 19:00 ` [PATCH iproute2-next 0/1] " David Ahern
2023-08-30 19:10 ` patchwork-bot+netdevbpf

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).