xdp: separate xdp_redirect tracepoint in map case
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 29 Aug 2017 14:38:01 +0000 (16:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Aug 2017 17:51:29 +0000 (10:51 -0700)
commit59a308967589f5b3f1f42793ab49bc2e18069769
tree05ba96b4e7605483ba8c48791de83e63be9cbeaf
parentf5836ca5e9867fa6ab88cadb9873af56d9ceb589
xdp: separate xdp_redirect tracepoint in map case

Creating as specific xdp_redirect_map variant of the xdp tracepoints
allow users to write simpler/faster BPF progs that get attached to
these tracepoints.

Goal is to still keep the tracepoints in xdp_redirect and xdp_redirect_map
similar enough, that a tool can read the top part of the TP_STRUCT and
produce similar monitor statistics.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/xdp.h
net/core/filter.c