Home
last modified time | relevance | path

Searched hist:a873585587205750e7accfb2c93c29239ffa6e09 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/trace/events/
H A Dxdp.hdiff a873585587205750e7accfb2c93c29239ffa6e09 Thu Aug 24 05:33:18 CDT 2017 Jesper Dangaard Brouer <brouer@redhat.com> xdp: remove net_device names from xdp_redirect tracepoint

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 <brouer@redhat.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/core/
H A Dfilter.cdiff a873585587205750e7accfb2c93c29239ffa6e09 Thu Aug 24 05:33:18 CDT 2017 Jesper Dangaard Brouer <brouer@redhat.com> xdp: remove net_device names from xdp_redirect tracepoint

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 <brouer@redhat.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>