You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to load 2 prog in my xdp program and here is my defintion:
`
SEC("xdp-prog1")
int xdp_prog1(struct xdp_md *ctx) {
...
return XDP_PASS;
}
`
`
SEC("xdp-prog2")
int xdp_prog2(struct xdp_md *ctx) {
...
return XDP_PASS;
`
and the error log is here:
`
libbpf: prog 'xdp_prog1': missing BPF prog type, check ELF section name 'xdp-prog1'
libbpf: prog 'xdp_prog1': failed to load: -22
`
and I'm using the latest libxdp.
How can I fixed the problem? Thanks!
You should be using SEC("xdp") for both of them...
I need to load 2 prog in my xdp program and here is my defintion:
and the error log is here:
and I'm using the latest libxdp.
How can I fixed the problem? Thanks!
The text was updated successfully, but these errors were encountered: