
Matteo Croce (1): bpf: Enable generic kfuncs for BPF_CGROUP_* programs Pu Lehui (10): bpf: Add CONFIG_HISOCK bpf: Add XDP_HISOCK_REDIRECT action bpf: Add BPF_PROG_TYPE_HISOCK prog type bpf: Add HISOCK_EGRESS hook on network egress path bpf: Add bpf_skops_get_ingress_dst kfunc bpf: Add hisock_xdp_buff wrapper for xdp_buff bpf: Add bpf_xdp_set_ingress_dst kfunc bpf: Add bpf_*_change_dev kfunc openeuler_defconfig: Enable CONFIG_HISOCK samples/bpf: Add HiSock Redirect sample arch/arm64/configs/openeuler_defconfig | 1 + arch/x86/configs/openeuler_defconfig | 1 + include/linux/bpf-cgroup-defs.h | 3 + include/linux/bpf-cgroup.h | 25 ++ include/linux/bpf_types.h | 4 + include/net/xdp.h | 5 + include/uapi/linux/bpf.h | 14 + kernel/bpf/btf.c | 18 +- kernel/bpf/cgroup.c | 43 +++ kernel/bpf/helpers.c | 1 + kernel/bpf/syscall.c | 19 ++ kernel/bpf/verifier.c | 3 + net/Kconfig | 10 + net/core/dev.c | 76 ++++- net/core/filter.c | 167 ++++++++++ net/ipv4/ip_output.c | 68 +++++ samples/bpf/.gitignore | 1 + samples/bpf/Makefile | 3 + samples/bpf/hisock/bpf.c | 251 +++++++++++++++ samples/bpf/hisock/hisock_cmd.c | 405 +++++++++++++++++++++++++ tools/include/uapi/linux/bpf.h | 14 + tools/lib/bpf/libbpf.c | 3 + 22 files changed, 1130 insertions(+), 5 deletions(-) create mode 100644 samples/bpf/hisock/bpf.c create mode 100644 samples/bpf/hisock/hisock_cmd.c -- 2.34.1