Searched hist:bf4ea1d0b2cb2251f9e5619c81daa98591087c33 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/trace/events/ |
H A D | xdp.h | diff bf4ea1d0b2cb2251f9e5619c81daa98591087c33 Tue Aug 01 09:26:20 CDT 2023 Leon Hwang <hffilwlqm@gmail.com> bpf, xdp: Add tracepoint to xdp attaching failure
When error happens in dev_xdp_attach(), it should have a way to tell users the error message like the netlink approach.
To avoid breaking uapi, adding a tracepoint in bpf_xdp_link_attach() is an appropriate way to notify users the error message.
Hence, bpf libraries are able to retrieve the error message by this tracepoint, and then report the error message to users.
Signed-off-by: Leon Hwang <hffilwlqm@gmail.com> Link: https://lore.kernel.org/r/20230801142621.7925-2-hffilwlqm@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
/openbmc/linux/net/core/ |
H A D | dev.c | diff bf4ea1d0b2cb2251f9e5619c81daa98591087c33 Tue Aug 01 09:26:20 CDT 2023 Leon Hwang <hffilwlqm@gmail.com> bpf, xdp: Add tracepoint to xdp attaching failure
When error happens in dev_xdp_attach(), it should have a way to tell users the error message like the netlink approach.
To avoid breaking uapi, adding a tracepoint in bpf_xdp_link_attach() is an appropriate way to notify users the error message.
Hence, bpf libraries are able to retrieve the error message by this tracepoint, and then report the error message to users.
Signed-off-by: Leon Hwang <hffilwlqm@gmail.com> Link: https://lore.kernel.org/r/20230801142621.7925-2-hffilwlqm@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|