Files
linux/include/trace/events
Jesper Dangaard Brouer 4c03bdd7b5 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>
2017-08-18 16:18:40 -07:00
..
2017-01-09 11:10:02 +00:00
2016-12-25 17:21:22 +01:00
2016-02-26 10:52:48 +09:00
2016-10-28 08:48:16 -06:00
2016-07-14 22:16:05 -07:00
2017-05-23 21:05:39 -07:00
2015-09-01 14:32:44 -07:00
2016-08-17 11:13:07 +02:00
2016-09-29 10:03:38 +02:00
2016-07-14 09:03:57 +02:00
2013-06-23 11:52:58 +02:00
2016-04-11 16:57:09 -04:00
2015-08-05 12:27:09 -07:00