Open SikoJobs opened 2 years ago
I'd like to request CONFIG_XDP_SOCKETS in addition to CONFIG_BPF_STREAM_PARSER. That'll allow (generic) AF_XDP usage and development using WSL2. I'm running a custom 5.10 kernel with these options enabled and it seems to be working just fine.
CONFIG_XDP_SOCKETS is ON in latest 6.6 release! CONFIG_BPF_STREAM_PARSER is still not, though.
https://github.com/microsoft/WSL2-Linux-Kernel/blob/d489414/include/linux/bpf_types.h#L106-L109
https://github.com/microsoft/WSL2-Linux-Kernel/blob/d489414/Microsoft/config-wsl#L1433
https://github.com/microsoft/WSL2-Linux-Kernel/blob/d489414/Microsoft/config-wsl-arm64#L1418
BPF_MAP_TYPE_SOCKMAP
andBPF_MAP_TYPE_SOCKHASH
are very important & useful to eBPF programs, let's make them work! :blush: