[PATCH net-next v2] selftests/net: call sendmmsg via udpgso_bench.sh

2024-12-03 Thread Kenjiro Nakayama
Currently, sendmmsg is implemented in udpgso_bench_tx.c, but it is not called by any test script. This patch adds a test for sendmmsg in udpgso_bench.sh. This allows for basic API testing and benchmarking comparisons with GSO. Signed-off-by: Kenjiro Nakayama --- tools/testing/selftests/net

[PATCH] selftests/net: call sendmmsg via udpgso_bench.sh

2024-12-02 Thread Kenjiro Nakayama
Currently, sendmmsg is implemented in udpgso_bench_tx.c, but it is not called by any test script. This patch adds a test for sendmmsg in udpgso_bench.sh. This allows for basic API testing and benchmarking comparisons with GSO. --- tools/testing/selftests/net/udpgso_bench.sh | 3 +++ 1 file change

[PATCH] net: Remove trailing whitespace in tcp.h icmp.c syncookies.c

2014-10-20 Thread Kenjiro Nakayama
Remove trailing whitespace in tcp.h icmp.c syncookies.c Signed-off-by: Kenjiro Nakayama --- include/net/tcp.h | 12 ++-- net/ipv6/icmp.c | 1 - net/ipv6/syncookies.c | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/include/net/tcp.h b/include/net/tcp.h

[PATCH] exportfs: Fix incorrect comment about fh_to_dentry

2014-09-28 Thread Kenjiro Nakayama
d_alloc_root is obsolete. Replace with d_make_root. Signed-off-by: Kenjiro Nakayama --- include/linux/exportfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h index 41b223a..c668cf6 100644 --- a/include/linux/exportfs.h

[PATCH v3] tcp: Add a TCP_FASTOPEN socket option to get a max backlog on its listner

2014-04-16 Thread Kenjiro Nakayama
This patch adds a TCP_FASTOPEN socket option to get a max backlog on its listener to getsockopt(). Signed-off-by: Kenjiro Nakayama --- net/ipv4/tcp.c | 8 1 file changed, 8 insertions(+) diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 4bd6d52..eb1dde3 100644 --- a/net/ipv4/tcp.c

[PATCH v2] ipv4: Add option to get TCP_FASTOPEN to getsockopt()

2014-04-15 Thread Kenjiro Nakayama
Hi, TCP_FASTOPEN option can be set via setsockopt(), but the value cannot be gotten via getsockopt(). This patch adds the option to getsockopt(). Sighned-off-by: Kenjiro Nakayama Add option to get TCP_FASTOPEN to getsockopt() --- net/ipv4/tcp.c | 7 +++ 1 file changed, 7

[PATCH] ipv4: Add option to get TCP_FASTOPEN to getsockopt()

2014-04-14 Thread Kenjiro Nakayama
TCP_FASTOPEN option can be set via setsockopt(), but the value cannot be gotten via getsockopt(). This patch adds the option to getsockopt(). Sighned-off-by: Kenjiro Nakayama Add option to get TCP_FASTOPEN to getsockopt() --- net/ipv4/tcp.c | 5 + 1 file changed, 5 insertions