From: Björn Töpel
Hi!
This v2 series adds an RV64G BPF JIT to the kernel.
At the moment the RISC-V Linux port does not support
CONFIG_HAVE_KPROBES (Patrick Stählin sent out an RFC last year), which
means that CONFIG_BPF_EVENTS is not supported. Thus, no tests
involving BPF_PROG_TYPE_TRACEPOINT,
From: Björn Töpel
Update Documentation/networking/filter.txt and
Documentation/sysctl/net.txt to mention RISC-V.
Signed-off-by: Björn Töpel
---
Documentation/networking/filter.txt | 16 +---
Documentation/sysctl/net.txt| 1 +
2 files changed, 10 insertions(+), 7 deletions(
From: Björn Töpel
Add Björn Töpel as RISC-V BPF JIT maintainer.
Signed-off-by: Björn Töpel
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 019a2bcfbd09..b4491132b9ce 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2907,6 +2907,12 @@ L:
From: Björn Töpel
RISC-V does, in-general, not have "efficient unaligned access". When
testing the RISC-V BPF JIT, some selftests failed in the verification
due to misaligned access. Annotate these tests with the
F_NEEDS_EFFICIENT_UNALIGNED_ACCESS flag.
Signed-off-by: Björn Töpel
---
.../selft
From: Björn Töpel
This commit adds a BPF JIT for RV64G.
The JIT is a two-pass JIT, and has a dynamic prolog/epilogue (similar
to the MIPS64 BPF JIT) instead of static ones (e.g. x86_64).
At the moment the RISC-V Linux port does not support
CONFIG_HAVE_KPROBES, which means that CONFIG_BPF_EVENTS
From: Björn Töpel
This commit adds BPF JIT for RV64G.
The JIT is a two-pass JIT, and has a dynamic prolog/epilogue (similar
to the MIPS64 BPF JIT) instead of static ones (e.g. x86_64).
At the moment the RISC-V Linux port does not support HAVE_KPROBES,
which means that CONFIG_BPF_EVENTS is not s
From: Björn Töpel
Hi!
This series adds an RV64G BPF JIT to the kernel. I've sent out a RFC
for a couple of weeks ago, and think this code is
feature-complete/stable enough (famous last words) for a proper patch.
Unfortunately, kprobes isn't supported by RISC-V yet (Patrick Stählin
sent out an R
From: Björn Töpel
Add Björn Töpel as RISC-V BPF JIT maintainer.
Signed-off-by: Björn Töpel
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 019a2bcfbd09..b4491132b9ce 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2907,6 +2907,12 @@ L:
From: Björn Töpel
Update Documentation/networking/filter.txt to mention RISC-V.
Signed-off-by: Björn Töpel
---
Documentation/networking/filter.txt | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/Documentation/networking/filter.txt
b/Documentation/networkin
From: Björn Töpel
AF_XDP is an address family that is optimized for high performance
packet processing.
This patch adds AF_XDP support to ss(8) so that sockets can be queried
and monitored.
Example:
$ sudo ss --xdp -e -p -m
Recv-Q Send-Q Local Address:Port Peer Addres
From: Björn Töpel
GCC will generate jump tables for switch-statements with more than 5
case statements. An entry into the jump table is an indirect call,
which means that for CONFIG_RETPOLINE builds, this is rather
expensive.
This commit replaces the switch-statement that acts on the XDP program
From: Björn Töpel
Import xdp_diag.h that was introduced in Linux kernel commit
a36b38aa2af6 ("xsk: add sock_diag interface for AF_XDP").
Signed-off-by: Björn Töpel
---
include/uapi/linux/xdp_diag.h | 72 +++
1 file changed, 72 insertions(+)
create mode 100644 i
From: Björn Töpel
AF_XDP is an address family that is optimized for high performance
packet processing.
This patch adds AF_XDP support to ss(8) so that sockets can be queried
and monitored.
Signed-off-by: Björn Töpel
---
man/man8/ss.8 | 9 ++-
misc/ss.c | 168 +++
From: Björn Töpel
Hi!
This short series teaches ss about AF_XDP monitoring support using the
sock_diag interface.
The AF_XDP monitoring support was merged to kernel in commit
dbbd79ae166f ("Merge branch 'af-xdp-sock-diag'"), via the bpf-next
tree.
Note libc has to know about AF_XDP for iproute
From: Björn Töpel
This commit adds an id to the umem structure. The id uniquely
identifies a umem instance, and will be exposed to user-space via the
socket monitoring interface.
Signed-off-by: Björn Töpel
---
include/net/xdp_sock.h | 1 +
net/xdp/xdp_umem.c | 13 +
2 files ch
From: Björn Töpel
This patch adds the sock_diag interface for querying sockets from user
space. Tools like iproute2 ss(8) can use this interface to list open
AF_XDP sockets.
The user-space ABI is defined in linux/xdp_diag.h and includes netlink
request and response structs. The request can query
From: Björn Töpel
Track each AF_XDP socket in a per-netns list. This will be used later
by the sock_diag interface for querying sockets from userspace.
Signed-off-by: Björn Töpel
---
include/net/net_namespace.h | 4
include/net/netns/xdp.h | 13 +
net/xdp/xsk.c
From: Björn Töpel
This series adds an AF_XDP sock_diag interface for querying sockets
from user-space. Tools like iproute2 ss(8) can use this interface to
list open AF_XDP sockets.
The diagnostic provides information about the Rx/Tx/fill/completetion
rings, umem, memory usage and such. For a com
From: Björn Töpel
GCC will generate jump tables for switch-statements with more than 5
case statements. An entry into the jump table is an indirect call,
which means that for CONFIG_RETPOLINE builds, this is rather
expensive.
This commit replaces the switch-statement that acts on the XDP program
From: Björn Töpel
This patch adds the sock_diag interface for querying sockets from user
space. Tools like iproute2 ss(8) can use this interface to list open
AF_XDP sockets.
The user-space ABI is defined in linux/xdp_diag.h and includes netlink
request and response structs. The request can query
From: Björn Töpel
Track each AF_XDP socket in a per-netns list. This will be used later
by the sock_diag interface for querying sockets from userspace.
Signed-off-by: Björn Töpel
---
include/net/net_namespace.h | 4
include/net/netns/xdp.h | 13 +
net/xdp/xsk.c
From: Björn Töpel
This commit adds an id to the umem structure. The id uniquely
identifies a umem instance, and will be exposed to user-space via the
socket monitoring interface.
Signed-off-by: Björn Töpel
---
include/net/xdp_sock.h | 1 +
net/xdp/xdp_umem.c | 13 +
2 files ch
From: Björn Töpel
This series adds an AF_XDP sock_diag interface for querying sockets
from user-space. Tools like iproute2 ss(8) can use this interface to
list open AF_XDP sockets.
The diagnostic provides information about the Rx/Tx/fill/completetion
rings, umem, memory usage and such. For a com
From: Björn Töpel
Prior this commit, when the struct socket object was being released,
the UMEM did not have its reference count decreased. Instead, this was
done in the struct sock sk_destruct function.
There is no reason to keep the UMEM reference around when the socket
is being orphaned, so i
24 matches
Mail list logo