On Mon, 26 Oct 2026 23:49:43 +0800 Leon Hwang wrote:
> With the syscall common attrs support for link_create, add syscall common
> attrs support for xdp link_create in order to report the invalid target
> ifindex error and the underlying driver's error.
> 
> Instead of passing bpf log to bpf_xdp_link_attach(), pass an extack to
> receive the underlying driver's error message. If pass bpf log to
> bpf_xdp_link_attach(), it will introduce bpf_verifier.h dependency for
> net/core/dev.c, which is not acceptable for maintainability.
> 
> Signed-off-by: Leon Hwang <[email protected]>

Reviewed-by: Jakub Kicinski <[email protected]>

Thanks!

Reply via email to