Using bpf_redirect_map is allowed for generic XDP programs, but the appropriate map lookup was never performed in xdp_do_generic_redirect(). Instead the map-index is directly used as the ifindex. For the xdp_redirect_map sample in SKB-mode '-S', this resulted in trying sending on ifindex 0 which isn't valid, resulting in getting SKB packets dropped. Thus, the reported performance numbers are wrong in commit |
||
|---|---|---|
| .. | ||
| events | ||
| define_trace.h | ||
| perf.h | ||
| syscall.h | ||
| trace_events.h | ||