* [PATCH net-next v2 2/3] selftests: devmem: remove unused variable
2025-06-15 20:35 [PATCH net-next v2 1/3] netmem: fix netmem comments Mina Almasry
@ 2025-06-15 20:35 ` Mina Almasry
2025-06-16 14:39 ` Stanislav Fomichev
2025-06-15 20:35 ` [PATCH net-next v2 3/3] selftests: devmem: add ipv4 support to chunks test Mina Almasry
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Mina Almasry @ 2025-06-15 20:35 UTC (permalink / raw)
To: netdev, linux-kernel, linux-kselftest
Cc: Mina Almasry, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Simon Horman, Andrew Lunn, Shuah Khan,
Stanislav Fomichev, Joe Damato
Trivial fix to unused variable.
Signed-off-by: Mina Almasry <almasrymina@google.com>
---
tools/testing/selftests/drivers/net/hw/ncdevmem.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/drivers/net/hw/ncdevmem.c b/tools/testing/selftests/drivers/net/hw/ncdevmem.c
index 02e4d3d7ded2..cc9b40d9c5d5 100644
--- a/tools/testing/selftests/drivers/net/hw/ncdevmem.c
+++ b/tools/testing/selftests/drivers/net/hw/ncdevmem.c
@@ -852,7 +852,6 @@ static int do_client(struct memory_buffer *mem)
ssize_t line_size = 0;
struct cmsghdr *cmsg;
char *line = NULL;
- unsigned long mid;
size_t len = 0;
int socket_fd;
__u32 ddmabuf;
--
2.50.0.rc1.591.g9c95f17f64-goog
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH net-next v2 2/3] selftests: devmem: remove unused variable
2025-06-15 20:35 ` [PATCH net-next v2 2/3] selftests: devmem: remove unused variable Mina Almasry
@ 2025-06-16 14:39 ` Stanislav Fomichev
0 siblings, 0 replies; 7+ messages in thread
From: Stanislav Fomichev @ 2025-06-16 14:39 UTC (permalink / raw)
To: Mina Almasry
Cc: netdev, linux-kernel, linux-kselftest, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman,
Andrew Lunn, Shuah Khan, Stanislav Fomichev, Joe Damato
On 06/15, Mina Almasry wrote:
> Trivial fix to unused variable.
>
> Signed-off-by: Mina Almasry <almasrymina@google.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH net-next v2 3/3] selftests: devmem: add ipv4 support to chunks test
2025-06-15 20:35 [PATCH net-next v2 1/3] netmem: fix netmem comments Mina Almasry
2025-06-15 20:35 ` [PATCH net-next v2 2/3] selftests: devmem: remove unused variable Mina Almasry
@ 2025-06-15 20:35 ` Mina Almasry
2025-06-16 14:40 ` Stanislav Fomichev
2025-06-16 14:40 ` [PATCH net-next v2 1/3] netmem: fix netmem comments Stanislav Fomichev
2025-06-18 1:41 ` patchwork-bot+netdevbpf
3 siblings, 1 reply; 7+ messages in thread
From: Mina Almasry @ 2025-06-15 20:35 UTC (permalink / raw)
To: netdev, linux-kernel, linux-kselftest
Cc: Mina Almasry, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Simon Horman, Andrew Lunn, Shuah Khan,
Stanislav Fomichev, Joe Damato
Add ipv4 support to the recently added chunks tests, which was added as
ipv6 only.
Signed-off-by: Mina Almasry <almasrymina@google.com>
---
tools/testing/selftests/drivers/net/hw/devmem.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/drivers/net/hw/devmem.py b/tools/testing/selftests/drivers/net/hw/devmem.py
index 7947650210a0..baa2f24240ba 100755
--- a/tools/testing/selftests/drivers/net/hw/devmem.py
+++ b/tools/testing/selftests/drivers/net/hw/devmem.py
@@ -51,15 +51,14 @@ def check_tx(cfg) -> None:
@ksft_disruptive
def check_tx_chunks(cfg) -> None:
- cfg.require_ipver("6")
require_devmem(cfg)
port = rand_port()
- listen_cmd = f"socat -U - TCP6-LISTEN:{port}"
+ listen_cmd = f"socat -U - TCP{cfg.addr_ipver}-LISTEN:{port}"
with bkg(listen_cmd, exit_wait=True) as socat:
wait_port_listen(port)
- cmd(f"echo -e \"hello\\nworld\"| {cfg.bin_remote} -f {cfg.ifname} -s {cfg.addr_v['6']} -p {port} -z 3", host=cfg.remote, shell=True)
+ cmd(f"echo -e \"hello\\nworld\"| {cfg.bin_remote} -f {cfg.ifname} -s {cfg.addr} -p {port} -z 3", host=cfg.remote, shell=True)
ksft_eq(socat.stdout.strip(), "hello\nworld")
--
2.50.0.rc1.591.g9c95f17f64-goog
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH net-next v2 3/3] selftests: devmem: add ipv4 support to chunks test
2025-06-15 20:35 ` [PATCH net-next v2 3/3] selftests: devmem: add ipv4 support to chunks test Mina Almasry
@ 2025-06-16 14:40 ` Stanislav Fomichev
0 siblings, 0 replies; 7+ messages in thread
From: Stanislav Fomichev @ 2025-06-16 14:40 UTC (permalink / raw)
To: Mina Almasry
Cc: netdev, linux-kernel, linux-kselftest, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman,
Andrew Lunn, Shuah Khan, Stanislav Fomichev, Joe Damato
On 06/15, Mina Almasry wrote:
> Add ipv4 support to the recently added chunks tests, which was added as
> ipv6 only.
>
> Signed-off-by: Mina Almasry <almasrymina@google.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-next v2 1/3] netmem: fix netmem comments
2025-06-15 20:35 [PATCH net-next v2 1/3] netmem: fix netmem comments Mina Almasry
2025-06-15 20:35 ` [PATCH net-next v2 2/3] selftests: devmem: remove unused variable Mina Almasry
2025-06-15 20:35 ` [PATCH net-next v2 3/3] selftests: devmem: add ipv4 support to chunks test Mina Almasry
@ 2025-06-16 14:40 ` Stanislav Fomichev
2025-06-18 1:41 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 7+ messages in thread
From: Stanislav Fomichev @ 2025-06-16 14:40 UTC (permalink / raw)
To: Mina Almasry
Cc: netdev, linux-kernel, linux-kselftest, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman,
Andrew Lunn, Shuah Khan, Stanislav Fomichev, Joe Damato
On 06/15, Mina Almasry wrote:
> Trivial fix to a couple of outdated netmem comments. No code changes,
> just more accurately describing current code.
>
> Signed-off-by: Mina Almasry <almasrymina@google.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-next v2 1/3] netmem: fix netmem comments
2025-06-15 20:35 [PATCH net-next v2 1/3] netmem: fix netmem comments Mina Almasry
` (2 preceding siblings ...)
2025-06-16 14:40 ` [PATCH net-next v2 1/3] netmem: fix netmem comments Stanislav Fomichev
@ 2025-06-18 1:41 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 7+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-06-18 1:41 UTC (permalink / raw)
To: Mina Almasry
Cc: netdev, linux-kernel, linux-kselftest, davem, edumazet, kuba,
pabeni, horms, andrew+netdev, shuah, sdf, jdamato
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sun, 15 Jun 2025 20:35:09 +0000 you wrote:
> Trivial fix to a couple of outdated netmem comments. No code changes,
> just more accurately describing current code.
>
> Signed-off-by: Mina Almasry <almasrymina@google.com>
>
> ---
>
> [...]
Here is the summary with links:
- [net-next,v2,1/3] netmem: fix netmem comments
https://git.kernel.org/netdev/net-next/c/0f66b616b87c
- [net-next,v2,2/3] selftests: devmem: remove unused variable
https://git.kernel.org/netdev/net-next/c/46cbaef5d816
- [net-next,v2,3/3] selftests: devmem: add ipv4 support to chunks test
https://git.kernel.org/netdev/net-next/c/fb7612b6c44b
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] 7+ messages in thread