Thread (31 messages) 31 messages, 4 authors, 2017-08-24

Re: [V2 PATCH net-next 4/5] xdp: remove net_device names from xdp_redirect tracepoint

flat view

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2017-08-23 10:59:31

On 08/23/2017 12:15 PM, Jesper Dangaard Brouer wrote:
There is too much overhead in the current trace_xdp_redirect
tracepoint as it does strcpy and strlen on the net_device names.

Besides, exposing the ifindex/index is actually the information that
is needed in the tracepoint to diagnose issues.  When a lookup fails
(either ifindex or devmap index) then there is a need for saying which
to_index that have issues.

V2: Adjust args to be aligned with trace_xdp_exception.

Signed-off-by: Jesper Dangaard Brouer <redacted>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help