Searched hist:c31e5a4876cdfbfcc28c4fb201ad872c65671067 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/trace/events/ |
H A D | xdp.h | diff c31e5a4876cdfbfcc28c4fb201ad872c65671067 Tue Aug 29 09:37:40 CDT 2017 Jesper Dangaard Brouer <brouer@redhat.com> xdp: remove redundant argument to trace_xdp_redirect
Supplying the action argument XDP_REDIRECT to the tracepoint xdp_redirect is redundant as it is only called in-case this action was specified.
Remove the argument, but keep "act" member of the tracepoint struct and populate it with XDP_REDIRECT. This makes it easier to write a common bpf_prog processing events.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/core/ |
H A D | filter.c | diff c31e5a4876cdfbfcc28c4fb201ad872c65671067 Tue Aug 29 09:37:40 CDT 2017 Jesper Dangaard Brouer <brouer@redhat.com> xdp: remove redundant argument to trace_xdp_redirect
Supplying the action argument XDP_REDIRECT to the tracepoint xdp_redirect is redundant as it is only called in-case this action was specified.
Remove the argument, but keep "act" member of the tracepoint struct and populate it with XDP_REDIRECT. This makes it easier to write a common bpf_prog processing events.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|