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

2017-08-24 Thread Jesper Dangaard Brouer
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)

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

2017-08-23 Thread Daniel Borkmann
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

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

2017-08-23 Thread Jesper Dangaard Brouer
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)

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

2017-08-22 Thread Daniel Borkmann
On 08/22/2017 10:47 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

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

2017-08-22 Thread Jesper Dangaard Brouer
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)