diff options
author | 2017-08-17 18:22:37 +0200 | |
---|---|---|
committer | 2017-08-18 16:18:40 -0700 | |
commit | 4c03bdd7b5c084c3c6973cb2419edac5363c051f (patch) | |
tree | 77e091a3b5de3c55433947ec41891ba2b1e52019 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ixgbe: change ndo_xdp_xmit return code on xmit errors (diff) | |
download | wireguard-linux-4c03bdd7b5c084c3c6973cb2419edac5363c051f.tar.xz wireguard-linux-4c03bdd7b5c084c3c6973cb2419edac5363c051f.zip |
xdp: adjust xdp redirect tracepoint to include return error code
The return error code need to be included in the tracepoint
xdp:xdp_redirect, else its not possible to distinguish successful or
failed XDP_REDIRECT transmits.
XDP have no queuing mechanism. Thus, it is fairly easily to overrun a
NIC transmit queue. The eBPF program invoking helpers (bpf_redirect
or bpf_redirect_map) to redirect a packet doesn't get any feedback
whether the packet was actually transmitted.
Info on failed transmits in the tracepoint xdp:xdp_redirect, is
interesting as this opens for providing a feedback-loop to the
receiving XDP program.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions