* [PATCH net-next] docs: fix the path of example code and example commands for device memory TCP
@ 2025-03-18 6:12 Yui Washizu
2025-03-20 17:53 ` Simon Horman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Yui Washizu @ 2025-03-18 6:12 UTC (permalink / raw)
To: davem, edumazet, kuba, pabeni, horms, corbet, almasrymina, sdf
Cc: Yui Washizu, linux-doc, netdev
This updates the old path and fixes the description of unavailable options.
Signed-off-by: Yui Washizu <yui.washidu@gmail.com>
---
Documentation/networking/devmem.rst | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/networking/devmem.rst b/Documentation/networking/devmem.rst
index d95363645331..eb678ca45496 100644
--- a/Documentation/networking/devmem.rst
+++ b/Documentation/networking/devmem.rst
@@ -256,7 +256,7 @@ Testing
=======
More realistic example code can be found in the kernel source under
-``tools/testing/selftests/net/ncdevmem.c``
+``tools/testing/selftests/drivers/net/hw/ncdevmem.c``
ncdevmem is a devmem TCP netcat. It works very similarly to netcat, but
receives data directly into a udmabuf.
@@ -268,8 +268,7 @@ ncdevmem has a validation mode as well that expects a repeating pattern of
incoming data and validates it as such. For example, you can launch
ncdevmem on the server by::
- ncdevmem -s <server IP> -c <client IP> -f eth1 -d 3 -n 0000:06:00.0 -l \
- -p 5201 -v 7
+ ncdevmem -s <server IP> -c <client IP> -f <ifname> -l -p 5201 -v 7
On client side, use regular netcat to send TX data to ncdevmem process
on the server::
--
2.43.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] docs: fix the path of example code and example commands for device memory TCP
2025-03-18 6:12 [PATCH net-next] docs: fix the path of example code and example commands for device memory TCP Yui Washizu
@ 2025-03-20 17:53 ` Simon Horman
2025-03-20 17:59 ` Mina Almasry
2025-03-24 19:20 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2025-03-20 17:53 UTC (permalink / raw)
To: Yui Washizu
Cc: davem, edumazet, kuba, pabeni, corbet, almasrymina, sdf,
linux-doc, netdev
On Tue, Mar 18, 2025 at 03:12:41PM +0900, Yui Washizu wrote:
> This updates the old path and fixes the description of unavailable options.
>
> Signed-off-by: Yui Washizu <yui.washidu@gmail.com>
Thanks,
On inspection this patch looks good to me although
I am unaware of the history of the -n and -d options.
I suppose this could have been two patches as it does two things.
But it seems simple enough to me in its current form.
Reviewed-by: Simon Horman <horms@kernel.org>
...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] docs: fix the path of example code and example commands for device memory TCP
2025-03-18 6:12 [PATCH net-next] docs: fix the path of example code and example commands for device memory TCP Yui Washizu
2025-03-20 17:53 ` Simon Horman
@ 2025-03-20 17:59 ` Mina Almasry
2025-03-24 19:20 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Mina Almasry @ 2025-03-20 17:59 UTC (permalink / raw)
To: Yui Washizu
Cc: davem, edumazet, kuba, pabeni, horms, corbet, sdf, linux-doc,
netdev
On Mon, Mar 17, 2025 at 11:14 PM Yui Washizu <yui.washidu@gmail.com> wrote:
>
> This updates the old path and fixes the description of unavailable options.
>
> Signed-off-by: Yui Washizu <yui.washidu@gmail.com>
Thank you, I think when I updated some of the implementations of
ncdevmem I didn't update the docs:
Reviewed-by: Mina Almasry <almasrymina@google.com>
> ---
> Documentation/networking/devmem.rst | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/networking/devmem.rst b/Documentation/networking/devmem.rst
> index d95363645331..eb678ca45496 100644
> --- a/Documentation/networking/devmem.rst
> +++ b/Documentation/networking/devmem.rst
> @@ -256,7 +256,7 @@ Testing
> =======
>
> More realistic example code can be found in the kernel source under
> -``tools/testing/selftests/net/ncdevmem.c``
> +``tools/testing/selftests/drivers/net/hw/ncdevmem.c``
>
> ncdevmem is a devmem TCP netcat. It works very similarly to netcat, but
> receives data directly into a udmabuf.
> @@ -268,8 +268,7 @@ ncdevmem has a validation mode as well that expects a repeating pattern of
> incoming data and validates it as such. For example, you can launch
> ncdevmem on the server by::
>
> - ncdevmem -s <server IP> -c <client IP> -f eth1 -d 3 -n 0000:06:00.0 -l \
> - -p 5201 -v 7
> + ncdevmem -s <server IP> -c <client IP> -f <ifname> -l -p 5201 -v 7
>
> On client side, use regular netcat to send TX data to ncdevmem process
> on the server::
> --
> 2.43.5
>
--
Thanks,
Mina
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] docs: fix the path of example code and example commands for device memory TCP
2025-03-18 6:12 [PATCH net-next] docs: fix the path of example code and example commands for device memory TCP Yui Washizu
2025-03-20 17:53 ` Simon Horman
2025-03-20 17:59 ` Mina Almasry
@ 2025-03-24 19:20 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-03-24 19:20 UTC (permalink / raw)
To: Yui Washizu
Cc: davem, edumazet, kuba, pabeni, horms, corbet, almasrymina, sdf,
linux-doc, netdev
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 18 Mar 2025 15:12:41 +0900 you wrote:
> This updates the old path and fixes the description of unavailable options.
>
> Signed-off-by: Yui Washizu <yui.washidu@gmail.com>
> ---
> Documentation/networking/devmem.rst | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
Here is the summary with links:
- [net-next] docs: fix the path of example code and example commands for device memory TCP
https://git.kernel.org/netdev/net-next/c/f8e1bcec62ef
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] 4+ messages in thread
end of thread, other threads:[~2025-03-24 19:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18 6:12 [PATCH net-next] docs: fix the path of example code and example commands for device memory TCP Yui Washizu
2025-03-20 17:53 ` Simon Horman
2025-03-20 17:59 ` Mina Almasry
2025-03-24 19:20 ` 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).